[32523] introduced the `$public_only` parameter to `count_user_posts()`. That changeset was supposed to pass `$public_only` to the 'get_usernumposts' filter at the end of the function, but only the documentation was modified, not the filter itself. This changeset also fixes an incorrect variable name in the docblock for the same filter. Props swisspidy, tmatsuur. Fixes #33481 for trunk. Built from https://develop.svn.wordpress.org/trunk@33710 git-svn-id: http://core.svn.wordpress.org/trunk@33677 1a063a9b-81f0-0310-95a4-ce76da25c4cd
91 KiB
91 KiB