Changeset 55988 for trunk/src/wp-admin/includes/upgrade.php
- Timestamp:
- 06/22/2023 02:34:56 PM (18 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/upgrade.php
r55854 r55988 1843 1843 $meta_keys = array(); 1844 1844 foreach ( array_merge( get_post_types(), get_taxonomies() ) as $name ) { 1845 if ( false !== strpos( $name, '-' ) ) {1845 if ( str_contains( $name, '-' ) ) { 1846 1846 $meta_keys[] = 'edit_' . str_replace( '-', '_', $name ) . '_per_page'; 1847 1847 } … … 3248 3248 if ( 'index.php' === $oldfile ) { 3249 3249 $index = implode( '', file( "$oldpath/$oldfile" ) ); 3250 if ( str pos( $index, 'WP_USE_THEMES' ) !== false) {3250 if ( str_contains( $index, 'WP_USE_THEMES' ) ) { 3251 3251 if ( ! copy( "$default_dir/$oldfile", "$site_dir/$newfile" ) ) { 3252 3252 return false; … … 3365 3365 foreach ( $stylelines as $line ) { 3366 3366 foreach ( $headers as $header => $value ) { 3367 if ( str pos( $line, $header ) !== false) {3367 if ( str_contains( $line, $header ) ) { 3368 3368 $line = $header . ' ' . $value; 3369 3369 break;
Note: See TracChangeset
for help on using the changeset viewer.