Make WordPress Core


Ignore:
Timestamp:
04/29/2013 02:48:31 PM (12 years ago)
Author:
nacin
Message:

Variables passed by reference do not need to be set first.

props kovshenin.
see #24222.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/post-formats.php

    r24094 r24129  
    581581        }
    582582
    583         $matches = array();
    584583        $matched = preg_match( $newline_regex, $line, $matches );
    585584        if ( ! $matched )
     
    710709        return '';
    711710
    712     $matches = array();
    713711    if ( ! preg_match( '/<blockquote[^>]*>(.+?)<\/blockquote>/is', $content, $matches ) ) {
    714712        $quote = $content;
     
    783781    if ( empty( $content ) )
    784782        return '';
    785 
    786     $matches = array();
    787783
    788784    // the content is a URL
     
    884880    $output = '';
    885881    $has_teaser = false;
    886     $matches = array();
    887882
    888883    // If post password required and it doesn't match the cookie.
Note: See TracChangeset for help on using the changeset viewer.