Commit bff5d0cef84 for woocommerce
commit bff5d0cef846d5ea436de1ac694f983de0076284
Author: verofasulo <98944206+verofasulo@users.noreply.github.com>
Date: Fri May 8 14:40:40 2026 +0200
Hide WordPress admin footer on the products dashboard (#64705)
* Hide WordPress admin footer on the products dashboard
The experimental All Products dashboard takes over the full admin
viewport, so the default "Thank you for creating with WordPress." footer
text and version number bleed through behind the bulk-action bar.
Filter both admin_footer_text and update_footer to empty strings on
this page.
* remove priority
* fix priority
---------
Co-authored-by: Luigi Teschio <gigitux@gmail.com>
diff --git a/plugins/woocommerce/changelog/fix-products-dashboard-admin-footer b/plugins/woocommerce/changelog/fix-products-dashboard-admin-footer
new file mode 100644
index 00000000000..6c73603ca98
--- /dev/null
+++ b/plugins/woocommerce/changelog/fix-products-dashboard-admin-footer
@@ -0,0 +1,4 @@
+Significance: patch
+Type: fix
+
+Hide the WordPress admin footer text on the experimental All Products dashboard.
diff --git a/plugins/woocommerce/src/Admin/Features/ProductDataViews/Init.php b/plugins/woocommerce/src/Admin/Features/ProductDataViews/Init.php
index 15e6cbe9490..de004937384 100644
--- a/plugins/woocommerce/src/Admin/Features/ProductDataViews/Init.php
+++ b/plugins/woocommerce/src/Admin/Features/ProductDataViews/Init.php
@@ -26,6 +26,9 @@ class Init {
return "$classes";
}
);
+
+ add_filter( 'admin_footer_text', '__return_empty_string', 20 );
+ add_filter( 'update_footer', '__return_empty_string', 20 );
}
}