Ticket #14721: 14721-r23302.diff
File 14721-r23302.diff, 665 bytes (added by , 12 years ago) |
---|
-
wp-includes/theme.php
796 796 function set_theme_mod( $name, $value ) { 797 797 $mods = get_theme_mods(); 798 798 799 $value = apply_filters('set_theme_mod', $value, $name, $mods[ $name ]); 800 $value = apply_filters("set_theme_mod_$name", $value, $mods[ $name ]); 801 799 802 $mods[ $name ] = $value; 800 803 801 804 $theme = get_option( 'stylesheet' ); 802 805 update_option( "theme_mods_$theme", $mods ); 806 807 do_action('post_set_theme_mod', $mods, $name, $value); 808 do_action("post_set_theme_mod_$name", $mods, $value); 803 809 } 804 810 805 811 /**