Merged in feature/314-dev-dev01 (pull request #24)

auto-patch  314-dev-dev01-2024-01-25T04_09_02

* auto-patch  314-dev-dev01-2024-01-25T04_09_02
This commit is contained in:
Tony Volpe
2024-01-25 04:11:47 +00:00
parent 6b67473553
commit 68dbe860e9
540 changed files with 3445 additions and 2131 deletions

View File

@@ -26,6 +26,8 @@ class Wincher_Dashboard_Widget implements WPSEO_WordPress_Integration {
/**
* Register WordPress hooks.
*
* @return void
*/
public function register_hooks() {
add_action( 'admin_enqueue_scripts', [ $this, 'enqueue_wincher_dashboard_assets' ] );
@@ -45,6 +47,8 @@ class Wincher_Dashboard_Widget implements WPSEO_WordPress_Integration {
/**
* Adds the Wincher dashboard widget to WordPress.
*
* @return void
*/
public function add_wincher_dashboard_widget() {
add_filter( 'postbox_classes_dashboard_wpseo-wincher-dashboard-overview', [ $this, 'wpseo_wincher_dashboard_overview_class' ] );
@@ -70,6 +74,8 @@ class Wincher_Dashboard_Widget implements WPSEO_WordPress_Integration {
/**
* Displays the Wincher dashboard widget.
*
* @return void
*/
public function display_wincher_dashboard_widget() {
echo '<div id="yoast-seo-wincher-dashboard-widget"></div>';
@@ -77,6 +83,8 @@ class Wincher_Dashboard_Widget implements WPSEO_WordPress_Integration {
/**
* Enqueues assets for the dashboard if the current page is the dashboard.
*
* @return void
*/
public function enqueue_wincher_dashboard_assets() {
if ( ! $this->is_dashboard_screen() ) {