[buddypress-trac] [BuddyPress] #2945: Don't hard-code the 'buddypress' plugin folder

buddypress-trac at lists.automattic.com buddypress-trac at lists.automattic.com
Wed Jun 13 12:30:28 UTC 2012


#2945: Don't hard-code the 'buddypress' plugin folder
--------------------------+------------------
 Reporter:  cnorris23     |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  1.6
Component:  Core          |     Version:  1.5
 Severity:  normal        |  Resolution:
 Keywords:  has-patch     |
--------------------------+------------------

Comment (by boonebgorges):

 `plugin_dir_path()` is broken for a couple different kinds of setups. See
 #3772 and #WP16953.

 > a better approach would be to put that add_action into a function hooked
 to bp_init, and then we can access BP's global for the base path....

 Agreed. Then we can revisit the issue when we make larger architectural
 changes.

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


More information about the buddypress-trac mailing list