Remove Yoast SEO Comments - Version 2.0.1

Version Description

  • Yoast SEO update caused a bug in this plugin, this update fixes it.
Download this release

Release Info

Developer lowest
Plugin Icon wp plugin Remove Yoast SEO Comments
Version 2.0.1
Comparing to
See all releases

Code changes from version 2.0 to 2.0.1

Files changed (2) hide show
  1. readme.txt +6 -3
  2. remove-yoast-seo-comments.php +2 -4
readme.txt CHANGED
@@ -1,5 +1,5 @@
1
  === Remove Yoast SEO comments ===
2
- Contributors: lowest
3
  Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=2VYPRGME8QELC
4
  Tags: yoast seo, yoast, seo, remove comments, remove html, remove ads, remove debug code, lightweight
5
  Requires at least: 1.2.0
@@ -17,7 +17,7 @@ A light-weight plugin which will remove the advertisement HTML comments coming f
17
  This is a must-have plugin if you have Yoast SEO or Yoast SEO Premium installed.
18
 
19
  = Note =
20
- This plugin requires [Yoast SEO](http://wordpress.org/plugins/wordpress-seo/) or Yoast SEO Premium. If you do not have Yoast SEO or Yoast SEO Premium activated, this plugin will not work.
21
 
22
  = Like this plugin? =
23
  If you like this plugin, make sure to rate it 5 stars. Also check out [Remove Google Analytics comments](https://wordpress.org/plugins/remove-google-analytics-comments/)!
@@ -44,9 +44,12 @@ No, this plugin will not modify any of your Yoast SEO plugin files.
44
 
45
  == Changelog ==
46
 
 
 
 
47
  = 2.0 =
48
  * Introducing more modern, better and faster functions
49
- * RYSC can now be activated without Yoast SEO activated
50
 
51
  = 1.0.5 =
52
  * Fixed an security vulnerability regarding `target="_blank"` ([read more](https://core.trac.wordpress.org/ticket/36809))
1
  === Remove Yoast SEO comments ===
2
+ Contributors: lowest, tazotodua
3
  Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=2VYPRGME8QELC
4
  Tags: yoast seo, yoast, seo, remove comments, remove html, remove ads, remove debug code, lightweight
5
  Requires at least: 1.2.0
17
  This is a must-have plugin if you have Yoast SEO or Yoast SEO Premium installed.
18
 
19
  = Note =
20
+ This plugin requires [Yoast SEO](http://wordpress.org/plugins/wordpress-seo/) or Yoast SEO Premium.
21
 
22
  = Like this plugin? =
23
  If you like this plugin, make sure to rate it 5 stars. Also check out [Remove Google Analytics comments](https://wordpress.org/plugins/remove-google-analytics-comments/)!
44
 
45
  == Changelog ==
46
 
47
+ = 2.0.1 =
48
+ * Yoast SEO update caused a bug in this plugin, this update fixes it.
49
+
50
  = 2.0 =
51
  * Introducing more modern, better and faster functions
52
+ * RYSC can now be activated without Yoast SEO being activated
53
 
54
  = 1.0.5 =
55
  * Fixed an security vulnerability regarding `target="_blank"` ([read more](https://core.trac.wordpress.org/ticket/36809))
remove-yoast-seo-comments.php CHANGED
@@ -3,7 +3,7 @@
3
  * Plugin Name: Remove Yoast SEO comments
4
  * Plugin URI: https://wordpress.org/plugins/remove-yoast-seo-comments/
5
  * Description: Removes the Yoast SEO advertisement HTML comments from your front-end source code.
6
- * Version: 2.0
7
  * Author: Mitch
8
  * Author URI: https://profiles.wordpress.org/lowest
9
  * License: GPL-2.0+
@@ -29,11 +29,9 @@
29
 
30
  if ( ! defined( 'ABSPATH' ) ) { exit; }
31
 
32
- if ( ! defined( 'RYSC_VERSION' ) ) { define( 'RYSC_VERSION', '1.0' ); }
33
-
34
  function rysc_bundle() {
35
  if(defined( 'WPSEO_VERSION' ) && class_exists('WPSEO_Frontend')) {
36
- remove_action( 'wpseo_head', array( WPSEO_Frontend::get_instance(), 'debug_marker' ) , 2);
37
  remove_action( 'wp_head', array( WPSEO_Frontend::get_instance(), 'head' ) , 1);
38
  add_action( 'wp_head', 'rysc_rewrite' , 1);
39
  }
3
  * Plugin Name: Remove Yoast SEO comments
4
  * Plugin URI: https://wordpress.org/plugins/remove-yoast-seo-comments/
5
  * Description: Removes the Yoast SEO advertisement HTML comments from your front-end source code.
6
+ * Version: 2.0.1
7
  * Author: Mitch
8
  * Author URI: https://profiles.wordpress.org/lowest
9
  * License: GPL-2.0+
29
 
30
  if ( ! defined( 'ABSPATH' ) ) { exit; }
31
 
 
 
32
  function rysc_bundle() {
33
  if(defined( 'WPSEO_VERSION' ) && class_exists('WPSEO_Frontend')) {
34
+ remove_action( 'wpseo_head', array( WPSEO_Frontend::get_instance(), 'debug_mark' ) , 2);
35
  remove_action( 'wp_head', array( WPSEO_Frontend::get_instance(), 'head' ) , 1);
36
  add_action( 'wp_head', 'rysc_rewrite' , 1);
37
  }