PATH:
home
/
lab2454c
/
transferwit.elementalrock.com
/
wp-admin
<?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(); $preload_paths = array( array( '/wp/v2/media', 'OPTIONS' ), '/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 ) ) ); // Preload server-registered block schemas. wp_add_inline_script( 'wp-blocks', 'wp.blocks.unstable__bootstrapServerSideBlockDefinitions(' . wp_json_encode( get_block_editor_server_block_settings() ) . ');' ); wp_add_inline_script( 'wp-blocks', sprintf( 'wp.blocks.setCategories( %s );', wp_json_encode( get_block_categories( $block_editor_context ) ) ), '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"></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';
[-] options-discussion.php
[edit]
[-] plugin-install.php
[edit]
[+]
js
[+]
includes
[-] link-add.php
[edit]
[-] term.php
[edit]
[-] admin-footer.php
[edit]
[-] ms-sites.php
[edit]
[-] options-head.php
[edit]
[-] privacy-policy-guide.php
[edit]
[-] moderation.php
[edit]
[-] upgrade.php
[edit]
[-] link-manager.php
[edit]
[-] plugin-editor.php
[edit]
[-] edit-tags.php
[edit]
[-] menu.php
[edit]
[-] credits.php
[edit]
[-] index.php
[edit]
[-] options-privacy.php
[edit]
[-] post-new.php
[edit]
[-] options.php
[edit]
[-] nav-menus.php
[edit]
[+]
..
[-] my-sites.php
[edit]
[-] upload.php
[edit]
[-] wp-blog-header.php
[edit]
[-] comment.php
[edit]
[+]
network
[-] admin-post.php
[edit]
[-] admin.php
[edit]
[-] custom-background.php
[edit]
[-] ms-delete-site.php
[edit]
[-] update-core.php
[edit]
[-] admin-functions.php
[edit]
[-] widgets.php
[edit]
[-] theme-install.php
[edit]
[-] options-permalink.php
[edit]
[-] post.php
[edit]
[-] freedoms.php
[edit]
[-] import.php
[edit]
[-] link-parse-opml.php
[edit]
[-] theme-editor.php
[edit]
[-] async-upload.php
[edit]
[-] network.php
[edit]
[-] site-health.php
[edit]
[-] media-new.php
[edit]
[-] update.php
[edit]
[-] ms-admin.php
[edit]
[-] edit-tag-form.php
[edit]
[-] user-new.php
[edit]
[-] ms-users.php
[edit]
[-] load-styles.php
[edit]
[-] authorize-application.php
[edit]
[-] revision.php
[edit]
[-] widgets-form.php
[edit]
[-] media-upload.php
[edit]
[-] media.php
[edit]
[-] admin-header.php
[edit]
[-] menu-header.php
[edit]
[-] export-personal-data.php
[edit]
[-] export.php
[edit]
[+]
css
[-] profile.php
[edit]
[-] options-reading.php
[edit]
[-] plugins.php
[edit]
[+]
maint
[-] site-health-info.php
[edit]
[-] edit-comments.php
[edit]
[-] load-scripts.php
[edit]
[-] install.php
[edit]
[-] tools.php
[edit]
[-] install-helper.php
[edit]
[-] user-edit.php
[edit]
[-] link.php
[edit]
[-] edit.php
[edit]
[-] .htaccess
[edit]
[-] admin-ajax.php
[edit]
[-] options-general.php
[edit]
[-] edit-link-form.php
[edit]
[-] upgrade-functions.php
[edit]
[-] options-media.php
[edit]
[-] ms-options.php
[edit]
[-] ms-themes.php
[edit]
[-] users.php
[edit]
[+]
images
[-] press-this.php
[edit]
[-] privacy.php
[edit]
[-] ms-edit.php
[edit]
[-] edit-form-advanced.php
[edit]
[-] edit-form-comment.php
[edit]
[+]
user
[-] custom-header.php
[edit]
[-] about.php
[edit]
[-] setup-config.php
[edit]
[-] erase-personal-data.php
[edit]
[-] edit-form-blocks.php
[edit]
[-] options-writing.php
[edit]
[-] error_log
[edit]
[-] ms-upgrade-network.php
[edit]
[-] wp-cron.php
[edit]
[-] widgets-form-blocks.php
[edit]
[-] themes.php
[edit]
[-] customize.php
[edit]
[-] text.php
[edit]