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

git-svn-id: https://develop.svn.wordpress.org/trunk@21792 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Ryan Boren
2012-09-10 17:00:11 +00:00
parent 9360033fbe
commit 879cb8231b
9 changed files with 21 additions and 21 deletions

View File

@@ -127,7 +127,7 @@ function get_approved_comments($post_id) {
* @param string $output Optional. OBJECT or ARRAY_A or ARRAY_N constants.
* @return object|array|null Depends on $output value.
*/
function &get_comment(&$comment, $output = OBJECT) {
function get_comment(&$comment, $output = OBJECT) {
global $wpdb;
$null = null;
@@ -723,7 +723,7 @@ function check_comment_flood_db( $ip, $email, $date ) {
* @param array $comments Array of comments
* @return array Array of comments keyed by comment_type.
*/
function &separate_comments(&$comments) {
function separate_comments(&$comments) {
$comments_by_type = array('comment' => array(), 'trackback' => array(), 'pingback' => array(), 'pings' => array());
$count = count($comments);
for ( $i = 0; $i < $count; $i++ ) {