_partial
1 week ago
aios-salt-postfix-enabled.php
1 year ago
analytics-consent-failed.php
1 year ago
analytics-consent-refused.php
1 year ago
analytics-modal.php
1 month ago
backup-plugins-notice.php
7 months ago
beta.php
1 year ago
cache-directory-permission-problem.php
1 year ago
cli-integration-notice.php
5 days ago
cron-warning-notice.php
2 months ago
directory-listing-could-not-be-prevented.php
7 months ago
disabled-items-notice.php
1 year ago
disabled-optimizer-notice.php
1 year ago
elementor-cloud-notice.php
4 months ago
logs-directory-permission-problem.php
1 year ago
low-memory-limit.php
1 year ago
mu-plugin-directory-permission-problem.php
1 year ago
next-gen-engine-notice.php
5 days ago
no-db-prefix-notice.php
1 year ago
object-cache-skipped.php
11 months ago
outdated-wp-staging-hooks.php
1 year ago
outdated-wp-staging-version.php
1 year ago
pro-crons-notice.php
1 year ago
review-prompt-handlers.php
2 weeks ago
review-prompt-modal.php
2 weeks ago
settings_option_corrupt.php
1 year ago
staging-directory-permission-problem.php
1 year ago
staging-symlink-enabled-notice.php
10 months ago
table-tmp-prefix-conflict-notice.php
1 year ago
transient.php
1 year ago
uploads-outside-wp-root.php
1 year ago
vars-directory-permission-problem.php
1 year ago
wordfence-userini-renamed.php
5 months ago
wp-options-missing-pk.php
5 months ago
wp-version-compat-notice.php
4 months ago
wpe-permalink-issue-notice.php
1 year ago
wrong-scheme.php
1 year ago
staging-directory-permission-problem.php
30 lines
| 1 | <?php |
| 2 | |
| 3 | use WPStaging\Framework\Facades\Escape; |
| 4 | |
| 5 | ?> |
| 6 | <div class="notice notice-error"> |
| 7 | <p> |
| 8 | <strong> |
| 9 | <?php |
| 10 | echo sprintf( |
| 11 | Escape::escapeHtml(__('WP Staging - Folder Permissions:</strong> |
| 12 | <br> |
| 13 | The folder <code>%1$s</code> is not write and/or readable. |
| 14 | <br> |
| 15 | Check if this folder is writeable by the php user %2$s or www-data. |
| 16 | File permissions needs to be chmod 755 or 777. |
| 17 | <br> |
| 18 | <br> |
| 19 | WP Staging\'s default behavior is to create a staging site in a subfolder of the live site. |
| 20 | If you get this warning this might not be possible, but you can still create a staging site. |
| 21 | <a href="%3$s" target="_blank">Create a staging site without write permission to root.</a> |
| 22 | ', 'wp-staging')), |
| 23 | esc_html(ABSPATH), |
| 24 | esc_html(getenv('USERNAME')) ?: esc_html(getenv('USER')), |
| 25 | esc_url('https://wp-staging.com/docs/creating-a-staging-site-without-write-permission/') |
| 26 | ); |
| 27 | ?> |
| 28 | </p> |
| 29 | </div> |
| 30 |