Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #24844


Ignore:
Timestamp:
07/26/2013 03:16:48 PM (12 years ago)
Author:
SergeyBiryukov
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #24844 – Description

    initial v1  
    77There's a workaround to simply loop through the settings and manually apply the filter, but it would be better if {{{get_theme_mods}}} had an argument like {{{$use_filter}}} and could add the filter in the core functionality.
    88
    9 {{{get_theme_mods}}} is in {{{wp-includes/theme.php}}} on line 746.
    10 {{{get_theme_mod}}} is in {{{wp-includes/theme.php}}} on line 776.
    11 {{{theme_mod_$name}}} filter is applied in {{{wp-includes/theme.php}}} on lines 780 and 785.
    12 {{{ theme_mod_$name}}} filter is added in {{{wp-includes/class-wp-customize-setting.php}}} on line 72.
     9{{{get_theme_mods}}} is in [source:tags/3.5.2/wp-includes/theme.php#L746 wp-includes/theme.php] on line 746.
     10{{{get_theme_mod}}} is in [source:tags/3.5.2/wp-includes/theme.php#L776 wp-includes/theme.php] on line 776.
     11{{{theme_mod_$name}}} filter is applied in [source:tags/3.5.2/wp-includes/theme.php#L780 wp-includes/theme.php] on lines 780 and 785.
     12{{{ theme_mod_$name}}} filter is added in [source:tags/3.5.2/wp-includes/class-wp-customize-setting.php#L72 wp-includes/class-wp-customize-setting.php] on line 72.