Allow public access to get_core_capabilities()

Allow role manager plugins to get these capabilties
This commit is contained in:
Jory Hogeveen 2020-07-08 13:44:27 +02:00 committed by GitHub
parent 7830e90550
commit cde1bd019b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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(