Opened 9 years ago
Closed 9 years ago
#37352 closed enhancement (duplicate)
Change get_option with stylesheet and template to get_stylesheet() and get_template()
| Reported by: |
|
Owned by: | |
|---|---|---|---|
| Milestone: | Priority: | normal | |
| Severity: | normal | Version: | |
| Component: | Themes | Keywords: | |
| Focuses: | Cc: |
Description
Change get_option with stylesheet and template to get_stylesheet() and get_template()
In my plugin I must use 4 filters but I should use two:
add_filter( 'template', array( $this, 'template_stylesheet' ) ); add_filter( 'stylesheet', array( $this, 'template_stylesheet' ) ); add_filter( 'pre_option_template', array( $this, 'template_stylesheet' ) ); add_filter( 'pre_option_stylesheet', array( $this, 'template_stylesheet' ) );
Attachments (1)
Change History (2)
Note: See
TracTickets for help on using
tickets.
Duplicate of #20027.