Make WordPress Core


Ignore:
Timestamp:
09/10/2012 05:00:11 PM (12 years ago)
Author:
ryan
Message:

Remove unnecessary return by refs. Props wonderboymusic. fixes #21839

File:
1 edited

Legend:

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

    r21599 r21792  
    128128 * @return object|array|null Depends on $output value.
    129129 */
    130 function &get_comment(&$comment, $output = OBJECT) {
     130function get_comment(&$comment, $output = OBJECT) {
    131131    global $wpdb;
    132132    $null = null;
     
    724724 * @return array Array of comments keyed by comment_type.
    725725 */
    726 function &separate_comments(&$comments) {
     726function separate_comments(&$comments) {
    727727    $comments_by_type = array('comment' => array(), 'trackback' => array(), 'pingback' => array(), 'pings' => array());
    728728    $count = count($comments);
Note: See TracChangeset for help on using the changeset viewer.