diff --git a/README.md b/README.md
index c12bc12..70bb3ae 100644
--- a/README.md
+++ b/README.md
@@ -2,8 +2,8 @@
[![plugin version](https://img.shields.io/wordpress/plugin/v/so-clean-up-wp-seo)](https://wordpress.org/plugins/so-clean-up-wp-seo) [![WP compatibility](https://plugintests.com/plugins/wporg/so-clean-up-wp-seo/wp-badge.svg)](https://plugintests.com/plugins/wporg/so-clean-up-wp-seo/latest) [![PHP compatibility](https://plugintests.com/plugins/so-clean-up-wp-seo/php-badge.svg)](https://plugintests.com/plugins/so-clean-up-wp-seo/latest)
-###### Last updated on January 31, 2023
-###### Development version 3.14.13
+###### Last updated on February 10, 2023
+###### Development version 4.0.0
###### requires at least WordPress 4.9
###### tested up to WordPress 6.1
###### Author: [Pieter Bos](https://github.com/senlin)
@@ -13,56 +13,27 @@ Free addon for the Yoast SEO plugin to hide the bloat it adds to your WordPress
## Description
-Almost anyone who uses the Yoast SEO plugin will agree that it is a good SEO plugin, but the developers are adding more and more unwanted things to the WordPress backend.
+Hides (sidebar) ads and premium version buttons of Yoast SEO from their settings pages and your website's dashboard (and frontend).
-**New in this version:**
+
-* fix issue where Hide SEO Bloat link to settings page was made invisible due to Yoast SEO switching around menu items in admin sidebar
-* hide Premium SEO Analysis button on Publish/Update Post metabox
+The first version of the Hide SEO Bloat plugin was released in April 2015 and ever since team Yoast and I have been playing a game of cat and mouse.
-
+Since version 20.0 of Yoast SEO however, the Settings page has received a complete overhaul, which made the Hide SEO Bloat plugin almost obsolete!
+
+Things have become much, much more trickier to remove/hide now and some things simply can no longer be hidden (believe me, I have tried).
-The purpose of the Hide SEO Bloat plugin, a free addon for the Yoast SEO plugin, is to clean up all those unwanted things.
+Why are there still people using Yoast SEO one might ask? There are so many great alternatives that come without screaming ads and hiding features behind a paywall!
-The Settings page of the plugin shows checkboxes for everything. Ticking the box means hiding (or removing) that particular "feature".
+And the only reason that I have to keep Yoast SEO installed (on a sandbox that is) is because of the mere 10K installs where Hide SEO Bloat is running. Compare that with my popular [Classic Editor + plugin](https://wordpress.org/plugins/classic-editor-addon/), which has more than 30,000 active installs!
-It is a good idea to have a look at the Settings page if only to see what you can fine-tune. The link to the page has been added to the Yoast SEO menu and of course there is also a link to it from the Plugins page.
+For everyone to become much more productive and happier, my proposal therefore is to switch to any of the other SEO plugins, such as SEOPress, The SEO Framework, Rankmath, or any other one out there! Did you know that most SEO plugins come with easy one-click migration tools?
+
+
If you like the Hide SEO Bloat plugin, please consider leaving a [review](https://wordpress.org/support/view/plugin-reviews/so-clean-up-wp-seo?rate=5#postform). You can also help a great deal by [translating the plugin](https://translate.wordpress.org/projects/wp-plugins/so-clean-up-wp-seo) into your own language.
Alternatively you are welcome to make a [donation](https://so-wp.com/donations). Thanks!
-## Default Settings current release
-
-The default settings of the current release are as follows:
-
-* hide the cartoon-style sidebar ads on almost all settings pages of the Yoast SEO plugin
-* hide the tagline nag showing as a Problem in the Yoast SEO Dashboard
-* hide the robots nag showing as a Problem in the Yoast SEO Dashboard and in the advanced tab of Yoast SEO UI in edit Post/Page screen when your site is blocking access to robots
-* hide the Upsell Notice in the Notification box that shows in the Yoast SEO Dashboard
-* hide the Upsell Notice in social tab of Yoast Post/Page metabox
-* hide the Premium Upsell Admin Block that shows in the entire Yoast SEO backend
-* hides "Premium" and "Workouts" submenus
-* hides "Go Premium" metabox on edit Post/Page screens
-* hides Post/Page/Taxonomy Deletion Premium Ad
-* hide Problems box from Yoast SEO Dashboard
-* hide Notifications box from Yoast SEO Dashboard
-* hide image warning nag that shows in edit Post/Page screen when featured image is smaller than 200x200 pixels
-* hide check Configuration wizard box that shows on top of most admin screens
-* hide issue counter from adminbar and sidebar
-* hide ad for premium version in help center
-* hide the SEO Score, Readability, Title, Meta Description and Outgoing Internal Links admin columns on the Posts/Pages screens; Focus keyword column can be hidden too
-* hide the SEO Score and Readability admin columns on taxonomies
-* hide SEO Settings on individual profile page
-* remove primary category feature
-* remove the Yoast SEO admin bar menu
-* remove the Yoast SEO widget from the WordPress Dashboard
-* removes Courses menu from sidebar
-* hides SEO Scores Dropdown Filters on the Edit Posts/Pages screen
-* hides Keyword/Content Score from the Publish/Update Metabox on the Edit Post/Page/CPT screen
-* remove HTML comments that show in source code (frontend) upgraded for use with version 11 and above of Yoast SEO
-* remove Search Console submenu
-* hide help beacon
-
## Frequently Asked Questions
### Where is the settings page?
@@ -94,8 +65,8 @@ Please open an issue here on [Github](https://github.com/senlin/so-clean-up-wp-s
## Contributions
-We welcome your contributions very much! PR's will be considered and of course bug reports and feature requests can also be seen as contributions!
-**If you're interested in becoming involved, please [let us know](https://so-wp.com/contact) or simply send a PR with your proposed improvement.**
+I welcome your contributions very much! PR's will be considered and of course bug reports and feature requests can also be seen as contributions!
+**If you're interested in becoming involved, please [let me know](https://so-wp.com/contact) or simply send a PR with your proposed improvement.**
## License
@@ -108,7 +79,7 @@ We welcome your contributions very much! PR's will be considered and of course b
## Connect with us through
-[BHI Localiztion for Websites](https://www.bhi-localization.com)
+[BHI Localization for Websites](https://www.bhi-localization.com)
[SO WP Plugins](https://so-wp.com/)
@@ -121,6 +92,14 @@ We welcome your contributions very much! PR's will be considered and of course b
## Changelog
+### 4.0.0
+
+* release date February 10, 2023
+* redo many styles that hide features, due to dashboard makeover release of Yoast SEO version 20.0
+* merge many settings (from 23 to 14)
+* new sections on the settings page with assistance of [ChatGPT](https://chat.openai.com/)
+* simplify register_settings() function with assistance of [ChatGPT](https://chat.openai.com/)
+
### 3.14.13
* release date January 31, 2023
diff --git a/assets/screenshot-1.jpg b/assets/screenshot-1.jpg
deleted file mode 100644
index ae77367..0000000
Binary files a/assets/screenshot-1.jpg and /dev/null differ
diff --git a/assets/screenshot-2.jpg b/assets/screenshot-2.jpg
deleted file mode 100644
index 0b92117..0000000
Binary files a/assets/screenshot-2.jpg and /dev/null differ
diff --git a/assets/screenshot-3.jpg b/assets/screenshot-3.jpg
deleted file mode 100644
index 1f49a6b..0000000
Binary files a/assets/screenshot-3.jpg and /dev/null differ
diff --git a/assets/screenshot-4.jpg b/assets/screenshot-4.jpg
deleted file mode 100644
index e6c0c23..0000000
Binary files a/assets/screenshot-4.jpg and /dev/null differ
diff --git a/assets/screenshot-5.jpg b/assets/screenshot-5.jpg
deleted file mode 100644
index be1c4d0..0000000
Binary files a/assets/screenshot-5.jpg and /dev/null differ
diff --git a/images/pieterbos.jpeg b/images/pieterbos.jpeg
new file mode 100644
index 0000000..3b3486e
Binary files /dev/null and b/images/pieterbos.jpeg differ
diff --git a/images/pieterbos.jpg b/images/pieterbos.jpg
deleted file mode 100644
index ac550d5..0000000
Binary files a/images/pieterbos.jpg and /dev/null differ
diff --git a/includes/class-so-clean-up-wp-seo-settings.php b/includes/class-so-clean-up-wp-seo-settings.php
index 2b7da90..b9f82c8 100644
--- a/includes/class-so-clean-up-wp-seo-settings.php
+++ b/includes/class-so-clean-up-wp-seo-settings.php
@@ -175,48 +175,18 @@ public function add_settings_link( $links ) {
*
* @return array Fields to be displayed on settings page
* @since v2.0.0
- * @modified v2.1.0 simplyfy the options to reflect changes to v3.1 of Yoast SEO plugin (temporarily removing
- * non-vital notifications)
*/
private function settings_fields() {
$cuws = CUWS::instance();
$options = $cuws->get_defaults();
- $settings['standard'] = array(
- 'title' => __( 'Without further ado: Hide the bloat', 'so-clean-up-wp-seo' ),
+ $settings['section_1'] = array(
+ 'title' => __( 'Yoast SEO Settings pages', 'so-clean-up-wp-seo' ),
//'description' => __( 'description' ),
'fields' => array(
- array(
- 'id' => 'hide_ads',
- 'label' => __( 'Sidebar Ads', 'so-clean-up-wp-seo' ),
- 'description' => __( 'Hide the cartoon-style sidebar ads on almost all settings pages of the Yoast SEO plugin.', 'so-clean-up-wp-seo' ),
- 'type' => 'checkbox',
- 'default' => $options['hide_ads'],
- ),
- array(
- 'id' => 'hide_tagline_nag',
- 'label' => __( 'General > Dashboard tab > Problems box > Tagline nag', 'so-clean-up-wp-seo' ),
- 'description' => __( 'Hide Tagline nag that shows in the Problem Box of the Dashboard tab under General Settings.', 'so-clean-up-wp-seo' ),
- 'type' => 'checkbox',
- 'default' => $options['hide_tagline_nag'],
- ),
- array(
- 'id' => 'hide_robots_nag',
- 'label' => __( 'General > Dashboard tab > Problems box > Robots nag', 'so-clean-up-wp-seo' ),
- 'description' => __( 'Hide robots nag that shows as a "Huge SEO issue" in the Problem Box of the Dashboard tab under General Settings.', 'so-clean-up-wp-seo' ),
- 'type' => 'checkbox',
- 'default' => $options['hide_robots_nag'],
- ),
- array(
- 'id' => 'hide_upsell_notice',
- 'label' => __( 'General > Dashboard tab > Notifications box > Upsell Notice', 'so-clean-up-wp-seo' ),
- 'description' => __( 'Hide the Upsell Notice in the Notifications box that shows in the Notifications Box of the Dashboard tab under General Settings.', 'so-clean-up-wp-seo' ),
- 'type' => 'checkbox',
- 'default' => $options['hide_upsell_notice'],
- ),
array(
'id' => 'hide_dashboard_problems_notifications',
- 'label' => __( 'General > Dashboard tab > Problems/Notifications boxes', 'so-clean-up-wp-seo' ),
+ 'label' => __( 'General > Dashboard tab > Problems/Notifications boxes', 'so-clean-up-wp-seo' ),
'description' => '
' . __( 'Hide entire Problems/Notifications boxes from the Dashboard tab under General Settings.', 'so-clean-up-wp-seo' ),
'type' => 'checkbox_multi',
'options' => array(
@@ -226,39 +196,46 @@ private function settings_fields() {
'default' => $options['hide_dashboard_problems_notifications'],
),
array(
- 'id' => 'hide_crawl_settings',
- 'label' => __( 'Crawl Settings Tab', 'so-clean-up-wp-seo' ),
- 'description' => __( 'Hide the Crawl Settings tab.', 'so-clean-up-wp-seo' ),
- 'type' => 'checkbox',
- 'default' => $options['hide_crawl_settings'],
- ),
- array(
- 'id' => 'hide_upsell_admin_block',
- 'label' => __( 'Premium Upsell Admin Block', 'so-clean-up-wp-seo' ),
- 'description' => __( 'Hide the Premium Upsell Admin Block that shows in the entire Yoast SEO backend.', 'so-clean-up-wp-seo' ),
+ 'id' => 'hide_ads',
+ 'label' => __( 'Settings page > Yoast Premium', 'so-clean-up-wp-seo' ),
+ 'description' => __( 'Hide as many as possible ads, premium features or upsells from the Yoast Settings pages.', 'so-clean-up-wp-seo' ),
'type' => 'checkbox',
- 'default' => $options['hide_upsell_admin_block'],
+ 'default' => $options['hide_ads'],
),
array(
'id' => 'hide_premium_submenu',
- 'label' => __( 'Premium submenus', 'so-clean-up-wp-seo' ),
- 'description' => __( 'Hides the "Premium", "Workouts" and "Redirects" submenus.', 'so-clean-up-wp-seo' ),
+ 'label' => __( 'Premium submenus and issue counter', 'so-clean-up-wp-seo' ),
+ 'description' => __( 'Hides the "Premium", "Workouts" and "Redirects" submenus as well as the issue counter from the admin sidebar.', 'so-clean-up-wp-seo' ),
'type' => 'checkbox',
'default' => $options['hide_premium_submenu'],
),
+ )
+ );
+
+ $settings['section_2'] = array(
+ 'title' => __( 'Posts, Pages, Custom post type, Taxonomy pages', 'so-clean-up-wp-seo' ),
+ 'fields' => array(
array(
- 'id' => 'hide_post_deletion_premium_ad',
- 'label' => __( 'Post/Page/Taxonomy Deletion Premium Ad', 'so-clean-up-wp-seo' ),
- 'description' => __( 'Hides Post Deletion Premium Ad in edit Post/Page/Taxonomy screens.', 'so-clean-up-wp-seo' ),
- 'type' => 'checkbox',
- 'default' => $options['hide_post_deletion_premium_ad'],
+ 'id' => 'hide_admincolumns',
+ 'label' => __( 'Admin columns', 'so-clean-up-wp-seo' ),
+ 'description' => '
' . __( 'There are so many admin columns added to Posts/Pages/taxonomies that it is impossible to see the things that matter, such as the Title. Multiple selections are allowed.', 'so-clean-up-wp-seo' ),
+ 'type' => 'checkbox_multi',
+ 'options' => array(
+ 'seoscore' => __( 'Remove SEO score column', 'so-clean-up-wp-seo' ),
+ 'readability' => __( 'Remove Readability score column', 'so-clean-up-wp-seo' ),
+ 'title' => __( 'Remove SEO title column', 'so-clean-up-wp-seo' ),
+ 'metadescr' => __( 'Remove Meta Desc. column', 'so-clean-up-wp-seo' ),
+ 'focuskw' => __( 'Remove keyphrase column', 'so-clean-up-wp-seo' ),
+ 'outgoing_internal_links' => __( 'Remove outgoing/received internal links column', 'so-clean-up-wp-seo' ),
+ ),
+ 'default' => $options['hide_admincolumns'],
),
array(
- 'id' => 'hide_config_wizard',
- 'label' => __( 'Hide Configuration Wizard check', 'so-clean-up-wp-seo' ),
- 'description' => __( 'Hide the Configuration Wizard check that shows at the top of almost all Yoast SEO Settings screens.', 'so-clean-up-wp-seo' ),
+ 'id' => 'remove_seo_scores_dropdown_filters',
+ 'label' => __( 'SEO/Readability Scores Dropdown Filters', 'so-clean-up-wp-seo' ),
+ 'description' => __( 'Remove SEO Scores and Readability Scores Dropdown Filters on the Edit Posts/Pages screen', 'so-clean-up-wp-seo' ),
'type' => 'checkbox',
- 'default' => $options['hide_config_wizard'],
+ 'default' => $options['remove_seo_scores_dropdown_filters'],
),
array(
'id' => 'hide_imgwarning_nag',
@@ -268,63 +245,36 @@ private function settings_fields() {
'default' => $options['hide_imgwarning_nag'],
),
array(
- 'id' => 'hide_issue_counter',
- 'label' => __( 'Issue Counter', 'so-clean-up-wp-seo' ),
- 'description' => __( 'Hide issue counter from adminbar and sidebar.', 'so-clean-up-wp-seo' ),
+ 'id' => 'hide_content_keyword_score',
+ 'label' => __( 'Keyword/Content Score', 'so-clean-up-wp-seo' ),
+ 'description' => __( 'Hide the Keyword/Content Score from the Publish/Update Metabox on the Edit Post/Page/CPT screen.', 'so-clean-up-wp-seo' ),
'type' => 'checkbox',
- 'default' => $options['hide_issue_counter'],
- ),
- array(
- 'id' => 'hide_helpcenter',
- 'label' => __( 'Help center', 'so-clean-up-wp-seo' ),
- 'description' => '
' . __( 'The Yoast SEO plugin comes with a help center (since Yoast SEO 3.2) that shows introduction videos and (of course) ads for the premium version of the plugin and now (since Yoast SEO 5.6) also a paid-for course; select here what to hide (if anything).', 'so-clean-up-wp-seo' ),
- 'type' => 'checkbox_multi',
- 'options' => array(
- 'ad' => __( 'Hide the ads', 'so-clean-up-wp-seo' ),
- 'helpcenter' => __( 'Hide the entire help center', 'so-clean-up-wp-seo' ),
- ),
- 'default' => $options['hide_helpcenter'],
+ 'default' => $options['hide_content_keyword_score'],
),
array(
- 'id' => 'hide_seo_scores_dropdown_filters',
- 'label' => __( 'SEO Scores Dropdown Filters', 'so-clean-up-wp-seo' ),
- 'description' => __( 'Remove SEO Scores Dropdown Filters on the Edit Posts/Pages screen', 'so-clean-up-wp-seo' ),
+ 'id' => 'hide_premium_features_yoast_metabox',
+ 'label' => __( 'Hide Premium features on new/edit post-type screens', 'so-clean-up-wp-seo' ),
+ 'description' => __( 'Hide Premium features in the Yoast SEO metabox when publishing or editing content.', 'so-clean-up-wp-seo' ),
'type' => 'checkbox',
- 'default' => $options['hide_seo_scores_dropdown_filters'],
+ 'default' => $options['hide_premium_features_yoast_metabox'],
),
array(
- 'id' => 'hide_admincolumns',
- 'label' => __( 'Admin columns', 'so-clean-up-wp-seo' ),
- 'description' => '
' . __( 'The Yoast SEO plugin adds a whole bunch of admin columns on the Posts/Pages screen and the SEO Score and Readability admin columns to taxonomies (since Yoast SEO 3.1). Multiple selections are allowed.', 'so-clean-up-wp-seo' ),
- 'type' => 'checkbox_multi',
- 'options' => array(
- 'seoscore' => __( 'Remove SEO score column', 'so-clean-up-wp-seo' ),
- 'readability' => __( 'Remove Readability score column', 'so-clean-up-wp-seo' ),
- 'title' => __( 'Remove title column', 'so-clean-up-wp-seo' ),
- 'metadescr' => __( 'Remove meta description column', 'so-clean-up-wp-seo' ),
- 'focuskw' => __( 'Remove focus keyword column', 'so-clean-up-wp-seo' ),
- 'outgoing_internal_links' => __( 'Remove outgoing internal links column', 'so-clean-up-wp-seo' ),
- ),
- 'default' => $options['hide_admincolumns'],
- ),
- array(
- 'id' => 'hide_seo_settings_profile_page',
- 'label' => __( 'Profile page', 'so-clean-up-wp-seo' ),
- 'description' => __( 'Hide SEO Settings on individual profile page.', 'so-clean-up-wp-seo' ),
- 'type' => 'checkbox',
- 'default' => $options['hide_seo_settings_profile_page'],
- ),
- array(
- 'id' => 'remove_primarycatfeat',
- 'label' => __( 'Primary category', 'so-clean-up-wp-seo' ),
- 'description' => __( 'Remove primary category feature.', 'so-clean-up-wp-seo' ),
+ 'id' => 'hide_ad_after_trashing_content',
+ 'label' => __( 'Hide Ad after trashing content', 'so-clean-up-wp-seo' ),
+ 'description' => __( 'When deleting content (Post, Page, Product and other Custom Post Type) a new notice appears on the edit screen that is an upsell ad for the premium version of Yoast SEO. This setting hides that notice.', 'so-clean-up-wp-seo' ),
'type' => 'checkbox',
- 'default' => $options['remove_primarycatfeat'],
+ 'default' => $options['hide_ad_after_trashing_content'],
),
+ )
+ );
+
+ $settings['section_3'] = array(
+ 'title' => __( 'Miscellaneous', 'so-clean-up-wp-seo' ),
+ 'fields' => array(
array(
'id' => 'remove_adminbar',
'label' => __( 'SEO menu admin bar', 'so-clean-up-wp-seo' ),
- 'description' => __( 'Remove the admin bar Yoast SEO menu.', 'so-clean-up-wp-seo' ),
+ 'description' => __( 'Remove Yoast SEO icon and drop-down menu with more premium buttons from the admin bar.', 'so-clean-up-wp-seo' ),
'type' => 'checkbox',
'default' => $options['remove_adminbar'],
),
@@ -335,20 +285,6 @@ private function settings_fields() {
'type' => 'checkbox',
'default' => $options['remove_dbwidget'],
),
- array(
- 'id' => 'hide_content_keyword_score',
- 'label' => __( 'Keyword/Content Score', 'so-clean-up-wp-seo' ),
- 'description' => __( 'Hide the Keyword/Content Score from the Publish/Update Metabox on the Edit Post/Page/CPT screen.', 'so-clean-up-wp-seo' ),
- 'type' => 'checkbox',
- 'default' => $options['hide_content_keyword_score'],
- ),
- array(
- 'id' => 'remove_html_comments',
- 'label' => __( 'Remove HTML Comments', 'so-clean-up-wp-seo' ),
- 'description' => __( 'Remove the HTML Comments from the source code (frontend) of the site', 'so-clean-up-wp-seo' ),
- 'type' => 'checkbox',
- 'default' => $options['remove_html_comments'],
- ),
array(
'id' => 'remove_permalinks_warning',
'label' => __( 'Remove Permalinks Warning Notice', 'so-clean-up-wp-seo' ),
@@ -357,11 +293,18 @@ private function settings_fields() {
'default' => $options['remove_permalinks_warning'],
),
array(
- 'id' => 'hide_ad_after_trashing_content',
- 'label' => __( 'Hide Ad after trashing content', 'so-clean-up-wp-seo' ),
- 'description' => __( 'When deleting content (Post, Page, Product and other Custom Post Type) a new notice appears on the edit screen that is an upsell ad for the premium version of Yoast SEO. This setting hides that notice', 'so-clean-up-wp-seo' ),
+ 'id' => 'hide_seo_settings_profile_page',
+ 'label' => __( 'Profile page', 'so-clean-up-wp-seo' ),
+ 'description' => __( 'Hide SEO Settings on individual profile page.', 'so-clean-up-wp-seo' ),
'type' => 'checkbox',
- 'default' => $options['hide_ad_after_trashing_content'],
+ 'default' => $options['hide_seo_settings_profile_page'],
+ ),
+ array(
+ 'id' => 'remove_html_comments',
+ 'label' => __( 'Remove HTML Comments', 'so-clean-up-wp-seo' ),
+ 'description' => __( 'Remove the HTML Comments from the source code (frontend) of the site', 'so-clean-up-wp-seo' ),
+ 'type' => 'checkbox',
+ 'default' => $options['remove_html_comments'],
),
),
);
@@ -372,71 +315,31 @@ private function settings_fields() {
}
/**
- * Register plugin settings
- *
- * @return void
- * @since v2.0.0
- */
+ * Register plugin settings
+ *
+ * @return void
+ * @since v2.0.0
+ */
public function register_settings() {
- if ( is_array( $this->settings ) ) {
-
- // Check posted/selected tab
- $current_section = '';
- if ( isset( $_POST['tab'] ) && $_POST['tab'] ) {
- $current_section = $_POST['tab'];
- } else {
- if ( isset( $_GET['tab'] ) && $_GET['tab'] ) {
- $current_section = $_GET['tab'];
- }
- }
-
- foreach ( $this->settings as $section => $data ) {
-
- if ( $current_section && $current_section != $section ) {
- continue;
- }
-
+ $settings = $this->settings_fields();
+
+ if ( is_array( $settings ) ) {
+ foreach ( $settings as $section => $data ) {
register_setting( $this->parent->_token . '_settings', 'settings' );
-
- // Add section to page
- add_settings_section( $section,
- $data['title'],
- array(
- $this,
- 'settings_section',
- ),
- $this->parent->_token . '_settings'
- );
-
+ add_settings_section( $section, $data['title'], array( $this, 'settings_section' ), $this->parent->_token . '_settings' );
+
foreach ( $data['fields'] as $field ) {
-
- // Add field to page
- add_settings_field(
- $field['id'],
- $field['label'],
- array(
- $this->parent->admin,
- 'display_field',
- ),
- $this->parent->_token . '_settings',
- $section,
- array(
- 'field' => $field,
- 'prefix' => $this->base,
- )
- );
- }
-
- if ( ! $current_section ) {
- break;
+ add_settings_field( $field['id'], $field['label'], array( $this->parent->admin, 'display_field' ), $this->parent->_token . '_settings', $section, array( 'field' => $field, 'prefix' => $this->base ) );
}
}
}
+
if ( isset( $_POST['action'] ) && 'update' === $_POST['action'] ) {
$this->update_settings();
}
}
+
/**
* @access public
*
@@ -461,9 +364,11 @@ public function settings_page() {
$html .= '' . esc_attr( __( 'On this settings page you can adjust things here and there to your liking.', 'so-clean-up-wp-seo' ) ) . '
' . esc_attr( __( 'Although some settings are for "features" that can easily be dismissed on a per user basis, hiding or removing them here, has two advantages:', 'so-clean-up-wp-seo' ) ) . '
- ' . esc_attr( __( 'the settings here are global, for all users', 'so-clean-up-wp-seo' ) ) . '
- ' . esc_attr( __( 'these settings are centralised on one page, no need to keep dismissing stuff all over the site\'s backend', 'so-clean-up-wp-seo' ) ) . '
' . "\n";
- $html .= '' . esc_attr( __( 'The default settings, when you activate the plugin, are that almost all boxes have been ticked; why else would you install our plugin?', 'so-clean-up-wp-seo' ) ) . '
' . "\n";
+ $html .= '' . esc_attr( __( 'The default settings, when you activate the plugin, are that almost all boxes have been ticked; why else would you install this plugin?', 'so-clean-up-wp-seo' ) ) . '
' . "\n";
$html .= '' . esc_attr( __( 'If you ever want to remove the Hide SEO Bloat plugin, then you can rest assured that it cleans up after itself:', 'so-clean-up-wp-seo' ) ) . '
' . esc_attr( __( 'upon deletion it removes all options automatically.', 'so-clean-up-wp-seo' ) ) . '
' . "\n";
+
+ $html .= '' . esc_attr( __( 'Without further ado: Hide the bloat', 'so-clean-up-wp-seo' ) ) . '
' . "\n";
//$action = is_network_admin() ? 'edit.php?action=' . $this->parent->_token . '_settings' : 'options.php';
if ( is_network_admin() ) {
@@ -504,10 +409,10 @@ public function settings_page() {
$html .= '' . "\n";
$html .= '
' . "\n";
- $html .= '
' . "\n";
+ $html .= '
' . "\n";
$sowpurl = 'https://so-wp.com';
- $html .= '
' . sprintf( wp_kses( __( 'Hi, my name is Pieter Bos, I hope you like this plugin! Please check out any of my other plugins on SO WP. You can find out more information about me via the following links:', 'so-clean-up-wp-seo' ), array( 'a' => array( 'href' => array() ) ) ), esc_url( $sowpurl ) ) . '
' . "\n";
+ $html .= '
' . sprintf( wp_kses( __( 'Hi, my name is Pieter Bos, I hope you like this plugin! Please check out any of my other plugins on SO WP. You can find out more information about me via the following links:', 'so-clean-up-wp-seo' ), array( 'a' => array( 'href' => array(), 'target' => array(), 'title' => array() ) ) ), esc_url( $sowpurl ) ) . '
' . "\n";
$html .= '
' . "\n"; // end .top
@@ -515,14 +420,24 @@ public function settings_page() {
$html .= '
' . esc_attr( __( 'BHI Localization for Websites', 'so-clean-up-wp-seo' ) ) . '' . "\n";
$html .= '
' . esc_attr( __( 'LinkedIn', 'so-clean-up-wp-seo' ) ) . '' . "\n";
$html .= '
' . esc_attr( __( 'SO WP', 'so-clean-up-wp-seo' ) ) . '' . "\n";
- $html .= '
' . esc_attr( __( 'Github', 'so-clean-up-wp-seo' ) ) . '' . "\n";
- $html .= '
' . esc_attr( __( 'WordPress.org Profile', 'so-clean-up-wp-seo' ) ) . '' . "\n";
+ $html .= '
' . esc_attr( __( 'Github', 'so-clean-up-wp-seo' ) ) . '' . "\n";
+ $html .= '
' . esc_attr( __( 'WordPress.org Profile', 'so-clean-up-wp-seo' ) ) . '' . "\n";
$html .= '' . "\n";
$html .= '
' . "\n"; // end .inside
$html .= '' . "\n"; // end .postbox
+ $html .= '' . esc_attr( __( 'Mission statement:', 'so-clean-up-wp-seo' ) ) . '
' . "\n";
+ $html .= '' . esc_attr( __( 'The first version of the Hide SEO Bloat plugin was released in April 2015 and ever since team Yoast and I have been playing a game of cat and mouse.', 'so-clean-up-wp-seo' ) ) . '
' . "\n";
+ $html .= '' . esc_attr( __( 'Since version 20.0 of Yoast SEO however, the Settings page has received a complete overhaul, which made the Hide SEO Bloat plugin almost obsolete!', 'so-clean-up-wp-seo' ) ) . '
' . "\n";
+ $html .= '' . esc_attr( __( 'Things have become much, much more trickier to remove/hide now and some things simply can no longer be hidden (believe me, I have tried).', 'so-clean-up-wp-seo' ) ) . '
' . "\n";
+ $html .= '' . esc_attr( __( 'Why are there still people using Yoast SEO one might ask? There are so many great alternatives that come without screaming ads and hiding features behind a paywall!', 'so-clean-up-wp-seo' ) ) . '
' . "\n";
+ $ceaurl = 'https://wordpress.org/plugins/classic-editor-addon/';
+ $html .= '' . sprintf( wp_kses( __( 'And the only reason that I have to keep Yoast SEO installed (on a sandbox that is) is because of the mere 10K installs where Hide SEO Bloat is running. Compare that with my popular Classic Editor + plugin, which has more than 30,000 active installs!', 'so-clean-up-wp-seo' ), array( 'a' => array( 'href' => array(), 'target' => array(), 'title' => array() ) ) ), esc_url( $ceaurl ) ) . '
' . "\n";
+ $html .= '' . esc_attr( __( 'For everyone to become much more productive and happier, my proposal therefore is to hang the Yoast SEO plugin from a tree and switch to SEOPress, The SEO Framework, Rankmath, or any other SEO plugin out there! Did you know that most SEO plugins come with easy one-click migration tools?', 'so-clean-up-wp-seo' ) ) . '
' . "\n";
+ $html .= '' . esc_attr( __( 'The goal is to bring the active installs of Hide SEO Bloat to zero, so I can finally quit this nonsense and focus on work that actually pays my bills!', 'so-clean-up-wp-seo' ) ) . '
' . "\n";
+
$html .= '' . "\n";
echo $html;
diff --git a/includes/class-so-clean-up-wp-seo.php b/includes/class-so-clean-up-wp-seo.php
index 930482e..058d22e 100644
--- a/includes/class-so-clean-up-wp-seo.php
+++ b/includes/class-so-clean-up-wp-seo.php
@@ -99,7 +99,7 @@ class CUWS {
* @param string $file
* @param string $version Version number.
*/
- public function __construct( $file = '', $version = '3.14.13' ) {
+ public function __construct( $file = '', $version = '4.0.0' ) {
$this->_version = $version;
$this->_token = 'cuws';
@@ -334,7 +334,7 @@ public function so_cuws_remove_admin_columns( $columns ) {
* credits [Dibbyo456](https://github.com/Dibbyo456)
*/
public function so_cuws_remove_seo_scores_dropdown_filters() {
- if ( ! empty( $this->options['hide_seo_scores_dropdown_filters'] ) ) {
+ if ( ! empty( $this->options['remove_seo_scores_dropdown_filters'] ) ) {
global $wpseo_meta_columns ;
if ( $wpseo_meta_columns ) {
remove_action( 'restrict_manage_posts', array( $wpseo_meta_columns , 'posts_filter_dropdown' ) );
@@ -355,47 +355,6 @@ public function so_cuws_hide_visibility_css() {
echo '';
}
@@ -539,7 +562,7 @@ function i18n() {
*
* @return CUWS $_instance
*/
- public static function instance( $file = '', $version = '3.14.13' ) {
+ public static function instance( $file = '', $version = '4.0.0' ) {
if ( null === self::$_instance ) {
self::$_instance = new self( $file, $version );
}
@@ -596,25 +619,12 @@ private function _log_version_number() {
*/
public function get_defaults() {
$defaults = array(
- 'hide_ads' => 'on',
- 'hide_tagline_nag' => 'on',
- 'hide_robots_nag' => 'on',
- 'hide_upsell_notice' => 'on',
- 'hide_upsell_admin_block' => 'on',
- 'hide_premium_submenu' => 'on',
- 'hide_crawl_settings' => 'on',
- 'hide_post_deletion_premium_ad' => 'on',
'hide_dashboard_problems_notifications' => array(
'problems',
'notifications'
),
- 'hide_config_wizard' => 'on',
- 'hide_imgwarning_nag' => 'on',
- 'hide_issue_counter' => 'on',
- 'hide_helpcenter' => array(
- 'ad'
- ),
- 'hide_seo_scores_dropdown_filters' => 'on',
+ 'hide_ads' => 'on',
+ 'hide_premium_submenu' => 'on',
'hide_admincolumns' => array(
'seoscore',
'readability',
@@ -622,14 +632,16 @@ public function get_defaults() {
'metadescr',
'outgoing_internal_links'
),
- 'hide_seo_settings_profile_page' => 'on',
- 'remove_primarycatfeat' => 'on',
- 'remove_dbwidget' => 'on',
- 'remove_adminbar' => 'on',
+ 'remove_seo_scores_dropdown_filters' => 'on',
+ 'hide_imgwarning_nag' => 'on',
'hide_content_keyword_score' => 'on',
- 'remove_html_comments' => 'on',
+ 'hide_premium_features_yoast_metabox' => 'on',
+ 'hide_ad_after_trashing_content' => 'on',
+ 'remove_adminbar' => 'on',
+ 'remove_dbwidget' => 'on',
'remove_permalinks_warning' => 'on',
- 'hide_ad_after_trashing_content' => 'on'
+ 'hide_seo_settings_profile_page' => 'on',
+ 'remove_html_comments' => 'on'
);
return $defaults;
diff --git a/languages/so-clean-up-wp-seo-nl_NL.mo b/languages/so-clean-up-wp-seo-nl_NL.mo
deleted file mode 100644
index d4608aa..0000000
Binary files a/languages/so-clean-up-wp-seo-nl_NL.mo and /dev/null differ
diff --git a/languages/so-clean-up-wp-seo-nl_NL.po b/languages/so-clean-up-wp-seo-nl_NL.po
deleted file mode 100644
index da2e369..0000000
--- a/languages/so-clean-up-wp-seo-nl_NL.po
+++ /dev/null
@@ -1,390 +0,0 @@
-msgid ""
-msgstr ""
-"Project-Id-Version: SO Hide SEO Bloat\n"
-"POT-Creation-Date: 2016-03-02 17:57+0800\n"
-"PO-Revision-Date: 2016-03-02 18:02+0800\n"
-"Last-Translator: Piet Bos \n"
-"Language-Team: SO WP\n"
-"Language: nl\n"
-"MIME-Version: 1.0\n"
-"Content-Type: text/plain; charset=UTF-8\n"
-"Content-Transfer-Encoding: 8bit\n"
-"Plural-Forms: nplurals=2; plural=(n != 1);\n"
-"X-Generator: Poedit 1.8.7\n"
-"X-Poedit-Basepath: ..\n"
-"X-Poedit-WPHeader: so-clean-up-wp-seo.php\n"
-"X-Poedit-SourceCharset: UTF-8\n"
-"X-Poedit-KeywordsList: __;_e;_n:1,2;_x:1,2c;_ex:1,2c;_nx:4c,1,2;esc_attr__;"
-"esc_attr_e;esc_attr_x:1,2c;esc_html__;esc_html_e;esc_html_x:1,2c;_n_noop:1,2;"
-"_nx_noop:3c,1,2;__ngettext_noop:1,2\n"
-"X-Poedit-SearchPath-0: .\n"
-"X-Poedit-SearchPathExcluded-0: *.js\n"
-
-#: includes/class-so-clean-up-wp-seo-settings.php:75
-#: includes/class-so-clean-up-wp-seo-settings.php:247
-msgid "SO Hide SEO Bloat Settings"
-msgstr "SO Hide SEO Bloat Instellingen"
-
-#: includes/class-so-clean-up-wp-seo-settings.php:76
-msgid "Hide Bloat"
-msgstr "Verberg Bloat (onnodige ballast)"
-
-#: includes/class-so-clean-up-wp-seo-settings.php:90
-msgid "Settings"
-msgstr "Instellingen"
-
-#: includes/class-so-clean-up-wp-seo-settings.php:104
-msgid "Without further ado: Hide the bloat"
-msgstr "Zonder omhaal: verberg de bloot (onnodige ballast)"
-
-#: includes/class-so-clean-up-wp-seo-settings.php:109
-msgid "Sidebar Ads"
-msgstr "sidebar advertenties"
-
-#: includes/class-so-clean-up-wp-seo-settings.php:110
-msgid ""
-"Hide the cartoon-style sidebar ads on almost all settings pages of the Yoast "
-"SEO plugin."
-msgstr ""
-"Verberg de cartooneske sidebar advertenties op bijna alle instellingen "
-"pagina's van de Yoast SEO plugin."
-
-#: includes/class-so-clean-up-wp-seo-settings.php:116
-msgid "About nag"
-msgstr "About nag"
-
-#: includes/class-so-clean-up-wp-seo-settings.php:117
-msgid "Hide about nag that shows on every update of the plugin."
-msgstr "Verberg de about nag die bij elke update van de plugin wordt getoond."
-
-#: includes/class-so-clean-up-wp-seo-settings.php:123
-msgid "Robots nag"
-msgstr "Robots nag"
-
-#: includes/class-so-clean-up-wp-seo-settings.php:124
-msgid ""
-"Hide robots nag that shows a warning in the advanced tab of Yoast SEO UI in "
-"edit Post/Page screen."
-msgstr ""
-"Verberg de robots nag die een waarschuwing toont in het geavanceerde deel "
-"van de Yoast SEO-metabox."
-
-#: includes/class-so-clean-up-wp-seo-settings.php:130
-msgid "Featured image nag"
-msgstr "Uitgelichte afbeelding nag"
-
-#: includes/class-so-clean-up-wp-seo-settings.php:131
-msgid ""
-"Hide image warning nag that shows in edit Post/Page screen when featured "
-"image is smaller than 200x200 pixels."
-msgstr ""
-"Verberg de afbeelding waarschuwing die getoond wordt op het bewerk Bericht/"
-"Pagina scherm wanneer de uitgelichte afbeelding kleiner is dan 200x200 "
-"pixels."
-
-#: includes/class-so-clean-up-wp-seo-settings.php:137
-msgid "Add keyword button"
-msgstr "Voeg zoekwoord knop toe"
-
-#: includes/class-so-clean-up-wp-seo-settings.php:138
-msgid ""
-"Hide add keyword button that shows in edit Post/Page and only serves to show "
-"an ad for the premium version."
-msgstr ""
-"Verberg de knop met het plusje (voeg hoofdzoekwoord) die getoond op het "
-"bewerk Bericht/Pagina scherm en alleen maar een advertentie voor de premium "
-"versie laat zien."
-
-#: includes/class-so-clean-up-wp-seo-settings.php:144
-msgid "Trafficlight"
-msgstr "Stoplicht"
-
-#: includes/class-so-clean-up-wp-seo-settings.php:145
-msgid "Hide seoscore traffic light in publish/update box on edit Post/Page."
-msgstr ""
-"Verberg het neoscore stoplicht in de publiceer/bijwerk box op bewerk Bericht/"
-"Pagina."
-
-#: includes/class-so-clean-up-wp-seo-settings.php:151
-msgid "Content analysis"
-msgstr "Tekstanalyse"
-
-#: includes/class-so-clean-up-wp-seo-settings.php:152
-msgid ""
-"Hide content analysis that adds colored balls to the edit Post/Page screens"
-msgstr ""
-"Verberg de tekstanalyse die gekleurde ballen toevoegt aan de bewerk Bericht/"
-"Pagina schermen."
-
-#: includes/class-so-clean-up-wp-seo-settings.php:158
-msgid "Admin columns"
-msgstr "Admin kolommen"
-
-#: includes/class-so-clean-up-wp-seo-settings.php:159
-msgid ""
-"The Yoast SEO plugin adds 4 admin columns on the Posts/Pages screen and the "
-"SEO Score admin column to taxonomies (since Yoast SEO 3.1), choose here "
-"which ones to hide (possible to select multiple, ticking minimum one box is "
-"required)."
-msgstr ""
-"De Yoast SEO plugin voegt 4 admin kolommen toe aan het bewerk Bericht/Pagina "
-"scherm en de SEO Score admin kolom aan taxonomieën (sinds Yoast SEO 3.1), "
-"kies hier welke u wilt verbergen (meerdere selecteren is mogelijk, 1 box "
-"aanvingen is verplicht)."
-
-#: includes/class-so-clean-up-wp-seo-settings.php:161
-msgid "Hide all columns"
-msgstr "Verberg alle kolommen"
-
-#: includes/class-so-clean-up-wp-seo-settings.php:161
-msgid "Hide SEO score column"
-msgstr "Verberg de SEO-score kolom"
-
-#: includes/class-so-clean-up-wp-seo-settings.php:161
-msgid "Hide title column"
-msgstr "Verberg de titel kolom"
-
-#: includes/class-so-clean-up-wp-seo-settings.php:161
-msgid "Hide meta description column"
-msgstr "Verberg de meta omschrijving kolom"
-
-#: includes/class-so-clean-up-wp-seo-settings.php:161
-msgid "Hide focus keyword column"
-msgstr "Verberg de hoofdzoekwoord kolom"
-
-#: includes/class-so-clean-up-wp-seo-settings.php:161
-msgid "Show all columns"
-msgstr "Toon alle kolommen"
-
-#: includes/class-so-clean-up-wp-seo-settings.php:166
-msgid "SEO menu admin bar"
-msgstr "SEO menu admin bar"
-
-#: includes/class-so-clean-up-wp-seo-settings.php:167
-msgid ""
-"The adminbar contains an SEO menu with 2 options; select here what to remove."
-msgstr ""
-"De adminbar bevat een SEO menu met 2 opties; kies hier wat te verwijderen."
-
-#: includes/class-so-clean-up-wp-seo-settings.php:169
-msgid "SEO Settings"
-msgstr "SEO-Instellingen"
-
-#: includes/class-so-clean-up-wp-seo-settings.php:169
-msgid "Keyword Research"
-msgstr "Zoekwoordenonderzoek"
-
-#: includes/class-so-clean-up-wp-seo-settings.php:169
-msgid "Both"
-msgstr "Beiden"
-
-#: includes/class-so-clean-up-wp-seo-settings.php:169
-msgid "None"
-msgstr "Geen"
-
-#: includes/class-so-clean-up-wp-seo-settings.php:174
-msgid "Dashboard widget"
-msgstr "Dashboard widget"
-
-#: includes/class-so-clean-up-wp-seo-settings.php:175
-msgid "Remove the Yoast SEO widget from the WordPress Dashboard."
-msgstr "Verwijder de Yoast SEO widget van het Wordpress Dashboard."
-
-#: includes/class-so-clean-up-wp-seo-settings.php:249
-msgid ""
-"With version 2.0.0 we have added this settings page, so you can adjust "
-"things here and there to your liking."
-msgstr ""
-"Met de 2.0.0 versie hebben we de instellingen pagina toegevoegd, zodat je "
-"hier en daar dingen kan aanpassen."
-
-#: includes/class-so-clean-up-wp-seo-settings.php:251
-msgid ""
-"The default setting, when you activate the plugin, is that almost all boxes "
-"have been ticked; why else would you install our plugin?"
-msgstr ""
-"De standaard instelling, wanneer je de plugin activeert, is dat bijna alle "
-"vakjes zijn aangevinkt; waarom installeer je deze plugin anders?"
-
-#: includes/class-so-clean-up-wp-seo-settings.php:253
-msgid ""
-"The intro tour pop up balloon is set to \"seen\" by default and there is no "
-"setting to show it as you can find it in the Yoast SEO Settings."
-msgstr ""
-"Het pop-up ballonnetje voor de introductie toer wordt standaard op “gezien” "
-"gezet en er is geen aparte instelling voor om het te tonen, omdat je die al "
-"kan vinden in de Yoast SEO Instellingen."
-
-#: includes/class-so-clean-up-wp-seo-settings.php:255
-msgid ""
-"If you ever want to remove the SO Hide SEO Bloat plugin, then you can rest "
-"assured that it cleans up after itself:"
-msgstr ""
-"Wanneer je ooit de SO Hide SEO Bloat plugin wilt verwijderen, wees er dan "
-"gerust op dat de plugin zichzelf schoonmaakt."
-
-#: includes/class-so-clean-up-wp-seo-settings.php:255
-msgid "upon deletion it removes all options automatically."
-msgstr ""
-"na verwijdering (van de plugin), verwijdert het automatisch alle opties."
-
-#: includes/class-so-clean-up-wp-seo-settings.php:267
-msgid "Save Settings"
-msgstr "Instellingen Opslaan"
-
-#: includes/class-so-clean-up-wp-seo-settings.php:274
-#, php-format
-msgid ""
-"If you have found this plugin at all useful, please give it a favourable "
-"rating in the WordPress Plugin "
-"Repository."
-msgstr ""
-"Wanneer je deze plugin handig vindt, geef het dan een gunstige waardering in "
-"de Wordpress "
-"Plugin Repository."
-
-#: includes/class-so-clean-up-wp-seo-settings.php:277
-#, php-format
-msgid ""
-"You can also help a great deal by translating the plugin into your own "
-"language."
-msgstr ""
-"Je kan ook enorm helpen door de plugin te vertalen in je eigen taal."
-
-#: includes/class-so-clean-up-wp-seo-settings.php:280
-#, php-format
-msgid ""
-"If you have an issue with this plugin or want to leave a feature request, "
-"please note that we give support via Github only."
-msgstr ""
-"Wanneer je een probleem hebt met deze plugin of een feature request wilt "
-"doen, houd er dan rekening mee dat we de plugin alleen ondersteunen via "
-"Github."
-
-#: includes/class-so-clean-up-wp-seo-settings.php:284
-msgid "About the Author"
-msgstr "Over de auteur"
-
-#: includes/class-so-clean-up-wp-seo-settings.php:292
-#, php-format
-msgid ""
-"Hi, my name is Piet Bos, I hope you like this plugin! Please check out any "
-"of my other plugins on SO WP Plugins"
-"a>. You can find out more information about me via the following links:"
-msgstr ""
-"Hoi, mijn naam is Piet Bos, hopelijk vind je dit een handige plugin! Kijk "
-"ook eens naar mijn andere plugins via SO "
-"WP Plugins. Je kan meer informatie over mij vinden via de onderstaande "
-"links:"
-
-#: includes/class-so-clean-up-wp-seo-settings.php:297
-msgid "Senlin Online"
-msgstr "Senlin Online"
-
-#: includes/class-so-clean-up-wp-seo-settings.php:298
-msgid "WP Tips"
-msgstr "WP Tips"
-
-#: includes/class-so-clean-up-wp-seo-settings.php:299
-msgid "LinkedIn"
-msgstr "LinkedIn"
-
-#: includes/class-so-clean-up-wp-seo-settings.php:300
-msgid "Github"
-msgstr "Github"
-
-#: includes/class-so-clean-up-wp-seo-settings.php:301
-msgid "WordPress.org Profile"
-msgstr "WordPress.org Profiel"
-
-#: includes/class-so-clean-up-wp-seo-settings.php:336
-#: includes/class-so-clean-up-wp-seo-settings.php:345
-msgid "Access denied"
-msgstr "Toegang geweigerd"
-
-#: includes/class-so-clean-up-wp-seo.php:316
-#: includes/class-so-clean-up-wp-seo.php:325
-msgid "No Access"
-msgstr "Geen Toegang"
-
-#. Plugin Name of the plugin/theme
-msgid "SO Hide SEO Bloat"
-msgstr "SO Hide SEO Bloat"
-
-#. Plugin URI of the plugin/theme
-msgid "http://so-wp.com/plugin/so-clean-up-wp-seo/"
-msgstr "http://so-wp.com/plugin/so-clean-up-wp-seo/"
-
-#. Description of the plugin/theme
-msgid ""
-"Hide most of the bloat that the Yoast SEO plugin adds to your WordPress "
-"Dashboard"
-msgstr ""
-"Verberg het grootste deel van de bloat (overbodige ballast) dat de Yoast SEO "
-"plugin toevoegt aan je Wordpress Dashboard"
-
-#. Author of the plugin/theme
-msgid "SO WP"
-msgstr "SO WP"
-
-#. Author URI of the plugin/theme
-msgid "http://so-wp.com/plugins/"
-msgstr "http://so-wp.com/plugins/"
-
-#~ msgid "Recalculate nag"
-#~ msgstr "Opnieuw berekenen SEO-scores nag"
-
-#~ msgid ""
-#~ "Hide recalculate nag that alerts user that SEO score algorithm has been "
-#~ "updated."
-#~ msgstr ""
-#~ "Verberg de nag die aangeeft dat de SEO-scores opnieuw berekent kunnen "
-#~ "worden."
-
-#~ msgid "Tagline nag"
-#~ msgstr "Ondertitel nag"
-
-#~ msgid ""
-#~ "Hide tagline nag that shows when your site uses the default WordPress "
-#~ "tagline."
-#~ msgstr ""
-#~ "Verberg de ondertitel nag die wordt getoond wanneer je site de standaard "
-#~ "Wordpress ondertitel gebruikt."
-
-#~ msgid ""
-#~ "Hide robots nag that shows when your site is blocking access to robots, "
-#~ "for example on dev and staging sites."
-#~ msgstr ""
-#~ "Verberg de robots nag die wordt getoond wanneer je site toegang voor "
-#~ "robots blokkeert, bijvoorbeeld voor sites die nog in de ontwikkelingsfase "
-#~ "zijn."
-
-#~ msgid ""
-#~ " It also hides the warning in the advanced tab of Yoast SEO UI in edit "
-#~ "Post/Page screen."
-#~ msgstr ""
-#~ " Het verbergt ook de waarschuwing in het geavanceerde deel van de Yoast "
-#~ "SEO-metabox."
-
-#~ msgid "GSC nag"
-#~ msgstr "GSC nag"
-
-#~ msgid ""
-#~ "Hide Google Search Console nag that warns about not missing any crawl "
-#~ "errors by connecting the Yoast SEO plugin to it."
-#~ msgstr ""
-#~ "Verberg de Google Search Console nag die waarschuwt over het niet missen "
-#~ "van crawl-fouten door de Yoast SEO plugin ermee verbinding te laten maken."
-
-#~ msgid ""
-#~ "The Yoast SEO plugin adds 4 admin columns on the Posts/Pages screen, "
-#~ "choose here which ones to hide (possible to select multiple, ticking "
-#~ "minimum one box is required)."
-#~ msgstr ""
-#~ "De Yoast SEO plugin voegt 4 admin kolommen toe aan het bewerk Bericht/"
-#~ "Pagina scherm, kies hier welke u wilt verbergen (meerdere selecteren is "
-#~ "mogelijk, 1 box aanvinken is verplicht)."
diff --git a/readme.txt b/readme.txt
index 4928d7f..4a519e3 100644
--- a/readme.txt
+++ b/readme.txt
@@ -1,11 +1,11 @@
=== Hide SEO Bloat ===
Contributors: senlin, afragen
Donate link: https://so-wp.com/donations
-Tags: hide, seo, bloat, remove, ads, cartoon, wordpress seo addon, admin columns, nags, dashboard widget, hide premium, classicpress
+Tags: hide, seo, bloat, remove, ads, cartoon, wordpress seo addon, admin columns, nags, dashboard widget, hide premium
Requires at least: 4.9
Requires PHP: 5.6
Tested up to: 6.1
-Stable tag: 3.14.13
+Stable tag: 4.0.0
License: GPL-3.0+
License URI: http://www.gnu.org/licenses/gpl-3.0.txt
@@ -13,54 +13,25 @@ Free addon for the Yoast SEO plugin to hide the bloat it adds to the WordPress b
== Description ==
-Almost anyone who uses the Yoast SEO plugin will agree that it is a good SEO plugin, but the developers are adding more and more unwanted things to the WordPress backend.
+Hides (sidebar) ads and premium version buttons of Yoast SEO from their settings pages and your website's dashboard (and frontend).
-**New in this version:**
+
-* fix issue where Hide SEO Bloat link to settings page was made invisible due to Yoast SEO switching around menu items in admin sidebar
-* hide Premium SEO Analysis button on Publish/Update Post metabox
+The first version of the Hide SEO Bloat plugin was released in April 2015 and ever since team Yoast and I have been playing a game of cat and mouse.
+
+Since version 20.0 of Yoast SEO however, the Settings page has received a complete overhaul, which made the Hide SEO Bloat plugin almost obsolete!
+
+Things have become much, much more trickier to remove/hide now and some things simply can no longer be hidden (believe me, I have tried).
+
+Why are there still people using Yoast SEO one might ask? There are so many great alternatives that come without screaming ads and hiding features behind a paywall!
+
+And the only reason that I have to keep Yoast SEO installed (on a sandbox that is) is because of the mere 10K installs where Hide SEO Bloat is running. Compare that with my popular [Classic Editor + plugin](https://wordpress.org/plugins/classic-editor-addon/), which has more than 30,000 active installs!
+
+For everyone to become much more productive and happier, my proposal therefore is to switch to any of the other SEO plugins, such as SEOPress, The SEO Framework, Rankmath, or any other one out there! Did you know that most SEO plugins come with easy one-click migration tools?
-The purpose of the Hide SEO Bloat plugin, a free addon for the Yoast SEO plugin, is to clean up all those unwanted things.
-
-The Settings page of the plugin shows checkboxes for everything. Ticking the box means hiding (or removing) that particular "feature".
-
-It is a good idea to have a look at the Settings page if only to see what you can fine-tune. The link to the page has been added to the Yoast SEO menu and of course there is also a link to it from the Plugins page.
-
-The **Default Settings** of the current release are as follows:
-
-* hides the cartoon-style sidebar ads on almost all settings pages of the Yoast SEO plugin
-* hides the tagline nag showing as a Problem in the Yoast SEO Dashboard
-* hides the robots nag showing as a Problem in the Yoast SEO Dashboard and in the advanced tab of Yoast SEO UI in edit Post/Page screen when your site is blocking access to robots
-* hides the Upsell Notice in the Notification box that shows in the Yoast SEO Dashboard
-* hides the Upsell Notice in social tab of Yoast Post/Page metabox
-* hides the Premium Upsell Admin Block that shows in the entire Yoast SEO backend
-* hides "Premium" and "Workouts" submenus
-* hides "Go Premium" metabox on edit Post/Page screens
-* hides Post/Page/Taxonomy Deletion Premium Ad
-* hides Problems box from Yoast SEO Dashboard
-* hides Notifications box from Yoast SEO Dashboard
-* hides image warning nag that shows in edit Post/Page screen when featured image is smaller than 200x200 pixels
-* hides check Configuration wizard box that shows on top of most admin screens
-* hides issue counter from adminbar and sidebar
-* hides new readability "features" of Post/Page metabox
-* hides ad for premium version in help center
-* hides the SEO Score, Readability, Title, Meta Description, Outgoing Internal Links admin columns on the Posts/Pages screens; Focus keyword column can be hidden too
-* hides the SEO Score and Readability admin columns on taxonomies
-* hides SEO Settings on individual profile page
-* removes primary category feature
-* removes the Yoast SEO admin bar menu
-* removes the Yoast SEO widget from the WordPress Dashboard
-* removes Courses menu from sidebar
-* hides SEO Scores Dropdown Filters on the Edit Posts/Pages screen
-* hides Keyword/Content Score from the Publish/Update Metabox on the Edit Post/Page/CPT screen
-* remove HTML comments that show in source code (frontend) upgraded for use with version 11 and above of Yoast SEO
-* remove Search Console submenu
-* hide help beacon
-
-
-We support this plugin exclusively through [Github](https://github.com/senlin/so-clean-up-wp-seo/issues). Therefore, if you have any questions, need help and/or want to make a feature request, please open an issue over at Github. You can also browse through open and closed issues to find what you are looking for and perhaps even help others.
+I support this plugin exclusively through [Github](https://github.com/senlin/so-clean-up-wp-seo/issues). Therefore, if you have any questions, need help and/or want to make a feature request, please open an issue over at Github. You can also browse through open and closed issues to find what you are looking for and perhaps even help others.
Thanks for your understanding and cooperation.
@@ -78,11 +49,7 @@ The link to the page has been added to the Yoast SEO menu and of course there is
= Can I use Hide SEO Bloat on Multisite? =
Yes, you can.
-For version 2.4.0 [Andy Fragen](https://github.com/afragen) has refactored that part of the plugin to make it fully Multisite compatible. The Settings screen only shows in Network Admin as we don't think it makes sense that individual sites override the Network Settings.
-
-= Does Hide SEO Bloat work with ClassicPress? =
-
-Yes, the Hide SEO Bloat can also be used on sites that are running ClassicPress. Of course it is also necessary to have the Yoast SEO plugin installed.
+For version 2.4.0 [Andy Fragen](https://github.com/afragen) has refactored that part of the plugin to make it fully Multisite compatible. The Settings screen only shows in Network Admin as it doesn't make sense that individual sites override the Network Settings.
= The name of the plugin is confusing, it hides bloat of which SEO plugin? =
@@ -102,17 +69,17 @@ Indeed the Hide SEO Bloat plugin writes its settings to the database. The includ
Please open an issue on [Github](https://github.com/senlin/so-clean-up-wp-seo/issues)
-== Screenshots ==
+== Changelog ==
-1. settings page with default settings
-2. typical nags that are hidden with the plugin activated
-3. bloat on edit Post/Page screen that is hidden with the plugin activated
-4. SEO menu in admin bar that is partly hidden with the plugin activated
-5. dashboard widget that is removed with the plugin activated
+= 4.0.0 =
-== Changelog ==
+* release date February 10, 2023
+* redo many styles that hide features, due to dashboard makeover release of Yoast SEO version 20.0
+* merge many settings (from 23 to 14)
+* new sections on the settings page with assistance of [ChatGPT](https://chat.openai.com/)
+* simplify register_settings() function with assistance of [ChatGPT](https://chat.openai.com/)
-= 3..14.13 =
+= 3.14.13 =
* release date January 31, 2023
* fix issue where Hide SEO Bloat link to settings page was made invisible due to Yoast SEO switching around menu items in admin sidebar
diff --git a/so-clean-up-wp-seo.php b/so-clean-up-wp-seo.php
index 6239590..8f2584c 100644
--- a/so-clean-up-wp-seo.php
+++ b/so-clean-up-wp-seo.php
@@ -3,7 +3,7 @@
* Plugin Name: Hide SEO Bloat
* Plugin URI: https://so-wp.com/plugin/hide-seo-bloat
* Description: Hide most of the bloat that the Yoast SEO plugin adds to your WordPress Dashboard
- * Version: 3.14.13
+ * Version: 4.0.0
* Author: SO WP
* Author URI: https://so-wp.com
* License: GPL-3.0+
@@ -34,7 +34,7 @@
* @return object CUWS
*/
function CUWS () {
- $instance = CUWS::instance( __FILE__, '3.14.13' );
+ $instance = CUWS::instance( __FILE__, '4.0.0' );
if ( null === $instance->settings ) {
$instance->settings = CUWS_Settings::instance( $instance );