Opened 9 years ago
Closed 8 years ago
#2996 closed defect (bug) (fixed)
is_bbpress() does not work on pages that use bbpress shortcodes
Reported by: |
|
Owned by: |
|
---|---|---|---|
Milestone: | 2.6 | Priority: | high |
Severity: | normal | Version: | 2.0 |
Component: | API - Shortcodes | Keywords: | commit |
Cc: |
Description
Create new page , add
[bbp-forum-index]
Try to check is_bbpress() on that page and it will return false.
This conditional is used to enque/deque specific styles or remove bbpress styles from other pages and users endup with styleless pages if bbpress shortcodes are used.
Change History (2)
Note: See
TracTickets for help on using
tickets.
Moving to 2.6 to introduce
bbp_has_shortcode()
.