Plugin Directory

Changeset 1978198


Ignore:
Timestamp:
11/21/2018 02:15:24 PM (7 years ago)
Author:
getmfy
Message:

bug fixes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • mfy/tags/2.0.0/classes/utility_classes.php

    r1978195 r1978198  
    232232            'callback' => array($this, 'mfy_save_user_access_token'),
    233233            'permission_callback' => function () {
    234                 // return current_user_can('manage_options');
    235                 return true;
     234                return current_user_can('manage_options');
    236235            },
    237236            'args' => array(
     
    248247            'callback' => array($this, 'mfy_get_user_access_token'),
    249248            'permission_callback' => function () {
    250                 // return current_user_can('manage_options');
    251                 return true;
     249                return current_user_can('manage_options');
    252250            }
    253251        ));
     
    260258                'callback' => array($this, 'mfy_save_configuration_settings'),
    261259                'permission_callback' => function () {
    262                     // return current_user_can('manage_options');
    263                     return true;
     260                    return current_user_can('manage_options');
    264261                },
    265262                'args' => array(
     
    285282                'callback' => array($this, 'mfy_get_configuration_settings'),
    286283                'permission_callback' => function () {
    287                     // return current_user_can('manage_options');
    288                     return true;
     284                    return current_user_can('manage_options');
    289285                }
    290286            )
     
    295291            'callback' => array($this, 'mfy_save_mbox_details'),
    296292            'permission_callback' => function () {
    297                 // return current_user_can('manage_options');
    298                 return true;
     293                return current_user_can('manage_options');
    299294            }
    300295        ));
     
    304299            'callback' => array($this, 'mfy_get_mbox_details'),
    305300            'permission_callback' => function () {
    306                 // return current_user_can('manage_options');
    307                 return true;
     301                return current_user_can('manage_options');
    308302            }
    309303        ));
Note: See TracChangeset for help on using the changeset viewer.