Changeset 1611993
- Timestamp:
- 03/10/2017 02:23:05 PM (9 years ago)
- Location:
- remove-yoast-seo-comments/trunk
- Files:
-
- 2 edited
-
readme.txt (modified) (1 diff)
-
remove-yoast-seo-comments.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
remove-yoast-seo-comments/trunk/readme.txt
r1596582 r1611993 45 45 == Changelog == 46 46 47 = 2.0.1 = 48 * Yoast SEO update caused a bug in this plugin, this update fixes it. 49 47 50 = 2.0 = 48 51 * Introducing more modern, better and faster functions -
remove-yoast-seo-comments/trunk/remove-yoast-seo-comments.php
r1596582 r1611993 4 4 * Plugin URI: https://wordpress.org/plugins/remove-yoast-seo-comments/ 5 5 * Description: Removes the Yoast SEO advertisement HTML comments from your front-end source code. 6 * Version: 2.0 6 * Version: 2.0.1 7 7 * Author: Mitch 8 8 * Author URI: https://profiles.wordpress.org/lowest … … 30 30 if ( ! defined( 'ABSPATH' ) ) { exit; } 31 31 32 if ( ! defined( 'RYSC_VERSION' ) ) { define( 'RYSC_VERSION', '2.0' ); }33 34 32 function rysc_bundle() { 35 33 if(defined( 'WPSEO_VERSION' ) && class_exists('WPSEO_Frontend')) { 36 remove_action( 'wpseo_head', array( WPSEO_Frontend::get_instance(), 'debug_mark er' ) , 2);34 remove_action( 'wpseo_head', array( WPSEO_Frontend::get_instance(), 'debug_mark' ) , 2); 37 35 remove_action( 'wp_head', array( WPSEO_Frontend::get_instance(), 'head' ) , 1); 38 36 add_action( 'wp_head', 'rysc_rewrite' , 1);
Note: See TracChangeset
for help on using the changeset viewer.