📁
SKYSHELL MANAGER
PHP v8.3.24
Create
Create
Path:
root
/
var
/
www
/
www-root
/
data
/
www
/
bluebellsschoolinternational.com
/
wp-admin
/
Name
Size
Perm
Actions
📁
css
-
0755
🗑️
🏷️
🔒
📁
images
-
0755
🗑️
🏷️
🔒
📁
includes
-
0755
🗑️
🏷️
🔒
📁
js
-
0755
🗑️
🏷️
🔒
📁
maint
-
0755
🗑️
🏷️
🔒
📁
network
-
0755
🗑️
🏷️
🔒
📁
user
-
0755
🗑️
🏷️
🔒
📄
about.php
20.17 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
admin-post.php
1.97 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
admin.php
6.83 KB
0444
🗑️
🏷️
⬇️
✏️
🔒
📄
contribute.php
5.59 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
edit-comments.php
14.38 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
edit-form-advanced.php
28.83 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
edit-form-comment.php
8.34 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
edit-tag-form.php
10.44 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
edit-tags.php
22 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
edit.php
19.48 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
home.php
6.83 KB
0444
🗑️
🏷️
⬇️
✏️
🔒
📄
import.php
7.58 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
link-parse-opml.php
2.63 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
media-new.php
3.18 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
menu.php
16.97 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
moderation.php
0.3 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
ms-delete-site.php
4.19 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
ms-options.php
0.22 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
ms-upgrade-network.php
0.21 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
ms-users.php
0.21 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
my-sites.php
4.74 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
options-discussion.php
15.4 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
options-head.php
0.61 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
options-media.php
6.35 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
options-permalink.php
21.21 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
options-privacy.php
9.95 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
options-reading.php
10.03 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
options-writing.php
9.1 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
plugin-install.php
6.96 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
plugins.php
30 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
post.php
9.97 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
privacy-policy-guide.php
3.67 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
privacy.php
2.52 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
revision.php
5.71 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
site-editor.php
11.83 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
site-health-info.php
3.99 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
site-health.php
10.2 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
term.php
2.2 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
theme-editor.php
15.59 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
themes.php
48.12 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
tools.php
3.43 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
update.php
12.79 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
upgrade.php
6.33 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
upload.php
14.84 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
user-new.php
24.05 KB
0644
🗑️
🏷️
⬇️
✏️
🔒
📄
wp-blog-header.php
6.83 KB
0444
🗑️
🏷️
⬇️
✏️
🔒
📄
xmlrpc.php
6.83 KB
0444
🗑️
🏷️
⬇️
✏️
🔒
Edit: theme-previews.php
<?php /** * Theme previews using the Site Editor for block themes. * * @package WordPress */ /** * Filters the blog option to return the path for the previewed theme. * * @since 6.3.0 * * @param string $current_stylesheet The current theme's stylesheet or template path. * @return string The previewed theme's stylesheet or template path. */ function wp_get_theme_preview_path( $current_stylesheet = null ) { if ( ! current_user_can( 'switch_themes' ) ) { return $current_stylesheet; } $preview_stylesheet = ! empty( $_GET['wp_theme_preview'] ) ? sanitize_text_field( wp_unslash( $_GET['wp_theme_preview'] ) ) : null; $wp_theme = wp_get_theme( $preview_stylesheet ); if ( ! is_wp_error( $wp_theme->errors() ) ) { if ( current_filter() === 'template' ) { $theme_path = $wp_theme->get_template(); } else { $theme_path = $wp_theme->get_stylesheet(); } return sanitize_text_field( $theme_path ); } return $current_stylesheet; } /** * Adds a middleware to `apiFetch` to set the theme for the preview. * This adds a `wp_theme_preview` URL parameter to API requests from the Site Editor, so they also respond as if the theme is set to the value of the parameter. * * @since 6.3.0 */ function wp_attach_theme_preview_middleware() { // Don't allow non-admins to preview themes. if ( ! current_user_can( 'switch_themes' ) ) { return; } wp_add_inline_script( 'wp-api-fetch', sprintf( 'wp.apiFetch.use( wp.apiFetch.createThemePreviewMiddleware( %s ) );', wp_json_encode( sanitize_text_field( wp_unslash( $_GET['wp_theme_preview'] ) ) ) ), 'after' ); } /** * Set a JavaScript constant for theme activation. * * Sets the JavaScript global WP_BLOCK_THEME_ACTIVATE_NONCE containing the nonce * required to activate a theme. For use within the site editor. * * @see https://github.com/WordPress/gutenberg/pull/41836 * * @since 6.3.0 * @access private */ function wp_block_theme_activate_nonce() { $nonce_handle = 'switch-theme_' . wp_get_theme_preview_path(); ?> <script type="text/javascript"> window.WP_BLOCK_THEME_ACTIVATE_NONCE = <?php echo wp_json_encode( wp_create_nonce( $nonce_handle ) ); ?>; </script> <?php } /** * Add filters and actions to enable Block Theme Previews in the Site Editor. * * The filters and actions should be added after `pluggable.php` is included as they may * trigger code that uses `current_user_can()` which requires functionality from `pluggable.php`. * * @since 6.3.2 */ function wp_initialize_theme_preview_hooks() { if ( ! empty( $_GET['wp_theme_preview'] ) ) { add_filter( 'stylesheet', 'wp_get_theme_preview_path' ); add_filter( 'template', 'wp_get_theme_preview_path' ); add_action( 'init', 'wp_attach_theme_preview_middleware' ); add_action( 'admin_head', 'wp_block_theme_activate_nonce' ); } }
Save