WordPress.org

Plugin Directory

Changeset 610972


Ignore:
Timestamp:
10/11/12 16:44:35 (19 months ago)
Author:
tmoorewp
Message:

Publicize: Fix a verify_secrets error when trying to connect to WP.com.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • jetpack/branches/publicize/class.jetpack-xmlrpc-server.php

    r607328 r610972  
    2626            'jetpack.getPost'           => array( $this, 'get_post' ), 
    2727            'jetpack.getComment'        => array( $this, 'get_comment' ),  
    28             'jetpack.verifyAction'      => array( $this, 'verify_action'    ), 
     28            'jetpack.verifyAction'      => array( $this, 'verify_action' ), 
    2929        ) ); 
    3030    } 
     
    3636        return array( 
    3737            'jetpack.verifyRegistration' => array( $this, 'verify_registration' ), 
    38             'jetpack.verifyAction'       => array( $this, 'verify_action'    ), 
     38            'jetpack.verifyAction'       => array( $this, 'verify_action' ), 
    3939        ); 
    4040    } 
     
    4444     */ 
    4545    function verify_registration( $verify_secret ) { 
    46         return $this->verify_action( 'register', $verify_secret ); 
     46        return $this->verify_action( array( 'register', $verify_secret ) ); 
    4747    } 
    4848     
Note: See TracChangeset for help on using the changeset viewer.