[buddypress-trac] [BuddyPress Trac] #6030: Ability to redefine bp_core_render_message()
buddypress-trac
noreply at wordpress.org
Wed Nov 19 12:34:12 UTC 2014
#6030: Ability to redefine bp_core_render_message()
-------------------------+------------------------------
Reporter: slaFFik | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Core | Version:
Severity: normal | Resolution:
Keywords: |
-------------------------+------------------------------
Comment (by boonebgorges):
We don't use pluggable functions in BuddyPress (and don't introduce new
ones in WordPress) because of a fatal flaw: they can only be redefined
once. If more than one plugin/theme attempts to define a function, it
creates race conditions.
How about a filter that will allow you to bail out of the function early
on? Or perhaps we could assemble the markup without echoing it and run it
through a filter before echoing?
--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/6030#comment:1>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac
More information about the buddypress-trac
mailing list