Changeset 47808 for trunk/src/wp-includes/class-wp-editor.php
- Timestamp:
- 05/16/2020 06:40:52 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/class-wp-editor.php
r47550 r47808 525 525 } 526 526 527 if ( 'en' != $mce_locale && empty( $strings ) ) {527 if ( 'en' !== $mce_locale && empty( $strings ) ) { 528 528 if ( @is_file( $path . 'en.js' ) ) { 529 529 $str1 = @file_get_contents( $path . 'en.js' ); … … 835 835 continue; 836 836 } elseif ( ! empty( $value ) && is_string( $value ) && ( 837 ( '{' == $value[0] && '}'== $value[ strlen( $value ) - 1 ] ) ||838 ( '[' == $value[0] && ']'== $value[ strlen( $value ) - 1 ] ) ||837 ( '{' === $value[0] && '}' === $value[ strlen( $value ) - 1 ] ) || 838 ( '[' === $value[0] && ']' === $value[ strlen( $value ) - 1 ] ) || 839 839 preg_match( '/^\(?function ?\(/', $value ) ) ) { 840 840 … … 1777 1777 $results = array(); 1778 1778 foreach ( $posts as $post ) { 1779 if ( 'post' == $post->post_type ) {1779 if ( 'post' === $post->post_type ) { 1780 1780 $info = mysql2date( __( 'Y/m/d' ), $post->post_date ); 1781 1781 } else {
Note: See TracChangeset
for help on using the changeset viewer.