Skip to content

Commit

Permalink
Jetpack: Switching methods to static broke all the connection code in…
Browse files Browse the repository at this point in the history
… class.jetpack-network.php
  • Loading branch information
blobaugh committed Feb 8, 2014
1 parent ec3ee41 commit a4b0957
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions class.jetpack.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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;
Expand All @@ -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() );
}
Expand Down

0 comments on commit a4b0957

Please sign in to comment.