Plugin Directory

Changeset 453533


Ignore:
Timestamp:
10/20/2011 06:34:22 PM (14 years ago)
Author:
barchard
Message:

only allow admin level users or greater to view and edit the plugin settings.

Location:
buysellads/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • buysellads/trunk/libraries/bsa.plugin.class.php

    r405028 r453533  
    8181  {
    8282    global $bsa_lang;
     83
     84    if (!current_user_can('activate_plugins'))
     85    {
     86        wp_die(__('You do not have sufficient permissions to access this page.'));
     87    }
    8388   
    8489    if( isset($_POST[ 'option_values' ]) && $_POST[ 'option_values' ] == 'save' )
  • buysellads/trunk/readme.txt

    r453059 r453533  
    4141
    4242= 2.3.2 =
     43* Only allow Admin level users or greater to view and edit the plugin settings
    4344* Remove an unnecessary trim call
    4445* Add rel='nofollow' to RSS links
Note: See TracChangeset for help on using the changeset viewer.