id,summary,reporter,owner,description,type,status,priority,milestone,component,version,severity,resolution,keywords,cc,focuses 20027,Use get_(template|stylesheet) instead of get_option( '(template|stylesheet)' ),ocean90,,"While working on Gandalf we noticed, that it's not enough to filter the current theme with {{{ add_filter( 'template', array( $this, 'get_template' ) ); add_filter( 'stylesheet', array( $this, 'get_stylesheet' ) ); }}} The reason are some uses of `get_option( 'template' )` or `get_option( 'stylesheet' )`. Means we need additional filters: {{{ add_filter( 'pre_option_stylesheet', array( $this, 'get_stylesheet' ) ); add_filter( 'pre_option_template', array( $this, 'get_template' ) ); }}} It would be handy if `get_option( '(template|stylesheet)' )` could be replaced with `get_(template|stylesheet)`.",enhancement,closed,normal,,Themes,,normal,maybelater,has-patch early changes-requested,,