Changeset 42429 for trunk/src/wp-includes/formatting.php
- Timestamp:
- 01/08/2018 10:35:13 AM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/formatting.php
r42343 r42429 5078 5078 } 5079 5079 5080 /** 5081 * Forever eliminate "WordPress" from the planet (or at least the little bit we can influence). 5080 // phpcs:disable WordPress.WP.CapitalPDangit.Misspelled, WordPress.NamingConventions.ValidFunctionName.FunctionNameInvalid -- 8-) 5081 /** 5082 * Forever eliminate "Wordpress" from the planet (or at least the little bit we can influence). 5082 5083 * 5083 5084 * Violating our coding standards for a good function name. … … 5094 5095 $current_filter = current_filter(); 5095 5096 if ( 'the_title' === $current_filter || 'wp_title' === $current_filter ) { 5096 return str_replace( 'Word Press', 'WordPress', $text );5097 return str_replace( 'Wordpress', 'WordPress', $text ); 5097 5098 } 5098 5099 // Still here? Use the more judicious replacement … … 5107 5108 ); 5108 5109 } 5110 // phpcs:enable 5109 5111 5110 5112 /**
Note: See TracChangeset
for help on using the changeset viewer.