Skip to content
Commit 791b2fe9 authored by Sergey Biryukov's avatar Sergey Biryukov
Browse files

Comments: Add a `$post_id` parameter to `get_comments_number_text()` and `comments_number()`.

This allow for using these functions outside of the loop.

Props donmhico, garrett-eclipse, Hinjiriyo, imath.
Fixes #48772.
Built from https://develop.svn.wordpress.org/trunk@47276


git-svn-id: https://core.svn.wordpress.org/trunk@47076 1a063a9b-81f0-0310-95a4-ce76da25c4cd
parent c6781ac0
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment