Make WordPress Core

Changeset 14976


Ignore:
Timestamp:
05/27/2010 04:14:35 AM (15 years ago)
Author:
nacin
Message:

Fix order of params to strpos. props ampt, fixes #12115.

File:
1 edited

Legend:

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

    r14404 r14976  
    273273     */
    274274    function _strip_newlines( $html, $data, $url ) {
    275         if ( false !== strpos( "\n", $html ) )
     275        if ( false !== strpos( $html, "\n" ) )
    276276            $html = str_replace( array( "\r\n", "\n" ), '', $html );
    277277
Note: See TracChangeset for help on using the changeset viewer.