Changeset 61006 for trunk/src/wp-includes/class-wp-plugin-dependencies.php
- Timestamp:
- 10/21/2025 04:31:04 AM (3 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/class-wp-plugin-dependencies.php
r60666 r61006 871 871 */ 872 872 protected static function convert_to_slug( $plugin_file ) { 873 if ( 'hello.php' === $plugin_file ) { 874 return 'hello-dolly'; 875 } 873 876 return str_contains( $plugin_file, '/' ) ? dirname( $plugin_file ) : str_replace( '.php', '', $plugin_file ); 874 877 }
Note: See TracChangeset
for help on using the changeset viewer.