Skip to content

Commit

Permalink
prep to release v3.8.0
Browse files Browse the repository at this point in the history
* release date September 20, 2018
* add option to hide the Premium ad that shows after a Post, Page or Taxonomy is deleted (see #44)
  • Loading branch information
senlin committed Sep 20, 2018
1 parent d93a795 commit 2c692e0
Show file tree
Hide file tree
Showing 4 changed files with 24 additions and 12 deletions.
10 changes: 8 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@

[![plugin version](https://img.shields.io/wordpress/plugin/v/so-clean-up-wp-seo.svg)](https://wordpress.org/plugins/so-clean-up-wp-seo)

###### Last updated on September 2, 2018
###### Development version 3.7.0
###### Last updated on September 20, 2018
###### Development version 3.8.0
###### requires at least WordPress 4.7.2
###### tested up to WordPress 4.9.8
###### Author: [Pieter Bos](https://github.com/senlin)
Expand Down Expand Up @@ -36,6 +36,7 @@ The default settings of the current release are as follows:
* hide the Premium Upsell Admin Block that shows in the entire Yoast SEO backend
* hides "Premium" submenu in its entirety
* hides "Go Premium" metabox on edit Post/Page screens
* **NEW:** 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
Expand Down Expand Up @@ -113,6 +114,11 @@ We welcome your contributions very much! PR's will be considered and of course b

## Changelog

### 3.8.0

* release date September 20, 2018
* add option to hide the Premium ad that shows after a Post, Page or Taxonomy is deleted (see issue #44)

### 3.7.0

* release date September 2, 2018
Expand Down
10 changes: 3 additions & 7 deletions includes/class-so-clean-up-wp-seo.php
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ class CUWS {
* @param string $file
* @param string $version Version number.
*/
public function __construct( $file = '', $version = '3.7.0' ) {
public function __construct( $file = '', $version = '3.8.0' ) {
$this->_version = $version;
$this->_token = 'cuws';

Expand Down Expand Up @@ -266,8 +266,6 @@ public function so_cuws_hide_visibility_css() {
echo '#yst_opengraph_image_warning{display:none;}#postimagediv.postbox{border:1px solid #e5e5e5!important;}'; // @since v1.7.0 hide yst opengraph image warning nag
}

// @since 3.7.0 add-keyword-button cannot be altered anymore from within our plugin remove setting

// hide issue counter
if ( ! empty( $this->options['hide_issue_counter'] ) ) {
echo '#wpadminbar .yoast-issue-counter,#toplevel_page_wpseo_dashboard .update-plugins .plugin-count,#adminmenu .update-plugins{display:none;}'; // @since v2.3.0 hide issue counter from adminbar and plugin menu sidebar; @modified v3.2.1 to remove orange background that shows again
Expand All @@ -278,8 +276,6 @@ public function so_cuws_hide_visibility_css() {
echo '.yoast-alerts .yoast-container__configuration-wizard{display:none;}'; // @since v3.6.0 hide Configuration Wizard
}

// content analysis incl. keyword/content score can be turned off in the Features tab of the General Settings of Yoast SEO and has therefore become redundant in this plugin.

/*
* admin columns
* @since v2.0.0 remove seo columns one by one
Expand Down Expand Up @@ -370,7 +366,7 @@ function i18n() {
*
* @return CUWS $_instance
*/
public static function instance( $file = '', $version = '3.7.0' ) {
public static function instance( $file = '', $version = '3.8.0' ) {
if ( null === self::$_instance ) {
self::$_instance = new self( $file, $version );
}
Expand Down Expand Up @@ -435,7 +431,7 @@ public function get_defaults() {
'hide_upsell_admin_block' => 'on',
'hide_premium_submenu' => 'on',
'hide_premium_metabox' => 'on',
'hide_post_deletion_premium_ad' => 'on';
'hide_post_deletion_premium_ad' => 'on',
'hide_dashboard_problems_notifications' => array(
'problems',
'notifications'
Expand Down
12 changes: 11 additions & 1 deletion readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ Tags: hide, seo, bloat, remove, ads, cartoon, wordpress seo addon, admin columns
Requires at least: 4.7.2
Requires PHP: 5.6
Tested up to: 4.9.8
Stable tag: 3.7.0
Stable tag: 3.8.0
License: GPL-3.0+
License URI: http://www.gnu.org/licenses/gpl-3.0.txt

Expand All @@ -31,6 +31,7 @@ The **Default Settings** of the current release are as follows:
* hide the Premium Upsell Admin Block that shows in the entire Yoast SEO backend
* hides "Premium" submenu in its entirety
* hides "Go Premium" metabox on edit Post/Page screens
* **NEW:** 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
Expand Down Expand Up @@ -96,6 +97,11 @@ Please open an issue on [Github](https://github.com/senlin/so-clean-up-wp-seo/is

== Changelog ==

= 3.8.0 =

* release date September 20, 2018
* add option to hide the Premium ad that shows after a Post, Page or Taxonomy is deleted (see [issue #44](https://github.com/senlin/so-clean-up-wp-seo/issues/44))

= 3.7.0 =

* release date September 2, 2018
Expand Down Expand Up @@ -385,6 +391,10 @@ Please open an issue on [Github](https://github.com/senlin/so-clean-up-wp-seo/is

== Upgrade Notice ==

= 3.8.0 =

* new option that hides Post/Page/Taxonomy Deletion Premium Ad has been added, check settings of Hide SEO Bloat if you like it hidden

= 3.7.0 =

* new option that hides "check configuration wizard"-box has been added, check settings of Hide SEO Bloat if you like it hidden
Expand Down
4 changes: 2 additions & 2 deletions so-clean-up-wp-seo.php
Original file line number Diff line number Diff line change
Expand Up @@ -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.7.0
* Version: 3.8.0
* Author: SO WP
* Author URI: https://so-wp.com
* License: GPL-3.0+
Expand Down Expand Up @@ -31,7 +31,7 @@
* @return object CUWS
*/
function CUWS () {
$instance = CUWS::instance( __FILE__, '3.7.0' );
$instance = CUWS::instance( __FILE__, '3.8.0' );

if ( null === $instance->settings ) {
$instance->settings = CUWS_Settings::instance( $instance );
Expand Down

0 comments on commit 2c692e0

Please sign in to comment.