PluginProbe ʕ •ᴥ•ʔ
WP STAGING – WordPress Backups, Restore, Migration & Clone / 4.11.1
WP STAGING – WordPress Backups, Restore, Migration & Clone v4.11.1
4.11.2 4.11.1 4.11.0 4.10.0 4.9.5 4.9.4 4.9.3 4.9.2 4.9.1 4.9.0 4.8.1 trunk 3.0.0 3.0.1 3.0.2 3.0.3 3.0.4 3.0.5 3.0.6 3.1.0 3.1.1 3.1.2 3.1.3 3.1.4 3.10.0 3.2.0 3.3.1 3.3.2 3.3.3 3.4.1 3.4.3 3.5.0 3.6.0 3.7.1 3.8.0 3.8.1 3.8.2 3.8.3 3.8.4 3.8.5 3.8.6 3.8.7 3.9.0 3.9.1 3.9.2 3.9.3 3.9.4 4.0.0 4.1.0 4.1.1 4.1.2 4.1.3 4.1.4 4.2.0 4.2.1 4.3.0 4.3.1 4.3.2 4.4.0 4.5.0 4.6.0 4.7.0 4.7.1 4.7.2 4.7.3 4.8.0
wp-staging / views / notices / staging-directory-permission-problem.php
wp-staging / views / notices Last commit date
_partial 2 months ago aios-salt-postfix-enabled.php 2 years ago analytics-consent-failed.php 2 years ago analytics-consent-refused.php 2 years ago analytics-modal.php 3 weeks ago backup-plugins-notice.php 8 months ago beta.php 2 years ago cache-directory-permission-problem.php 2 years ago cli-integration-notice.php 1 week ago cron-warning-notice.php 1 week ago directory-listing-could-not-be-prevented.php 8 months ago disabled-items-notice.php 1 week ago disabled-optimizer-notice.php 2 years ago elementor-cloud-notice.php 5 months ago logs-directory-permission-problem.php 2 years ago low-memory-limit.php 2 years ago mu-plugin-directory-permission-problem.php 2 years ago next-gen-engine-notice.php 1 month ago no-db-prefix-notice.php 2 years ago object-cache-skipped.php 1 year ago outdated-wp-staging-hooks.php 2 years ago outdated-wp-staging-version.php 2 years ago pro-crons-notice.php 2 years ago review-prompt-handlers.php 2 months ago review-prompt-modal.php 2 months ago settings_option_corrupt.php 2 years ago staging-directory-permission-problem.php 4 weeks ago staging-symlink-enabled-notice.php 11 months ago table-tmp-prefix-conflict-notice.php 2 years ago transient.php 2 years ago uploads-outside-wp-root.php 2 years ago vars-directory-permission-problem.php 2 years ago wordfence-userini-renamed.php 7 months ago wp-options-missing-pk.php 7 months ago wp-version-compat-notice.php 5 months ago wpe-permalink-issue-notice.php 2 years ago wrong-scheme.php 2 years ago
staging-directory-permission-problem.php
31 lines
1 <?php
2
3 use WPStaging\Framework\Facades\Escape;
4 use WPStaging\Framework\Utils\Env;
5
6 ?>
7 <div class="notice notice-error">
8 <p>
9 <strong>
10 <?php
11 echo sprintf(
12 Escape::escapeHtml(__('WP Staging - Folder Permissions:</strong>
13 <br>
14 The folder <code>%1$s</code> is not write and/or readable.
15 <br>
16 Check if this folder is writeable by the php user %2$s or www-data.
17 File permissions needs to be chmod 755 or 777.
18 <br>
19 <br>
20 WP Staging\'s default behavior is to create a staging site in a subfolder of the live site.
21 If you get this warning this might not be possible, but you can still create a staging site.
22 <a href="%3$s" target="_blank">Create a staging site without write permission to root.</a>
23 ', 'wp-staging')),
24 esc_html(ABSPATH),
25 esc_html((string)Env::get('USERNAME')) ?: esc_html((string)Env::get('USER')),
26 esc_url('https://wp-staging.com/docs/creating-a-staging-site-without-write-permission/')
27 );
28 ?>
29 </p>
30 </div>
31