Changeset 55990 for trunk/src/wp-includes/vars.php
- Timestamp:
- 06/22/2023 02:55:47 PM (5 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/vars.php
r55988 r55990 40 40 preg_match( '#(.*?)(/|$)#', $pagenow, $self_matches ); 41 41 $pagenow = strtolower( $self_matches[1] ); 42 if ( '.php' !== substr( $pagenow, -4, 4) ) {42 if ( ! str_ends_with( $pagenow, '.php' ) ) { 43 43 $pagenow .= '.php'; // For `Options +Multiviews`: /wp-admin/themes/index.php (themes.php is queried). 44 44 }
Note: See TracChangeset
for help on using the changeset viewer.