Skip to content

Commit

Permalink
Merge pull request #96 from senlin/develop
Browse files Browse the repository at this point in the history
update master with latest commit
  • Loading branch information
senlin authored Feb 3, 2021
2 parents 8340c49 + 39bb461 commit b5b39a2
Show file tree
Hide file tree
Showing 4 changed files with 21 additions and 11 deletions.
13 changes: 9 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
# Hide SEO Bloat

[![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/so-clean-up-wp-seo/wp-badge.svg)](https://plugintests.com/plugins/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)
[![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 December 18, 2020
###### Development version 3.14.4
###### Last updated on February 3, 2021
###### Development version 3.14.5
###### requires at least WordPress 4.9
###### tested up to WordPress 5.6
###### Author: [Pieter Bos](https://github.com/senlin)
Expand All @@ -17,7 +17,7 @@ Almost anyone who uses the Yoast SEO plugin will agree that it is a good SEO plu

**New in this version:**

* hides ad for premium version on post type analysis dropdown
* fix React hide tabs conflict ([issue #94](https://github.com/senlin/so-clean-up-wp-seo/issues/94))

<hr>

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

## Changelog

### 3.14.5

* release date February 3, 2021
* fix React hide tabs conflict ([issue #94](https://github.com/senlin/so-clean-up-wp-seo/issues/94))

### 3.14.4

* release date December 18, 2020
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.14.3' ) {
public function __construct( $file = '', $version = '3.14.5' ) {
$this->_version = $version;
$this->_token = 'cuws';

Expand Down Expand Up @@ -444,7 +444,7 @@ public function so_cuws_hide_visibility_css() {
// help center
if ( ! empty( $this->options['hide_helpcenter'] ) ) {
if ( in_array( 'ad', $this->options['hide_helpcenter'] ) ) {
echo '.wpseo-tab-video__panel.wpseo-tab-video__panel--text,#tab-link-dashboard_dashboard__contact-support,#tab-link-dashboard_general__contact-support,#tab-link-dashboard_features__contact-support,#tab-link-dashboard_knowledge-graph__contact-support,#tab-link-dashboard_webmaster-tools__contact-support,#tab-link-dashboard_security__contact-support,#tab-link-metabox_metabox__contact-support,.yoast-video-tutorial__description:first-child,.react-tabs__tab:last-child,#yoast-helpscout-beacon{display:none;}'; // @since v2.2.0 hide help center ad for premium version or help center entirely; @modified v2.5.5 hide email support/ad as it is a premium only feature; @modified v2.6.0 different tabs gave different classes; @modified v3.3.0 due to Yoast 5.6 update this has all changed; @modified v3.6.0; @modified v3.13.3
echo '.wpseo-tab-video__panel.wpseo-tab-video__panel--text,#tab-link-dashboard_dashboard__contact-support,#tab-link-dashboard_general__contact-support,#tab-link-dashboard_features__contact-support,#tab-link-dashboard_knowledge-graph__contact-support,#tab-link-dashboard_webmaster-tools__contact-support,#tab-link-dashboard_security__contact-support,#tab-link-metabox_metabox__contact-support,.yoast-video-tutorial__description:first-child,#yoast-helpscout-beacon{display:none;}'; // @since v2.2.0 hide help center ad for premium version or help center entirely; @modified v2.5.5 hide email support/ad as it is a premium only feature; @modified v2.6.0 different tabs gave different classes; @modified v3.3.0 due to Yoast 5.6 update this has all changed; @modified v3.6.0; @modified v3.13.3
}
if ( in_array( 'helpcenter', $this->options['hide_helpcenter'] ) ) {
echo '.yoast-help-center__button{display:none !important;}'; // @since v2.2.0 hide help center ad for premium version or help center entirely; @modified v3.3.0 due to Yoast 5.6 update this has all changed
Expand Down Expand Up @@ -513,7 +513,7 @@ function i18n() {
*
* @return CUWS $_instance
*/
public static function instance( $file = '', $version = '3.14.3' ) {
public static function instance( $file = '', $version = '3.14.5' ) {
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 @@ -5,7 +5,7 @@ Tags: hide, seo, bloat, remove, ads, cartoon, wordpress seo addon, admin columns
Requires at least: 4.9
Requires PHP: 5.6
Tested up to: 5.6
Stable tag: 3.14.4
Stable tag: 3.14.5
License: GPL-3.0+
License URI: http://www.gnu.org/licenses/gpl-3.0.txt

Expand All @@ -17,7 +17,7 @@ Almost anyone who uses the Yoast SEO plugin will agree that it is a good SEO plu

**New in this version:**

* hides ad for premium version on post type analysis dropdown
* fix React hide tabs conflict ([issue #94](https://github.com/senlin/so-clean-up-wp-seo/issues/94))

<hr>

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

== Changelog ==

= 3.14.5 =

* release date February 3, 2021
* fix React hide tabs conflict ([issue #94](https://github.com/senlin/so-clean-up-wp-seo/issues/94))

= 3.14.4 =

* release date December 18, 2020
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.14.4
* Version: 3.14.5
* Author: SO WP
* Author URI: https://so-wp.com
* License: GPL-3.0+
Expand Down Expand Up @@ -34,7 +34,7 @@
* @return object CUWS
*/
function CUWS () {
$instance = CUWS::instance( __FILE__, '3.14.4' );
$instance = CUWS::instance( __FILE__, '3.14.5' );

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

0 comments on commit b5b39a2

Please sign in to comment.