Changeset 55988 for trunk/src/wp-admin/includes/template.php
- Timestamp:
- 06/22/2023 02:34:56 PM (2 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/template.php
r55846 r55988 1241 1241 if ( is_array( $callback ) ) { 1242 1242 $reflection = new ReflectionMethod( $callback[0], $callback[1] ); 1243 } elseif ( is_string( $callback ) && false !== strpos( $callback, '::' ) ) {1243 } elseif ( is_string( $callback ) && str_contains( $callback, '::' ) ) { 1244 1244 $reflection = new ReflectionMethod( $callback ); 1245 1245 } else {
Note: See TracChangeset
for help on using the changeset viewer.