Support » Plugin: Jetpack by WordPress.com » E_DEPRECATED Assigning the return value of new by reference is deprecated

  • Resolved Dean Taylor

    (@deanmarktaylor)


    Error(E_DEPRECATED): Assigning the return value of new by reference is deprecated
    Source: /wp-content/plugins/jetpack/jetpack.php [3210]

    As Jetpack 2.0.4 requires PHP5…

    The following line:

    $jetpack_signature =& new Jetpack_Signature( $token->secret, (int) Jetpack::get_option( 'time_diff' ) );

    Should be:

    $jetpack_signature = new Jetpack_Signature( $token->secret, (int) Jetpack::get_option( 'time_diff' ) );

    Note this was previously requested 10 months ago before PHP5 was a requirement and marked as resolved because at the time it was.
    http://wordpress.org/support/topic/plugin-jetpack-by-wordpresscom-php-deprecated

    Cheers,
    Dean.

    http://wordpress.org/extend/plugins/jetpack/

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘E_DEPRECATED Assigning the return value of new by reference is deprecated’ is closed to new replies.