We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 39043f8 commit e37b85fCopy full SHA for e37b85f
src/wp-admin/includes/plugin.php
@@ -999,8 +999,13 @@ function delete_plugins( $plugins, $deprecated = '' ) {
999
continue;
1000
}
1001
1002
- // Remove language files, silently.
1003
$plugin_slug = dirname( $plugin_file );
+
1004
+ if ( 'hello.php' === $plugin_file ) {
1005
+ $plugin_slug = 'hello-dolly';
1006
+ }
1007
1008
+ // Remove language files, silently.
1009
if ( '.' !== $plugin_slug && ! empty( $plugin_translations[ $plugin_slug ] ) ) {
1010
$translations = $plugin_translations[ $plugin_slug ];
1011
0 commit comments