Should be only variables passed by reference in
-
I have this warning: “Should be only variables passed by reference in” which the online search results in: public_html / remedionaturales.com / wp-content / themes / point / functions.php on line 369
Now there I have this I do not know where to put my hand:
add_filter ('get_comments_number' 'mts_comment_count', 0); mts_comment_count function ($ count) { if (! is_admin ()) { global $ id; (line 369) $ comments_by_type = & separate_comments (get_comments ('status = approve & post_id =', $ id)); return count ($ comments_by_type ['comment']); } Else { return $ count; } }
Anyone can tell me how to solve this? I get this message right in the pages of entries.
Thank you.
[Moderator note: code fixed. Please wrap code in the backtick character or use the code button.]
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Should be only variables passed by reference in’ is closed to new replies.