WordPress/wp-admin
Boone Gorges 3eab09a694 Don't force comment pagination.
[34561] instituted the policy of forcing pagination for comments. This strategy
was intended to avert problems when 'page_comments' is set to 0 - as it is by
default - and the number of comments on a given post rises into the hundreds or
thousands. By forcing pagination in all cases, we ensured that WordPress would
not time out by processing unwieldy numbers of comments on a given pageload.

The strategy proves problematic, however, because comment permalinks are
generated using the page of the comment. Forcing pagination for posts that
were not previously paginated would change the URL of all comments that do not
appear on the default comment page.

This changeset reintroduces the 'page_comments' setting and its corresponding
checkbox on Settings > Discussion. A number of tests, which were written after
[34561], are modified to work now that 'page_comments' will, once again, be
disabled by default.

See #8071.
Built from https://develop.svn.wordpress.org/trunk@35331


git-svn-id: http://core.svn.wordpress.org/trunk@35297 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-10-21 16:26:42 +00:00
..
css Widgets: add a button to delete all inactive widgets simultaneously for better UX. 2015-10-21 05:23:26 +00:00
images
includes Don't force comment pagination. 2015-10-21 16:26:42 +00:00
js Precommit cleanup, see r35313. 2015-10-21 05:33:24 +00:00
maint
network Make some primary action buttons look primary. 2015-10-15 03:08:24 +00:00
user
about.php
admin-ajax.php Widgets: add a button to delete all inactive widgets simultaneously for better UX. 2015-10-21 05:23:26 +00:00
admin-footer.php
admin-functions.php
admin-header.php
admin-post.php Superglobals: Revert [34059] until further notice. 2015-09-17 12:33:26 +00:00
admin.php Use `wp_installing()` instead of `WP_INSTALLING` constant. 2015-10-05 15:06:28 +00:00
async-upload.php Superglobals: Revert [34059] until further notice. 2015-09-17 12:33:26 +00:00
comment.php Include placeholders in translator comments. 2015-09-18 18:58:24 +00:00
credits.php Accessibility: bump headings one level up on Credits screen for a better headings hierarchy. 2015-10-13 06:49:26 +00:00
custom-background.php `callback` is not a valid type in PHP, PSR-5, or phpDocumentor. `callable` should be used instead. 2015-09-25 23:58:25 +00:00
custom-header.php `callback` is not a valid type in PHP, PSR-5, or phpDocumentor. `callable` should be used instead. 2015-09-25 23:58:25 +00:00
customize.php Customize: Reduce peak memory usage by JSON-encoding settings and controls individually. 2015-09-17 19:42:26 +00:00
edit-comments.php List Tables/WP_Screen: in `WP_Screen`, add methods to store, retrieve, and render screen reader text, primarily used by list table screens. 2015-10-07 01:28:25 +00:00
edit-form-advanced.php Revert [34917] until the broken test is fixed. 2015-10-08 01:04:25 +00:00
edit-form-comment.php Bump the "Status" H3 heading to H2 on the Edit Comment screen for better accessibility. 2015-10-14 17:44:24 +00:00
edit-link-form.php Bump H3 headings to H2 on the legacy Link Manager screen for better accessibility. 2015-10-14 17:32:24 +00:00
edit-tag-form.php When applying the `'editable_slug'` filter, add a second param that provides more context. 2015-09-19 05:49:24 +00:00
edit-tags.php List Tables/WP_Screen: in `WP_Screen`, add methods to store, retrieve, and render screen reader text, primarily used by list table screens. 2015-10-07 01:28:25 +00:00
edit.php List Tables/WP_Screen: in `WP_Screen`, add methods to store, retrieve, and render screen reader text, primarily used by list table screens. 2015-10-07 01:28:25 +00:00
export.php Export: add missing labels and improvement accessibility of the Export screen. 2015-10-21 03:57:24 +00:00
freedoms.php
import.php
index.php
install-helper.php Docs: Add missing descriptions for the `$wpdb` global in DocBlocks all the places. 2015-10-14 23:44:25 +00:00
install.php Install: Replace the "Privacy" setting with the "Search Engine Visibility" setting from Reading Settings. 2015-10-01 21:35:25 +00:00
link-add.php
link-manager.php List Tables/WP_Screen: in `WP_Screen`, add methods to store, retrieve, and render screen reader text, primarily used by list table screens. 2015-10-07 01:28:25 +00:00
link-parse-opml.php
link.php
load-scripts.php
load-styles.php
media-new.php
media-upload.php
media.php
menu-header.php Docs: Document declaration of the `$submenu_file` global in wp-admin/menu-header.php. 2015-10-01 01:48:25 +00:00
menu.php Don't show the "Add New" link on `post-new.php`. 2015-10-01 00:48:25 +00:00
moderation.php
ms-admin.php
ms-delete-site.php
ms-edit.php
ms-options.php
ms-sites.php
ms-themes.php
ms-upgrade-network.php
ms-users.php
my-sites.php My Sites: Make "Create a New Site" link consistent with other "Add New" links. 2015-10-09 03:50:24 +00:00
nav-menus.php
network.php Network Setup: don't use `<code>` in translation strings in `wp-admin/network` files. 2015-09-18 18:18:27 +00:00
options-discussion.php Don't force comment pagination. 2015-10-21 16:26:42 +00:00
options-general.php Add missing translator comments after [34294]. 2015-09-18 18:46:24 +00:00
options-head.php
options-media.php
options-permalink.php MS: Provide better UI when a main site's `/blog` prefix is changed. 2015-10-01 20:39:24 +00:00
options-reading.php
options-writing.php Revert [34778], continue using `_site_option()` for the current network. 2015-10-07 17:11:25 +00:00
options.php Don't force comment pagination. 2015-10-21 16:26:42 +00:00
plugin-editor.php Replace `get_bloginfo( 'wpurl' )` with `admin_url()` in plugin editor. 2015-10-13 02:05:24 +00:00
plugin-install.php List Tables/WP_Screen: in `WP_Screen`, add methods to store, retrieve, and render screen reader text, primarily used by list table screens. 2015-10-07 01:28:25 +00:00
plugins.php Replace `get_bloginfo( 'wpurl' )` with `admin_url()` for plugin activation error message. 2015-10-13 02:12:24 +00:00
post-new.php
post.php Dashboard: use the `create_posts` cap on the post type object when determining if the Quick Press widget can be displayed. 2015-10-20 05:49:24 +00:00
press-this.php
profile.php
revision.php
setup-config.php Correct the error message displayed on setup when `wp-config-sample.php` does not exist. 2015-10-13 17:36:25 +00:00
theme-editor.php Theme Editor: Repurpose the `'wp_theme_editor_filetypes'` filter added in [35134] to actually filter file types instead of files. 2015-10-15 02:20:24 +00:00
theme-install.php Accessibility: Improve the headings hierarchy in the Add Themes screen. 2015-10-19 22:04:25 +00:00
themes.php Accessibility: Improve headings hierarchy in the Theme browser modal dialog. 2015-10-16 15:56:25 +00:00
tools.php
update-core.php Plugins: Don't request all fields via `plugins_api( 'plugin_information' )` for plugin installs and update checks. 2015-09-26 15:50:25 +00:00
update.php Plugins: Don't request all fields via `plugins_api( 'plugin_information' )` for plugin installs and update checks. 2015-09-26 15:50:25 +00:00
upgrade-functions.php
upgrade.php Make the database update button primary. 2015-10-15 17:35:24 +00:00
upload.php List Tables/WP_Screen: in `WP_Screen`, add methods to store, retrieve, and render screen reader text, primarily used by list table screens. 2015-10-07 01:28:25 +00:00
user-edit.php Revert [34778], continue using `_site_option()` for the current network. 2015-10-07 17:11:25 +00:00
user-new.php Profile: on `user-new.php`, don't allow the password fields to be hidden. When hidden, you can't add a user. 2015-09-26 06:15:26 +00:00
users.php Make some primary action buttons look primary. 2015-10-15 03:08:24 +00:00
widgets.php Widgets: add a button to delete all inactive widgets simultaneously for better UX. 2015-10-21 05:23:26 +00:00