Allow public access to get_core_capabilities()
Allow role manager plugins to get these capabilties
This commit is contained in:
parent
7830e90550
commit
cde1bd019b
|
@ -1175,7 +1175,7 @@ CREATE TABLE {$wpdb->prefix}wc_reserved_stock (
|
|||
*
|
||||
* @return array
|
||||
*/
|
||||
private static function get_core_capabilities() {
|
||||
public static function get_core_capabilities() {
|
||||
$capabilities = array();
|
||||
|
||||
$capabilities['core'] = array(
|
||||
|
|
Loading…
Reference in New Issue