Skip to content

Commit

Permalink
Merge branch 'develop'
Browse files Browse the repository at this point in the history
  • Loading branch information
Piet Bos committed Sep 25, 2017
2 parents 1723dbd + 2370229 commit 0c91260
Show file tree
Hide file tree
Showing 5 changed files with 22 additions and 12 deletions.
11 changes: 8 additions & 3 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 2017.8.25
###### Development version 3.2.0
###### Last updated on 2017.9.25
###### Development version 3.2.1
###### requires at least WordPress 4.7.2
###### tested up to WordPress 4.8.1
###### Author: [Piet Bos](https://github.com/senlin)
Expand Down Expand Up @@ -94,7 +94,7 @@ We welcome your contributions very much! PR's will be considered and of course b

## Donations

* Donate link: http://so-wp.com/plugins/donations
* Donate link: https://so-wp.com/plugins/donations

## Connect with us through

Expand All @@ -111,6 +111,11 @@ We welcome your contributions very much! PR's will be considered and of course b

## Changelog

### 3.2.1

* release date 2017.9.25
* modified issue counter of sidebar which was showing orange background again

### 3.2.0

* release date 2017.8.25
Expand Down
4 changes: 2 additions & 2 deletions includes/class-so-clean-up-wp-seo-settings.php
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,7 @@ private function settings_fields() {
),
array(
'id' => 'hide_upsell_metabox_socialtab',
'label' => __( '<span style="color:green;font-weight:700">NEW</span>: Upsell Notice social tab Yoast Post/Page metabox', 'so-clean-up-wp-seo' ),
'label' => __( 'Upsell Notice social tab Yoast Post/Page metabox', 'so-clean-up-wp-seo' ),
'description' => __( 'Hide the Upsell Notice in the social tab of the Yoast Post/Page metabox', 'so-clean-up-wp-seo' ),
'type' => 'checkbox',
'default' => $options['hide_upsell_metabox_socialtab'],
Expand Down Expand Up @@ -257,7 +257,7 @@ private function settings_fields() {
),
array(
'id' => 'hide_issue_counter',
'label' => __( 'Issue Counter', 'so-clean-up-wp-seo' ),
'label' => __( '<span style="color:green;font-weight:700">MODIFIED</span>: Issue Counter', 'so-clean-up-wp-seo' ),
'description' => __( 'Hide issue counter from adminbar and sidebar.', 'so-clean-up-wp-seo' ),
'type' => 'checkbox',
'default' => $options['hide_issue_counter'],
Expand Down
6 changes: 3 additions & 3 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.2.0' ) {
public function __construct( $file = '', $version = '3.2.1' ) {
$this->_version = $version;
$this->_token = 'cuws';

Expand Down Expand Up @@ -243,7 +243,7 @@ public function so_cuws_hide_visibility_css() {

// hide issue counter
if ( ! empty( $this->options['hide_issue_counter'] ) ) {
echo '#wpadminbar .yoast-issue-counter,#toplevel_page_wpseo_dashboard .update-plugins .plugin-count{display:none;}'; // @since v2.3.0 hide issue counter from adminbar and plugin menu sidebar
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
}

// hide red star "Go Premium" submenu
Expand Down Expand Up @@ -351,7 +351,7 @@ function i18n() {
*
* @return CUWS $_instance
*/
public static function instance( $file = '', $version = '3.2.0' ) {
public static function instance( $file = '', $version = '3.2.1' ) {
if ( null === self::$_instance ) {
self::$_instance = new self( $file, $version );
}
Expand Down
9 changes: 7 additions & 2 deletions readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,15 @@ Donate link: https://so-wp.com/plugins/donations
Tags: hide, seo, bloat, remove, ads, cartoon, wordpress seo addon, admin columns, nags, traffic light, dashboard widget, hide premium
Requires at least: 4.7.2
Tested up to: 4.8.1
Stable tag: 3.2.0
Stable tag: 3.2.1
License: GPL-3.0+
License URI: http://www.gnu.org/licenses/gpl-3.0.txt

Free addon for the Yoast SEO plugin to hide the bloat it adds to the WordPress backend.

== Description ==

**New in v3.2.0: hide Upsell Notice in social tab of Yoast Post/Page metabox**
**Modified in v3.2.1: remove orange background that shows again on issue counter of sidebar**

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.

Expand Down Expand Up @@ -97,6 +97,11 @@ Please open an issue on [Github](https://github.com/senlin/so-clean-up-wp-seo/is

== Changelog ==

= 3.2.1 =

* release date 2017.9.25
* modified issue counter of sidebar which was showing orange background again

= 3.2.0 =

* release date 2017.8.25
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: SO Hide SEO Bloat
* Plugin URI: https://so-wp.com/plugin/so-clean-up-wp-seo/
* Description: Hide most of the bloat that the Yoast SEO plugin adds to your WordPress Dashboard
* Version: 3.2.0
* Version: 3.2.1
* Author: SO WP
* Author URI: https://so-wp.com/plugins/
* License: GPL-3.0+
Expand Down Expand Up @@ -32,7 +32,7 @@
* @return object CUWS
*/
function CUWS () {
$instance = CUWS::instance( __FILE__, '3.2.0' );
$instance = CUWS::instance( __FILE__, '3.2.1' );

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

0 comments on commit 0c91260

Please sign in to comment.