[wp-trac] [WordPress Trac] #22252: register_theme_directory() usage can break the current theme

WordPress Trac noreply at wordpress.org
Mon Oct 22 05:49:30 UTC 2012


#22252: register_theme_directory() usage can break the current theme
-----------------------------+--------------------
 Reporter:  johnjamesjacoby  |       Owner:
     Type:  defect (bug)     |      Status:  new
 Priority:  normal           |   Milestone:  3.5
Component:  Themes           |     Version:  trunk
 Severity:  normal           |  Resolution:
 Keywords:  has-patch        |
-----------------------------+--------------------

Comment (by johnjamesjacoby):

 I've mitigated this problem on !BuddyPress's deactivation hook in trunk,
 which I think is good practice anyways. This doesn't cover the situation
 where a user deletes the !BuddyPress directory on their own (the patches
 above will cover that case in !WordPress core.)

 See: http://buddypress.trac.wordpress.org/changeset/6436/trunk/bp-core/bp-
 core-update.php

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/22252#comment:9>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list