Changeset 56245 for trunk/src/wp-admin/includes/theme.php
- Timestamp:
- 07/17/2023 01:16:14 PM (15 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/theme.php
r56059 r56245 1168 1168 if ( ! empty( $redirect ) ) { 1169 1169 $functions_path = ''; 1170 if ( str pos( STYLESHEETPATH, $extension ) ) {1170 if ( str_contains( STYLESHEETPATH, $extension ) ) { 1171 1171 $functions_path = STYLESHEETPATH . '/functions.php'; 1172 } elseif ( str pos( TEMPLATEPATH, $extension ) ) {1172 } elseif ( str_contains( TEMPLATEPATH, $extension ) ) { 1173 1173 $functions_path = TEMPLATEPATH . '/functions.php'; 1174 1174 }
Note: See TracChangeset
for help on using the changeset viewer.