From a4b095728ae4ab20f5ae647b8f727f94ca923677 Mon Sep 17 00:00:00 2001 From: blobaugh Date: Sat, 8 Feb 2014 13:14:11 -0800 Subject: [PATCH] Jetpack: Switching methods to static broke all the connection code in class.jetpack-network.php --- class.jetpack.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/class.jetpack.php b/class.jetpack.php index 7582a5cd61448..f5811e2770ca0 100644 --- a/class.jetpack.php +++ b/class.jetpack.php @@ -3531,7 +3531,7 @@ public static function xmlrpc_api_url() { * @since 2.6 * @return array */ - public static function generate_secrets() { + public function generate_secrets() { $secrets = array( wp_generate_password( 32, false ), // secret_1 wp_generate_password( 32, false ), // secret_2 @@ -3549,7 +3549,7 @@ public static function generate_secrets() { * @since 2.6 * @return int **/ - public static function get_remote_query_timeout_limit() { + public function get_remote_query_timeout_limit() { $timeout = (int) ini_get( 'max_execution_time' ); if ( ! $timeout ) // Ensure exec time set in php.ini $timeout = 30; @@ -3564,7 +3564,7 @@ public static function get_remote_query_timeout_limit() { * @since 2.6 * @return true or Jetpack_Error **/ - public static function validate_remote_register_response( $response ) { + public function validate_remote_register_response( $response ) { if ( is_wp_error( $response ) ) { return new Jetpack_Error( 'register_http_request_failed', $response->get_error_message() ); }