WordPress.org

Make WordPress Core

Ticket #24433: 24433.diff

File 24433.diff, 335 bytes (added by sunnyratilal, 5 years ago)
  • wp-includes/media.php

     
    20542054        global $wp_embed;
    20552055
    20562056        if ( empty( $post ) )
    2057                 $post =& get_post();
     2057                $post = get_post();
    20582058
    20592059        if ( empty( $post ) )
    20602060                return '';