[wp-trac] [WordPress Trac] #22501: class-wp-upgrader.php is using the wrong theme directory

WordPress Trac noreply at wordpress.org
Fri Jan 4 09:27:43 UTC 2013


#22501: class-wp-upgrader.php is using the wrong theme directory
-----------------------------+------------------------------
 Reporter:  toscho           |       Owner:
     Type:  defect (bug)     |      Status:  new
 Priority:  normal           |   Milestone:  Awaiting Review
Component:  Upgrade/Install  |     Version:  2.9
 Severity:  normal           |  Resolution:
 Keywords:  has-patch        |
-----------------------------+------------------------------
Changes (by TJNowell):

 * cc: tom@… (added)


Comment:

 Anything that generates a PHP error is a bug.

 Even if we ignore that bug, I'd say that toschos patch should be added
 anyway on different grounds, of good practice and API consistency.
 get_theme_root 's function shouldn't be duplicate in code elsewhere in
 core

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


More information about the wp-trac mailing list