Changeset 51019 for trunk/src/wp-includes/default-filters.php
- Timestamp:
- 05/25/2021 11:42:15 PM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/default-filters.php
r51003 r51019 132 132 133 133 // Format strings for display. 134 foreach ( array( 'comment_author', 'term_name', 'link_name', 'link_description', 'link_notes', 'bloginfo', 'wp_title', ' widget_title' ) as $filter ) {134 foreach ( array( 'comment_author', 'term_name', 'link_name', 'link_description', 'link_notes', 'bloginfo', 'wp_title', 'document_title', 'widget_title' ) as $filter ) { 135 135 add_filter( $filter, 'wptexturize' ); 136 136 add_filter( $filter, 'convert_chars' ); … … 139 139 140 140 // Format WordPress. 141 foreach ( array( 'the_content', 'the_title', 'wp_title' ) as $filter ) {141 foreach ( array( 'the_content', 'the_title', 'wp_title', 'document_title' ) as $filter ) { 142 142 add_filter( $filter, 'capital_P_dangit', 11 ); 143 143 }
Note: See TracChangeset
for help on using the changeset viewer.