[buddypress-trac] [BuddyPress] #3375: Deprecated function call in bp-core-template.php
buddypress-trac at lists.automattic.com
buddypress-trac at lists.automattic.com
Sun Jul 24 16:45:34 UTC 2011
#3375: Deprecated function call in bp-core-template.php
------------------------------------+------------------
Reporter: amereservant | Owner:
Type: defect | Status: new
Priority: normal | Milestone: 1.3
Component: Core | Version:
Severity: major | Resolution:
Keywords: needs-patch needs-docs |
------------------------------------+------------------
Comment (by boonebgorges):
Thought about this a bit more, and realized that checking for
bp_current_component() is probably enough. Whenever a page is devoted to
BP content, this value will be set. Whenever a page is not devoted to BP
content (regular WP pages, blog posts, archives, etc),
bp_current_component() will be empty. This will also cover the case of
plugins, which presumably will be setting current_component() somehow. See
3375.01.diff. Can someone do a sanity check for me on this?
--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/3375#comment:3>
BuddyPress <http://buddypress.org/>
BuddyPress
More information about the buddypress-trac
mailing list