[buddypress-trac] [BuddyPress] #5021: Shortcode contents don't display in non-standard BP 1.7 themes

buddypress-trac noreply at wordpress.org
Tue May 28 01:19:18 UTC 2013


#5021: Shortcode contents don't display in non-standard BP 1.7 themes
------------------------------------+------------------
 Reporter:  sensibleplugins         |       Owner:
     Type:  defect (bug)            |      Status:  new
 Priority:  normal                  |   Milestone:  1.8
Component:  Core                    |     Version:  1.7
 Severity:  normal                  |  Resolution:
 Keywords:  has-patch dev-feedback  |
------------------------------------+------------------

Comment (by r-a-y):

 attachment:5021.02.patch builds upon the approach from `01.patch`.

 `bp_remove_all_filters()` is now run on the `'loop_start'` hook, which is
 the latest we can remove the filters before `the_content()` is run.
 Similarly, `bp_restore_all_filters()` runs on the `'loop_end'` hook.

 This will probably solve the issues that boonebgorges mentioned in
 comment:2.

 Note: `create_function()` is used in my patch; if this isn't desired, we
 can create wrapper functions.

--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/5021#comment:3>
BuddyPress <http://buddypress.org/>
BuddyPress


More information about the buddypress-trac mailing list