[wp-trac] [WordPress Trac] #21075: Allow switch_theme() to take a single 'stylesheet' argument
WordPress Trac
wp-trac at lists.automattic.com
Tue Jun 26 05:21:05 UTC 2012
#21075: Allow switch_theme() to take a single 'stylesheet' argument
--------------------------+---------------------
Reporter: nacin | Owner: nacin
Type: defect (bug) | Status: closed
Priority: normal | Milestone: 3.5
Component: Themes | Version: 3.4
Severity: normal | Resolution: fixed
Keywords: |
--------------------------+---------------------
Changes (by nacin):
* owner: => nacin
* status: new => closed
* resolution: => fixed
Comment:
In [21131]:
{{{
#!CommitTicketReference repository="" revision="21131"
Allow switch_theme() to take a single $stylesheet argument.
It now effectively has two function definitions:
function switch_theme( $stylesheet )
function switch_theme( $template, $stylesheet )
fixes #21075.
}}}
--
Ticket URL: <http://core.trac.wordpress.org/ticket/21075#comment:2>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list