Skip to content

Commit

Permalink
Autoloader: fix is_directory_plugin() call
Browse files Browse the repository at this point in the history
  • Loading branch information
kbrown9 committed Jun 10, 2020
1 parent 29c7a63 commit ccfc5d3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/autoloader/src/class-plugins-handler.php
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ public function reset_maps_after_update( $response, $hook_extra, $result ) {
if ( isset( $hook_extra['plugin'] ) ) {
$plugin = $hook_extra['plugin'];

if ( ! is_directory_plugin( $plugin ) ) {
if ( ! $this->is_directory_plugin( $plugin ) ) {
// Single-file plugins don't use packages, so bail.
return $response;
}
Expand Down

0 comments on commit ccfc5d3

Please sign in to comment.