← All changes
|
vendor/jetpack-autoloader/class-plugin-locator.php
+2
-2
12.8.3
→
16.3-a.7
View file →
| @@ -4,9 +4,9 @@ | ||
| 4 | 4 | * |
| 5 | 5 | * @package automattic/jetpack-autoloader |
| 6 | 6 | */ |
| 7 | 7 | |
| 8 | -namespace Automattic\Jetpack\Autoloader\jpf11009ded9fc4592b6a05b61ce272b3c_jetpackⓥ12_8_1\al2_12_0; | |
| 8 | +namespace Automattic\Jetpack\Autoloader\jpf11009ded9fc4592b6a05b61ce272b3c_jetpackⓥ16_3_a_7\al6_0_1; | |
| 9 | 9 | |
| 10 | 10 | // phpcs:ignore |
| 11 | 11 | |
| 12 | 12 | /** |
| @@ -38,9 +38,9 @@ | ||
| 38 | 38 | * @throws \RuntimeException If the current plugin does not have an autoloader. |
| 39 | 39 | */ |
| 40 | 40 | public function find_current_plugin() { |
| 41 | 41 | // Escape from `vendor/__DIR__` to root plugin directory. |
| 42 | - $plugin_directory = dirname( dirname( __DIR__ ) ); | |
| 42 | + $plugin_directory = dirname( __DIR__, 2 ); | |
| 43 | 43 | |
| 44 | 44 | // Use the path processor to ensure that this is an autoloader we're referencing. |
| 45 | 45 | $path = $this->path_processor->find_directory_with_autoloader( $plugin_directory, array() ); |
| 46 | 46 | if ( false === $path ) { |