Make WordPress Core


Ignore:
Timestamp:
10/04/2012 08:00:16 PM (12 years ago)
Author:
ryan
Message:

Objects no longer need to be explicitly passed by ref to call_user_func*() to be callable. Props wonderboymusic. fixes #21865

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/class-oembed.php

    r22003 r22118  
    5454
    5555        // Fix any embeds that contain new lines in the middle of the HTML which breaks wpautop().
    56         add_filter( 'oembed_dataparse', array(&$this, '_strip_newlines'), 10, 3 );
     56        add_filter( 'oembed_dataparse', array($this, '_strip_newlines'), 10, 3 );
    5757    }
    5858
Note: See TracChangeset for help on using the changeset viewer.