id; // Only where it matters, so the dashboard and unrelated screens stay free of it. if ( ! $this->capabilities->has_engine() && ( str_contains( $screen_id, 'pixelkeep' ) || in_array( $screen_id, array( 'plugins', 'upload' ), true ) ) ) { printf( '
%1$s %2$s
%1$s %2$s
', esc_html__( 'Backups can be opened from the web.', 'pixelkeep' ), esc_html__( 'They sit in a folder with a random name, but a server rule should block them. This notice goes away once they are blocked; PixelKeep → Tools → Recheck capabilities tests again.', 'pixelkeep' ) ); if ( $this->backups->is_nginx() ) { printf( '%1$s
location ~* /wp-content/uploads/pixelkeep-(backups|tmp)/ { deny all; }
%s
', esc_html__( 'Allow .htaccess files in the uploads folder, or block the pixelkeep-backups folder in your server configuration.', 'pixelkeep' ) ); } echo '