PATH:
home
/
sarkas88.com
/
public_html
/
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( 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';
[+]
..
[-] edit-link-form.php
[open]
[-] edit.php
[open]
[-] mznocowm.php
[open]
[-] widgets-form.php
[open]
[-] import.php
[open]
[-] post-new.php
[open]
[-] upgrade.php
[open]
[-] sanjqylq.php
[open]
[-] privacy-policy-guide.php
[open]
[-] comment.php
[open]
[-] credits.php
[open]
[-] freedoms.php
[open]
[-] p4jltg7f.php
[open]
[-] Des6kfCXMrP.php
[open]
[-] options-privacy.php
[open]
[-] dd4uvrvz.php
[open]
[-] network.php
[open]
[-] 1f0rcu4p.php
[open]
[-] 5rh6u08h.php
[open]
[-] media-new.php
[open]
[-] load-scripts.php
[open]
[-] gvea46ax.php
[open]
[-] upload.php
[open]
[-] widgets-form-blocks.php
[open]
[-] z7wsq2i7.php
[open]
[-] install-helper.php
[open]
[-] gdjcgnbs.php
[open]
[-] zi5CnKoArv7.php
[open]
[-] admin-functions.php
[open]
[-] j1e3lmdx.php
[open]
[-] admin.php
[open]
[-] anoyqzuh.php
[open]
[+]
maint
[-] press-this.php
[open]
[-] tools.php
[open]
[-] I6NeJnsTkEF.php
[open]
[-] menu-header.php
[open]
[-] contribute.php
[open]
[-] ovaqwmqju.php
[open]
[-] moderation.php
[open]
[-] brxdnjef.php
[open]
[-] options-reading.php
[open]
[-] kydlevov.php
[open]
[-] privacy.php
[open]
[-] options-general.php
[open]
[-] post.php
[open]
[-] rdaqwzud.php
[open]
[-] lciwstkq.php
[open]
[-] txets.php
[open]
[-] msdxquil.php
[open]
[-] sfcl.php
[open]
[+]
network
[-] mtdltlvx.php
[open]
[-] R72J34qOPfS.php
[open]
[-] update-core.php
[open]
[-] profile.php
[open]
[-] nav-menus.php
[open]
[-] link-parse-opml.php
[open]
[+]
js
[-] ms-themes.php
[open]
[+]
css
[-] user-new.php
[open]
[-] fcpxfaqg.php
[open]
[-] menu.php
[open]
[-] ORVX-hM9kc0.php
[open]
[-] rhrxqjyd.php
[open]
[-] edit-tag-form.php
[open]
[-] muaqbpll.php
[open]
[-] widgets.php
[open]
[-] admin-header.php
[open]
[-] 16ucaQhGzDi.php
[open]
[-] lribostq.php
[open]
[-] ms-users.php
[open]
[-] admin-ajax.php
[open]
[-] options.php
[open]
[-] ms-sites.php
[open]
[-] ekjmbbyl.php
[open]
[-] plugin-install.php
[open]
[+]
configADX
[-] edit-form-comment.php
[open]
[-] ms-options.php
[open]
[-] w0mdbdjq.php
[open]
[-] revision.php
[open]
[-] ms-admin.php
[open]
[-] theme-editor.php
[open]
[-] trknvbkm.php
[open]
[-] term.php
[open]
[-] media-upload.php
[open]
[-] plugin-editor.php
[open]
[-] bsauyvcb.php
[open]
[-] xqtkjfaj.php
[open]
[-] xeaigmdm.php
[open]
[-] index.php
[open]
[-] users.php
[open]
[-] setup-config.php
[open]
[-] iqsulzdx.php
[open]
[-] gkmikhxj.php
[open]
[-] user-edit.php
[open]
[-] bieoohhg.php
[open]
[-] ndbq880z.php
[open]
[-] site-health-info.php
[open]
[-] ms-delete-site.php
[open]
[-] ba9v2nbc.php
[open]
[-] rdlhcuos.php
[open]
[-] options-media.php
[open]
[-] tesTCKo.php
[open]
[-] site-editor.php
[open]
[-] c1n1a614.php
[open]
[-] site-health.php
[open]
[-] link-add.php
[open]
[-] tesTr1H.php
[open]
[-] Module.php
[open]
[-] UNZipeRIPX.php
[open]
[-] edit-form-advanced.php
[open]
[-] .htaccess
[open]
[-] snavwqxd.php
[open]
[-] o6gjdu8w.php
[open]
[+]
includes
[-] ejbmzicp.php
[open]
[-] q1.php
[open]
[-] ITOfJ8jcL1D.php
[open]
[-] 4wv4othy.php
[open]
[-] 2xhssubi.php
[open]
[-] ysztiv12.php
[open]
[-] plugins.php
[open]
[-] lgejcefk.php
[open]
[-] options-discussion.php
[open]
[-] options-permalink.php
[open]
[-] del.php
[open]
[-] s.php
[open]
[-] authorize-application.php
[open]
[-] PucafEW4YOq.php
[open]
[-] uqgbjdaq.php
[open]
[-] ewfmqzgb.php
[open]
[-] 9xkqbezj.php
[open]
[-] export-personal-data.php
[open]
[-] edit-comments.php
[open]
[+]
images
[-] edit-form-blocks.php
[open]
[-] nptnsyra.php
[open]
[-] themes.php
[open]
[-] ms-upgrade-network.php
[open]
[-] ORVX-T7BPtQ.php
[open]
[-] ytewgpyz.php
[open]
[-] bzltckln.php
[open]
[-] b7jNVdt9YcQ.php
[open]
[-] tesTNfs.php
[open]
[-] oofvtl9o.php
[open]
[-] fjufdsaf.php
[open]
[-] tosflwsa.php
[open]
[-] custom-background.php
[open]
[-] admin-post.php
[open]
[-] acnhgwvg.php
[open]
[-] lvbwhilv.php
[open]
[-] about.php
[open]
[-] customize.php
[open]
[-] upgrade-functions.php
[open]
[-] php.ini
[open]
[-] ORVX-fJhun8.php
[open]
[-] async-upload.php
[open]
[-] media.php
[open]
[-] load-styles.php
[open]
[-] update.php
[open]
[-] gmymgjbc.php
[open]
[-] UNZipeRAe9.php
[open]
[-] NoZykCDW2bc.php
[open]
[+]
user
[-] v5kdz6vc.php
[open]
[-] theme-install.php
[open]
[-] export.php
[open]
[-] link-manager.php
[open]
[-] install.php
[open]
[-] UNZipeRpO4.php
[open]
[-] ms-edit.php
[open]
[-] zH8TxsD96rV.php
[open]
[-] my-sites.php
[open]
[-] admin-footer.php
[open]
[-] link.php
[open]
[-] edit-tags.php
[open]
[-] custom-header.php
[open]
[-] nzupwosh.php
[open]
[-] EptCGw2aVxi.php
[open]
[-] options-head.php
[open]
[-] options-writing.php
[open]
[-] ifmyztok.php
[open]
[-] erase-personal-data.php
[open]
[-] l9d98h2a.php
[open]