WordPress.org

Plugin Directory

Changeset 611620


Ignore:
Timestamp:
10/12/12 17:37:38 (19 months ago)
Author:
jblz
Message:

Jetpack: Switch to a simple = assignment from =& when instantiating Jetpack_Notifications to avoid a PHP Deprecated Notice. PHP5 assigns objects by reference and PHP4 is not supported by the current version of WordPress.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • jetpack/trunk/modules/notes.php

    r611601 r611620  
    1919 
    2020        if ( !$instance ) { 
    21             $instance[0] =& new Jetpack_Notifications; 
     21            $instance[0] = new Jetpack_Notifications; 
    2222        } 
    2323 
Note: See TracChangeset for help on using the changeset viewer.