Changeset 1721545
- Timestamp:
- 08/29/2017 09:29:18 PM (9 years ago)
- Location:
- remove-yoast-seo-comments/trunk
- Files:
-
- 2 edited
-
readme.txt (modified) (1 diff)
-
remove-yoast-seo-comments.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
remove-yoast-seo-comments/trunk/readme.txt
r1692597 r1721545 47 47 == Changelog == 48 48 49 = 3.0.2 = 50 * Limited the RYSC dashboard widget to admin only. 51 49 52 = 3.0.1 = 50 53 * Versioning added as a variable to the RYSC class. -
remove-yoast-seo-comments/trunk/remove-yoast-seo-comments.php
r1692601 r1721545 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: 3.0. 16 * Version: 3.0.2 7 7 * Author: Mitch 8 8 * Author URI: https://profiles.wordpress.org/lowest … … 31 31 32 32 class RYSC { 33 private $version = '3.0. 1';33 private $version = '3.0.2'; 34 34 private $debug_marker_removed = false; 35 35 private $head_marker_removed = false; … … 54 54 } 55 55 56 add_action( 'wp_dashboard_setup', array( $this, 'dash_widget' ) );56 if(current_user_can('manage_options')) add_action( 'wp_dashboard_setup', array( $this, 'dash_widget' ) ); 57 57 } 58 58
Note: See TracChangeset
for help on using the changeset viewer.