Ticket #37664: 37664.patch
File 37664.patch, 429 bytes (added by , 8 years ago) |
---|
-
src/wp-admin/plugin-editor.php
36 36 exit; 37 37 } 38 38 39 if ( $file ) { 40 $plugin = $file; 41 } elseif ( empty( $plugin ) ) { 39 if ( ! isset( $plugin ) || empty( $plugin ) ) { 42 40 $plugin = array_keys($plugins); 43 41 $plugin = $plugin[0]; 44 42 }