PATH:
home
/
letacommog
/
laindinois
/
OLD
/
wp-content
/
plugins
/
wordpress-seo
/
admin
<?php /** * WPSEO plugin file. * * @package WPSEO\Admin */ /** * Class WPSEO_Recalculate_Scores. * * This class handles the SEO score recalculation for all posts with a filled focus keyword. */ class WPSEO_Recalculate_Scores { /** * Constructing the object by modalbox, the localization and the totals. */ public function __construct() { add_action( 'admin_enqueue_scripts', [ $this, 'recalculate_assets' ] ); add_action( 'admin_footer', [ $this, 'modal_box' ], 20 ); } /** * Run the localize script. */ public function recalculate_assets() { $asset_manager = new WPSEO_Admin_Asset_Manager(); $asset_manager->enqueue_script( 'recalculate' ); } /** * Initialize the modal box to be displayed when needed. */ public function modal_box() { // Adding the thickbox. add_thickbox(); $progress = sprintf( /* translators: 1: expands to a <span> containing the number of posts recalculated. 2: expands to a <strong> containing the total number of posts. */ esc_html__( '%1$s of %2$s done.', 'wordpress-seo' ), '<span id="wpseo_count">0</span>', '<strong id="wpseo_count_total">0</strong>' ); ?> <div id="wpseo_recalculate" class="hidden"> <p><?php esc_html_e( 'Recalculating SEO scores for all pieces of content with a focus keyphrase.', 'wordpress-seo' ); ?></p> <div id="wpseo_progressbar"></div> <p><?php echo $progress; ?></p> </div> <?php } }
[+]
..
[+]
links
[-] admin-settings-changed-listener.php
[edit]
[-] class-admin-asset-manager.php
[edit]
[+]
formatter
[-] class-premium-popup.php
[edit]
[-] class-admin-gutenberg-compatibility-notification.php
[edit]
[-] class-admin-recommended-replace-vars.php
[edit]
[-] class-add-keyword-modal.php
[edit]
[-] class-plugin-conflict.php
[edit]
[-] class-remote-request.php
[edit]
[-] class-suggested-plugins.php
[edit]
[+]
exceptions
[-] class-yoast-form.php
[edit]
[-] class-extensions.php
[edit]
[-] index.php
[edit]
[-] class-yoast-network-admin.php
[edit]
[-] class-admin-editor-specific-replace-vars.php
[edit]
[-] class-admin-asset-location.php
[edit]
[+]
tracking
[-] class-admin.php
[edit]
[-] class-license-page-manager.php
[edit]
[-] class-admin-help-panel.php
[edit]
[-] class-plugin-availability.php
[edit]
[-] class-helpscout.php
[edit]
[-] class-schema-person-upgrade-notification.php
[edit]
[-] class-meta-columns.php
[edit]
[-] class-recalculate-scores.php
[edit]
[+]
watchers
[+]
filters
[+]
notifiers
[-] class-product-upsell-notice.php
[edit]
[-] class-social-admin.php
[edit]
[+]
config-ui
[-] class-premium-upsell-admin-block.php
[edit]
[-] class-collector.php
[edit]
[-] class-option-tabs.php
[edit]
[-] class-yoast-dashboard-widget.php
[edit]
[-] interface-collection.php
[edit]
[+]
import
[+]
taxonomy
[-] class-keyword-synonyms-modal.php
[edit]
[+]
statistics
[-] ajax.php
[edit]
[-] class-config.php
[edit]
[-] class-yoast-network-settings-api.php
[edit]
[+]
recalculate
[-] class-database-proxy.php
[edit]
[-] class-admin-asset-seo-location.php
[edit]
[+]
capabilities
[-] class-yoast-columns.php
[edit]
[+]
menu
[-] class-admin-utils.php
[edit]
[-] class-multiple-keywords-modal.php
[edit]
[+]
views
[-] class-bulk-editor-list-table.php
[edit]
[-] class-asset.php
[edit]
[-] class-option-tabs-formatter.php
[edit]
[-] interface-installable.php
[edit]
[-] class-admin-user-profile.php
[edit]
[+]
listeners
[-] class-admin-asset-yoast-components-l10n.php
[edit]
[-] class-admin-init.php
[edit]
[-] class-yoast-input-validation.php
[edit]
[-] class-admin-asset-analysis-worker-location.php
[edit]
[-] class-yoast-notification.php
[edit]
[-] class-paper-presenter.php
[edit]
[-] class-export.php
[edit]
[-] class-option-tab.php
[edit]
[-] class-customizer.php
[edit]
[+]
services
[-] class-extension.php
[edit]
[-] class-plugin-compatibility.php
[edit]
[+]
ajax
[+]
ryte
[+]
pages
[-] class-extension-manager.php
[edit]
[-] class-expose-shortlinks.php
[edit]
[-] class-yoast-notification-center.php
[edit]
[-] class-my-yoast-route.php
[edit]
[-] class-meta-table-accessible.php
[edit]
[+]
endpoints
[-] class-admin-asset-dev-server-location.php
[edit]
[+]
roles
[-] class-bulk-description-editor-list-table.php
[edit]
[-] class-yoast-alerts.php
[edit]
[-] class-gutenberg-compatibility.php
[edit]
[-] class-bulk-title-editor-list-table.php
[edit]
[-] class-my-yoast-proxy.php
[edit]
[-] class-meta-storage.php
[edit]
[-] class-yoast-plugin-conflict.php
[edit]
[+]
metabox
[-] class-admin-media-purge-notification.php
[edit]
[+]
google_search_console
[-] class-primary-term-admin.php
[edit]