From cde1bd019b7d87138118a32cc90ce93390285422 Mon Sep 17 00:00:00 2001 From: Jory Hogeveen Date: Wed, 8 Jul 2020 13:44:27 +0200 Subject: [PATCH] Allow public access to get_core_capabilities() Allow role manager plugins to get these capabilties --- includes/class-wc-install.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/class-wc-install.php b/includes/class-wc-install.php index 409a5567de4..4beebd59bb2 100644 --- a/includes/class-wc-install.php +++ b/includes/class-wc-install.php @@ -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(