Use the post type object in get_posts_by_author_sql() and add a post type...
Use the post type object in get_posts_by_author_sql() and add a post type parameter to count_many_users_posts(). The formerly somewhat useless and now totally useless pub_priv_sql_capability filter is considered deprecated. fixes #17220. git-svn-id: https://core.svn.wordpress.org/trunk@17742 1a063a9b-81f0-0310-95a4-ce76da25c4cd
Loading
Please register or sign in to comment