projects/plugins/jetpack/jetpack.php 1 location
|
@@ 142-150 (lines=9) @@
|
139 |
|
if ( is_readable( $jetpack_autoloader ) ) { |
140 |
|
require $jetpack_autoloader; |
141 |
|
} else { |
142 |
|
if ( defined( 'WP_DEBUG' ) && WP_DEBUG ) { |
143 |
|
error_log( // phpcs:ignore WordPress.PHP.DevelopmentFunctions.error_log_error_log |
144 |
|
sprintf( |
145 |
|
/* translators: Placeholder is a link to a support document. */ |
146 |
|
__( 'Your installation of Jetpack is incomplete. If you installed Jetpack from GitHub, please refer to this document to set up your development environment: %1$s', 'jetpack' ), |
147 |
|
'https://github.com/Automattic/jetpack/blob/master/docs/development-environment.md' |
148 |
|
) |
149 |
|
); |
150 |
|
} |
151 |
|
|
152 |
|
/** |
153 |
|
* Outputs an admin notice for folks running Jetpack without having run composer install. |
projects/plugins/backup/jetpack-backup.php 1 location
|
@@ 45-54 (lines=10) @@
|
42 |
|
|
43 |
|
// Jetpack Autoloader. |
44 |
|
$jetpack_autoloader = JETPACK_BACKUP_PLUGIN_DIR . 'vendor/autoload_packages.php'; |
45 |
|
if ( is_readable( $jetpack_autoloader ) ) { |
46 |
|
require_once $jetpack_autoloader; |
47 |
|
} else { |
48 |
|
if ( defined( 'WP_DEBUG' ) && WP_DEBUG ) { |
49 |
|
error_log( // phpcs:ignore WordPress.PHP.DevelopmentFunctions.error_log_error_log |
50 |
|
__( 'Error loading autoloader file for Jetpack Backup plugin', 'jetpack-backup' ) |
51 |
|
); |
52 |
|
} |
53 |
|
exit; |
54 |
|
} |
55 |
|
|
56 |
|
// Main plugin class. |
57 |
|
new Jetpack_Backup(); |
projects/plugins/vaultpress/vaultpress.php 1 location
|
@@ 91-98 (lines=8) @@
|
88 |
|
if ( is_readable( $loader ) ) { |
89 |
|
require $loader; |
90 |
|
} else { |
91 |
|
if ( defined( 'WP_DEBUG' ) && WP_DEBUG ) { |
92 |
|
error_log( |
93 |
|
wp_kses( |
94 |
|
__( 'Your installation of VaultPress is incomplete. If you installed it from GitHub, please run <code>composer install</code>.', 'vaultpress' ), |
95 |
|
array( 'code' => true ) |
96 |
|
) |
97 |
|
); |
98 |
|
} |
99 |
|
/** |
100 |
|
* Outputs an admin notice for folks running VaultPress without having run `composer install`. |
101 |
|
*/ |