Plugin Directory

Changeset 1721545


Ignore:
Timestamp:
08/29/2017 09:29:18 PM (9 years ago)
Author:
lowest
Message:

Version 3.0.2

Location:
remove-yoast-seo-comments/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • remove-yoast-seo-comments/trunk/readme.txt

    r1692597 r1721545  
    4747== Changelog ==
    4848
     49= 3.0.2 =
     50* Limited the RYSC dashboard widget to admin only.
     51
    4952= 3.0.1 =
    5053* Versioning added as a variable to the RYSC class.
  • remove-yoast-seo-comments/trunk/remove-yoast-seo-comments.php

    r1692601 r1721545  
    44 * Plugin URI: https://wordpress.org/plugins/remove-yoast-seo-comments/
    55 * Description: Removes the Yoast SEO advertisement HTML comments from your front-end source code.
    6  * Version: 3.0.1
     6 * Version: 3.0.2
    77 * Author: Mitch
    88 * Author URI: https://profiles.wordpress.org/lowest
     
    3131
    3232class RYSC {
    33     private $version = '3.0.1';
     33    private $version = '3.0.2';
    3434    private $debug_marker_removed = false;
    3535    private $head_marker_removed = false;
     
    5454            }
    5555           
    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' ) );
    5757        }
    5858       
Note: See TracChangeset for help on using the changeset viewer.