WordPress/wp-includes
Boone Gorges 8c51f55fdd Pass the $public_only value to 'get_usernumposts' filter.
[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, and includes clarification on the accepted values for
the `$post_type` parameter.

Merges [33710] and [33716] to the 4.3 branch.

Props swisspidy, tmatsuur, tyxla, DrewAPicture.
Fixes #33481 for 4.3.1. 

Built from https://develop.svn.wordpress.org/branches/4.3@33953


git-svn-id: http://core.svn.wordpress.org/branches/4.3@33922 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-09-08 20:58:22 +00:00
..
certificates Revert [33845] 2015-09-03 03:33:24 +00:00
css Customize: Fix logic for determining the container element when focusing on a panel, section, or control. 2015-09-07 06:05:23 +00:00
fonts Revert [33845] 2015-09-03 03:33:24 +00:00
ID3 Revert [33845] 2015-09-03 03:33:24 +00:00
images Revert [33845] 2015-09-03 03:33:24 +00:00
js Revert [33845] 2015-09-03 03:33:24 +00:00
pomo Revert [33845] 2015-09-03 03:33:24 +00:00
SimplePie Revert [33845] 2015-09-03 03:33:24 +00:00
Text Revert [33845] 2015-09-03 03:33:24 +00:00
theme-compat Revert [33845] 2015-09-03 03:33:24 +00:00
admin-bar.php Revert [33845] 2015-09-03 03:33:24 +00:00
atomlib.php Revert [33845] 2015-09-03 03:33:24 +00:00
author-template.php Revert [33845] 2015-09-03 03:33:24 +00:00
bookmark-template.php Revert [33845] 2015-09-03 03:33:24 +00:00
bookmark.php Revert [33845] 2015-09-03 03:33:24 +00:00
cache.php Revert [33845] 2015-09-03 03:33:24 +00:00
canonical.php Revert [33845] 2015-09-03 03:33:24 +00:00
capabilities.php Revert [33845] 2015-09-03 03:33:24 +00:00
category-template.php In Walker_CategoryDropdown::start_el(), cast values to strings before deciding whether to append 'selected' attribute. 2015-09-08 19:04:23 +00:00
category.php Revert [33845] 2015-09-03 03:33:24 +00:00
class-feed.php Revert [33845] 2015-09-03 03:33:24 +00:00
class-http.php Revert [33845] 2015-09-03 03:33:24 +00:00
class-IXR.php Revert [33845] 2015-09-03 03:33:24 +00:00
class-json.php Revert [33845] 2015-09-03 03:33:24 +00:00
class-oembed.php Revert [33845] 2015-09-03 03:33:24 +00:00
class-phpass.php Revert [33845] 2015-09-03 03:33:24 +00:00
class-phpmailer.php Revert [33845] 2015-09-03 03:33:24 +00:00
class-pop3.php Revert [33845] 2015-09-03 03:33:24 +00:00
class-simplepie.php Revert [33845] 2015-09-03 03:33:24 +00:00
class-smtp.php Revert [33845] 2015-09-03 03:33:24 +00:00
class-snoopy.php Revert [33845] 2015-09-03 03:33:24 +00:00
class-wp-admin-bar.php Revert [33845] 2015-09-03 03:33:24 +00:00
class-wp-ajax-response.php Revert [33845] 2015-09-03 03:33:24 +00:00
class-wp-customize-control.php Revert [33845] 2015-09-03 03:33:24 +00:00
class-wp-customize-manager.php Revert [33845] 2015-09-03 03:33:24 +00:00
class-wp-customize-nav-menus.php Revert [33845] 2015-09-03 03:33:24 +00:00
class-wp-customize-panel.php Revert [33845] 2015-09-03 03:33:24 +00:00
class-wp-customize-section.php Revert [33845] 2015-09-03 03:33:24 +00:00
class-wp-customize-setting.php Revert [33845] 2015-09-03 03:33:24 +00:00
class-wp-customize-widgets.php Revert [33845] 2015-09-03 03:33:24 +00:00
class-wp-editor.php Revert [33845] 2015-09-03 03:33:24 +00:00
class-wp-embed.php Revert [33845] 2015-09-03 03:33:24 +00:00
class-wp-error.php Revert [33845] 2015-09-03 03:33:24 +00:00
class-wp-http-ixr-client.php Revert [33845] 2015-09-03 03:33:24 +00:00
class-wp-image-editor-gd.php Revert [33845] 2015-09-03 03:33:24 +00:00
class-wp-image-editor-imagick.php Revert [33845] 2015-09-03 03:33:24 +00:00
class-wp-image-editor.php Revert [33845] 2015-09-03 03:33:24 +00:00
class-wp-theme.php Revert [33845] 2015-09-03 03:33:24 +00:00
class-wp-walker.php Revert [33845] 2015-09-03 03:33:24 +00:00
class-wp-xmlrpc-server.php Revert [33845] 2015-09-03 03:33:24 +00:00
class-wp.php Revert [33845] 2015-09-03 03:33:24 +00:00
class.wp-dependencies.php Revert [33845] 2015-09-03 03:33:24 +00:00
class.wp-scripts.php Revert [33845] 2015-09-03 03:33:24 +00:00
class.wp-styles.php Revert [33845] 2015-09-03 03:33:24 +00:00
comment-template.php Revert [33845] 2015-09-03 03:33:24 +00:00
comment.php Revert [33845] 2015-09-03 03:33:24 +00:00
compat.php Revert [33845] 2015-09-03 03:33:24 +00:00
cron.php Revert [33845] 2015-09-03 03:33:24 +00:00
date.php Revert [33845] 2015-09-03 03:33:24 +00:00
default-constants.php Revert [33845] 2015-09-03 03:33:24 +00:00
default-filters.php Revert [33845] 2015-09-03 03:33:24 +00:00
default-widgets.php Customizer: Collapse any expanded panel/sections before expanding other panel/sections. 2015-09-07 06:20:23 +00:00
deprecated.php Revert [33845] 2015-09-03 03:33:24 +00:00
feed-atom-comments.php Revert [33845] 2015-09-03 03:33:24 +00:00
feed-atom.php Revert [33845] 2015-09-03 03:33:24 +00:00
feed-rdf.php Revert [33845] 2015-09-03 03:33:24 +00:00
feed-rss2-comments.php Revert [33845] 2015-09-03 03:33:24 +00:00
feed-rss2.php Revert [33845] 2015-09-03 03:33:24 +00:00
feed-rss.php Revert [33845] 2015-09-03 03:33:24 +00:00
feed.php Revert [33845] 2015-09-03 03:33:24 +00:00
formatting.php Revert [33845] 2015-09-03 03:33:24 +00:00
functions.php Revert [33845] 2015-09-03 03:33:24 +00:00
functions.wp-scripts.php Revert [33845] 2015-09-03 03:33:24 +00:00
functions.wp-styles.php Revert [33845] 2015-09-03 03:33:24 +00:00
general-template.php Revert [33845] 2015-09-03 03:33:24 +00:00
http.php Revert [33845] 2015-09-03 03:33:24 +00:00
kses.php Revert [33845] 2015-09-03 03:33:24 +00:00
l10n.php Revert [33845] 2015-09-03 03:33:24 +00:00
link-template.php Revert [33845] 2015-09-03 03:33:24 +00:00
load.php Revert [33845] 2015-09-03 03:33:24 +00:00
locale.php Revert [33845] 2015-09-03 03:33:24 +00:00
media-template.php Revert [33845] 2015-09-03 03:33:24 +00:00
media.php Revert [33845] 2015-09-03 03:33:24 +00:00
meta.php Revert [33845] 2015-09-03 03:33:24 +00:00
ms-blogs.php Revert [33845] 2015-09-03 03:33:24 +00:00
ms-default-constants.php Revert [33845] 2015-09-03 03:33:24 +00:00
ms-default-filters.php Revert [33845] 2015-09-03 03:33:24 +00:00
ms-deprecated.php Revert [33845] 2015-09-03 03:33:24 +00:00
ms-files.php Revert [33845] 2015-09-03 03:33:24 +00:00
ms-functions.php Revert [33845] 2015-09-03 03:33:24 +00:00
ms-load.php Revert [33845] 2015-09-03 03:33:24 +00:00
ms-settings.php Revert [33845] 2015-09-03 03:33:24 +00:00
nav-menu-template.php Revert [33845] 2015-09-03 03:33:24 +00:00
nav-menu.php Revert [33845] 2015-09-03 03:33:24 +00:00
option.php Revert [33845] 2015-09-03 03:33:24 +00:00
pluggable-deprecated.php Revert [33845] 2015-09-03 03:33:24 +00:00
pluggable.php Revert [33845] 2015-09-03 03:33:24 +00:00
plugin.php Revert [33845] 2015-09-03 03:33:24 +00:00
post-formats.php Revert [33845] 2015-09-03 03:33:24 +00:00
post-template.php Revert [33845] 2015-09-03 03:33:24 +00:00
post-thumbnail-template.php Revert [33845] 2015-09-03 03:33:24 +00:00
post.php Revert [33845] 2015-09-03 03:33:24 +00:00
query.php Revert [33845] 2015-09-03 03:33:24 +00:00
registration-functions.php Revert [33845] 2015-09-03 03:33:24 +00:00
registration.php Revert [33845] 2015-09-03 03:33:24 +00:00
revision.php Revert [33845] 2015-09-03 03:33:24 +00:00
rewrite.php Revert [33845] 2015-09-03 03:33:24 +00:00
rss-functions.php Revert [33845] 2015-09-03 03:33:24 +00:00
rss.php Revert [33845] 2015-09-03 03:33:24 +00:00
script-loader.php Revert [33845] 2015-09-03 03:33:24 +00:00
session.php Revert [33845] 2015-09-03 03:33:24 +00:00
shortcodes.php Revert [33845] 2015-09-03 03:33:24 +00:00
taxonomy.php WP_Filesystem: SSH2 handler: Remove support for is_writable() via SSH, it turns out PHP doesn't verify the writability via SFTP and instead uses a comparison based on the current php system process user instead of the ssh user. 2015-09-03 04:38:15 +00:00
template-loader.php Revert [33845] 2015-09-03 03:33:24 +00:00
template.php Revert [33845] 2015-09-03 03:33:24 +00:00
theme.php Revert [33845] 2015-09-03 03:33:24 +00:00
update.php Revert [33845] 2015-09-03 03:33:24 +00:00
user.php Pass the $public_only value to 'get_usernumposts' filter. 2015-09-08 20:58:22 +00:00
vars.php Revert [33845] 2015-09-03 03:33:24 +00:00
version.php WP_Filesystem: SSH2 handler: Remove support for is_writable() via SSH, it turns out PHP doesn't verify the writability via SFTP and instead uses a comparison based on the current php system process user instead of the ssh user. 2015-09-03 04:38:15 +00:00
widgets.php WP_Filesystem: SSH2 handler: Remove support for is_writable() via SSH, it turns out PHP doesn't verify the writability via SFTP and instead uses a comparison based on the current php system process user instead of the ssh user. 2015-09-03 04:38:15 +00:00
wlwmanifest.xml Revert [33845] 2015-09-03 03:33:24 +00:00
wp-db.php Revert [33845] 2015-09-03 03:33:24 +00:00
wp-diff.php Revert [33845] 2015-09-03 03:33:24 +00:00