Changeset 1978198
- Timestamp:
- 11/21/2018 02:15:24 PM (7 years ago)
- File:
-
- 1 edited
-
mfy/tags/2.0.0/classes/utility_classes.php (modified) (6 diffs)
Legend:
- Unmodified
- Added
- Removed
-
mfy/tags/2.0.0/classes/utility_classes.php
r1978195 r1978198 232 232 'callback' => array($this, 'mfy_save_user_access_token'), 233 233 'permission_callback' => function () { 234 // return current_user_can('manage_options'); 235 return true; 234 return current_user_can('manage_options'); 236 235 }, 237 236 'args' => array( … … 248 247 'callback' => array($this, 'mfy_get_user_access_token'), 249 248 'permission_callback' => function () { 250 // return current_user_can('manage_options'); 251 return true; 249 return current_user_can('manage_options'); 252 250 } 253 251 )); … … 260 258 'callback' => array($this, 'mfy_save_configuration_settings'), 261 259 'permission_callback' => function () { 262 // return current_user_can('manage_options'); 263 return true; 260 return current_user_can('manage_options'); 264 261 }, 265 262 'args' => array( … … 285 282 'callback' => array($this, 'mfy_get_configuration_settings'), 286 283 'permission_callback' => function () { 287 // return current_user_can('manage_options'); 288 return true; 284 return current_user_can('manage_options'); 289 285 } 290 286 ) … … 295 291 'callback' => array($this, 'mfy_save_mbox_details'), 296 292 'permission_callback' => function () { 297 // return current_user_can('manage_options'); 298 return true; 293 return current_user_can('manage_options'); 299 294 } 300 295 )); … … 304 299 'callback' => array($this, 'mfy_get_mbox_details'), 305 300 'permission_callback' => function () { 306 // return current_user_can('manage_options'); 307 return true; 301 return current_user_can('manage_options'); 308 302 } 309 303 ));
Note: See TracChangeset
for help on using the changeset viewer.