[buddypress-trac] [BuddyPress] #4767: Does 1.7 make plugins.php defunct?
buddypress-trac
noreply at wordpress.org
Mon Jan 14 19:04:54 UTC 2013
#4767: Does 1.7 make plugins.php defunct?
-------------------------+------------------------------
Reporter: modemlooper | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Core | Version: 1.7
Severity: normal | Resolution:
Keywords: |
-------------------------+------------------------------
Comment (by johnjamesjacoby):
A good question. Right now, when the_content gets called, BuddyPress's
theme compat filter should not be hooked in, or at least fail. Consider
also that plugin.php is a specific template that should only get included
when no other BuddyPress core template is requested, which is to say that
some other plugin manually requested it.
The method is not unlike what it was before, and similar to the template
loader.
* Conditionally hook to the_content.
* Check for some conditions to make sure they match.
* If they match, pull in a template part, include a file, etc...
* If not, bail
--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/4767#comment:1>
BuddyPress <http://buddypress.org/>
BuddyPress
More information about the buddypress-trac
mailing list