WordPress.org

Ready to get started?Download WordPress

Forums

Jetpack by WordPress.com
[resolved] E_DEPRECATED Assigning the return value of new by reference is deprecated (3 posts)

  1. Dean Taylor
    Member
    Posted 1 year ago #

    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/

  2. Christopher Finke
    Design Engineer at Automattic
    Plugin Author

    Posted 1 year ago #

  3. Dean Taylor
    Member
    Posted 1 year ago #

    Cheers Christopher!

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic