Changeset 32632
- Timestamp:
- 05/28/2015 05:50:40 AM (9 years ago)
- Location:
- trunk/src/wp-includes
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/default-filters.php
r32589 r32632 93 93 // Format strings for display. 94 94 foreach ( array( 'comment_author', 'term_name', 'link_name', 'link_description', 'link_notes', 'bloginfo', 'wp_title', 'widget_title' ) as $filter ) { 95 add_filter( $filter, 'wptexturize' );95 // add_filter( $filter, 'wptexturize' ); 96 96 add_filter( $filter, 'convert_chars' ); 97 97 add_filter( $filter, 'esc_html' ); … … 105 105 // Format titles 106 106 foreach ( array( 'single_post_title', 'single_cat_title', 'single_tag_title', 'single_month_title', 'nav_menu_attr_title', 'nav_menu_description' ) as $filter ) { 107 add_filter( $filter, 'wptexturize' );107 // add_filter( $filter, 'wptexturize' ); 108 108 add_filter( $filter, 'strip_tags' ); 109 109 } … … 111 111 // Format text area for display. 112 112 foreach ( array( 'term_description' ) as $filter ) { 113 add_filter( $filter, 'wptexturize' );113 // add_filter( $filter, 'wptexturize' ); 114 114 add_filter( $filter, 'convert_chars' ); 115 115 add_filter( $filter, 'wpautop' ); … … 143 143 add_filter( 'get_the_excerpt', 'wp_trim_excerpt' ); 144 144 145 add_filter( 'comment_text', 'wptexturize' );145 // add_filter( 'comment_text', 'wptexturize' ); 146 146 add_filter( 'comment_text', 'convert_chars' ); 147 147 add_filter( 'comment_text', 'make_clickable', 9 ); -
trunk/src/wp-includes/theme.php
r32629 r32632 901 901 function get_theme_mods() { 902 902 $theme_slug = get_option( 'stylesheet' ); 903 if ( false === ( $mods = get_option( "theme_mods_$theme_slug" ) ) ) { 903 $mods = get_option( "theme_mods_$theme_slug" ); 904 if ( false === $mods ) { 904 905 $theme_name = get_option( 'current_theme' ); 905 906 if ( false === $theme_name ) … … 910 911 delete_option( "mods_$theme_name" ); 911 912 } 912 return $mods;913 }913 } 914 return $mods; 914 915 } 915 916
Note: See TracChangeset
for help on using the changeset viewer.