Version Description
- Removed debugging code
Download this release
Release Info
Developer | lowest |
Plugin | Remove Yoast SEO Comments |
Version | 1.0.4 |
Comparing to | |
See all releases |
Code changes from version 1.0.3 to 1.0.4
- readme.txt +3 -0
- remove-yoast-seo-comments.php +3 -7
readme.txt
CHANGED
@@ -44,6 +44,9 @@ No, this plugin will not modify any of your Yoast SEO plugin files.
|
|
44 |
|
45 |
== Changelog ==
|
46 |
|
|
|
|
|
|
|
47 |
= 1.0.3 =
|
48 |
* Removed anonymous functions: RYSC is now more light-weight than ever
|
49 |
|
44 |
|
45 |
== Changelog ==
|
46 |
|
47 |
+
= 1.0.4 =
|
48 |
+
* Removed debugging code
|
49 |
+
|
50 |
= 1.0.3 =
|
51 |
* Removed anonymous functions: RYSC is now more light-weight than ever
|
52 |
|
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: 1.0.
|
7 |
* Author: Mitch
|
8 |
* Author URI: https://profiles.wordpress.org/lowest
|
9 |
* License: GPL-2.0+
|
@@ -51,10 +51,6 @@ if ( rysc_active( 'wordpress-seo/wp-seo.php' ) || rysc_active( 'wordpress-seo-pr
|
|
51 |
add_action('wp_head',function (){
|
52 |
ob_end_flush();
|
53 |
}, 999);
|
54 |
-
} elseif(defined('WPSEO_VERSION')) {
|
55 |
-
add_action( 'admin_notices', function() {
|
56 |
-
echo '<div class="notice notice-error is-dismissible"><p>Gevonden.</p></div>';
|
57 |
-
});
|
58 |
} else {
|
59 |
add_action( 'admin_notices', function() {
|
60 |
echo '<div class="notice notice-error is-dismissible"><p>Cannot activate <strong>Remove Yoast SEO comments</strong>: Please activate <a href="http://wordpress.org/plugins/wordpress-seo/" target="_blank">Yoast SEO</a> or Yoast SEO Premium plugin first before activating this plugin.</p></div>';
|
@@ -64,6 +60,6 @@ if ( rysc_active( 'wordpress-seo/wp-seo.php' ) || rysc_active( 'wordpress-seo-pr
|
|
64 |
});
|
65 |
}
|
66 |
|
67 |
-
add_filter( 'plugin_action_links_' . plugin_basename(
|
68 |
-
return array_merge( $link, array('<a href="https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=2VYPRGME8QELC" target="_blank">Donate</a>') );
|
69 |
} );
|
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: 1.0.4
|
7 |
* Author: Mitch
|
8 |
* Author URI: https://profiles.wordpress.org/lowest
|
9 |
* License: GPL-2.0+
|
51 |
add_action('wp_head',function (){
|
52 |
ob_end_flush();
|
53 |
}, 999);
|
|
|
|
|
|
|
|
|
54 |
} else {
|
55 |
add_action( 'admin_notices', function() {
|
56 |
echo '<div class="notice notice-error is-dismissible"><p>Cannot activate <strong>Remove Yoast SEO comments</strong>: Please activate <a href="http://wordpress.org/plugins/wordpress-seo/" target="_blank">Yoast SEO</a> or Yoast SEO Premium plugin first before activating this plugin.</p></div>';
|
60 |
});
|
61 |
}
|
62 |
|
63 |
+
add_filter( 'plugin_action_links_' . plugin_basename( RYSC_FILE ), function($link) {
|
64 |
+
return array_merge( $link, array('<a href="https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=2VYPRGME8QELC" target="_blank"><strong>Donate</strong></a>') );
|
65 |
} );
|