[wp-trac] [WordPress Trac] #20027: Use get_(template|stylesheet) instead of get_option( '(template|stylesheet)' )

WordPress Trac wp-trac at lists.automattic.com
Sat Feb 18 00:17:07 UTC 2012


#20027: Use get_(template|stylesheet) instead of get_option(
'(template|stylesheet)' )
------------------------------+------------------
 Reporter:  ocean90           |       Owner:
     Type:  enhancement       |      Status:  new
 Priority:  normal            |   Milestone:  3.4
Component:  Themes            |     Version:
 Severity:  normal            |  Resolution:
 Keywords:  has-patch commit  |
------------------------------+------------------

Comment (by SergeyBiryukov):

 Replying to [comment:6 nacin]:
 > [attachment:20027.diff] hits at what I was thinking.

 * Looks like `option_stylesheet` should be `option_template` in line 142.
 * Shouldn't it be `add_filter()` rather than `add_action()`?

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


More information about the wp-trac mailing list