Changeset 37580 for trunk/src/wp-admin/includes/plugin.php
- Timestamp:
- 05/26/2016 11:14:52 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/plugin.php
r37562 r37580 96 96 if ( ! $plugin_data['TextDomain'] ) { 97 97 $plugin_slug = dirname( plugin_basename( $plugin_file ) ); 98 if ( '.' !== $plugin_slug && false === strpos( '/', $plugin_slug) ) {98 if ( '.' !== $plugin_slug && false === strpos( $plugin_slug, '/' ) ) { 99 99 $plugin_data['TextDomain'] = $plugin_slug; 100 100 }
Note: See TracChangeset
for help on using the changeset viewer.