[buddypress-trac] [BuddyPress] #5252: Beta 1.9 Fatal Error if BuddyPress folder is renamed

buddypress-trac noreply at wordpress.org
Wed Nov 27 20:52:01 UTC 2013


#5252: Beta 1.9 Fatal Error if BuddyPress folder is renamed
------------------------------------+------------------------------
 Reporter:  trishasalas             |       Owner:  johnjamesjacoby
     Type:  defect (bug)            |      Status:  closed
 Priority:  normal                  |   Milestone:  1.9
Component:  Core                    |     Version:  1.5
 Severity:  normal                  |  Resolution:  fixed
 Keywords:  has-patch dev-feedback  |
------------------------------------+------------------------------

Comment (by johnjamesjacoby):

 For context, I believe it was originally hardcoded because of it possibly
 living in the `mu-plugins` directory. Since switching to using the
 `WP_PLUGINS_DIR` constant, that option disappeared anyways, so using
 `plugin_dir_path()` is now the best function for the job.

 Since it's a variable in the class, it can be optionally overridden,
 though I'm finding that doing so isn't as easy as I'd originally hoped,
 and I'll likely open a new ticket to address this in a future milestone.

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


More information about the buddypress-trac mailing list