WordPress.org

Make WordPress Core

Changeset 24376


Ignore:
Timestamp:
05/27/2013 03:47:46 PM (5 years ago)
Author:
nacin
Message:

No need for a pass-by-reference here. props sunnyratilal, fixes #24433.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/media.php

    r24352 r24376  
    20552055
    20562056    if ( empty( $post ) )
    2057         $post =& get_post();
     2057        $post = get_post();
    20582058
    20592059    if ( empty( $post ) )
Note: See TracChangeset for help on using the changeset viewer.