Plugin Directory

Changeset 2558955


Ignore:
Timestamp:
07/05/2021 07:04:37 PM (5 years ago)
Author:
goaffpro
Message:

2.3 - Fixed permission_callback in the route configuration.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • goaffpro/trunk/goaffpro.php

    r2508300 r2558955  
    5050    $token = get_option($goaffpro_token_key);
    5151    /**
    52      *  on multisites, plugin activation hook is not fired on individual sites 
     52     *  on multisites, plugin activation hook is not fired on individual sites
    5353     * so create the option at load time
    5454     */
     
    108108        'methods' => 'GET',
    109109        'callback' => 'get_goaffpro_config',
     110        'permission_callback' => '__return_true'
    110111    ));
    111112}
Note: See TracChangeset for help on using the changeset viewer.