diff --git a/wp-includes/capabilities.php b/wp-includes/capabilities.php index 94ba9dcbc2..160c20e89e 100644 --- a/wp-includes/capabilities.php +++ b/wp-includes/capabilities.php @@ -90,7 +90,10 @@ class WP_Roles { * @return mixed|bool Return value of the callback, false otherwise. */ public function __call( $name, $arguments ) { - return call_user_func_array( array( $this, $name ), $arguments ); + if ( '_init' === $name ) { + return call_user_func_array( array( $this, $name ), $arguments ); + } + return false; } /** diff --git a/wp-includes/version.php b/wp-includes/version.php index 6e730c044a..0c2da5b9ee 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -4,7 +4,7 @@ * * @global string $wp_version */ -$wp_version = '4.2-alpha-31146'; +$wp_version = '4.2-alpha-31147'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.