WordPress/wp-admin/includes
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
..
admin-filters.php Docs: wp-admin/includes/admin-filters.php is part of the Administration subpackage, update the summary. 2015-10-14 22:35:24 +00:00
admin.php Docs: Add a version and standardize the file header summary for wp-admin/includes/admin.php. 2015-10-14 22:32:24 +00:00
ajax-actions.php Widgets: add a button to delete all inactive widgets simultaneously for better UX. 2015-10-21 05:23:26 +00:00
bookmark.php Docs: Fix third-person singular verbs for summaries in wp-admin/includes/bookmarks.php. 2015-10-14 23:25:25 +00:00
class-ftp-pure.php Updates: FTP/PemFTP Library: Remove the usage of deprecated regular expression functions (ereg replaced by PCRE). 2015-09-18 08:20:27 +00:00
class-ftp-sockets.php Updates: FTP/PemFTP Library: Remove the usage of deprecated regular expression functions (ereg replaced by PCRE). 2015-09-18 08:20:27 +00:00
class-ftp.php Updates: FTP: Add a missing PCRE modifer in [34281]. 2015-09-18 08:23:25 +00:00
class-pclzip.php
class-walker-category-checklist.php Docs: Clarify the file header summary for wp-admin/includes/class-walker-category-checklist.php, introduced in [34241]. 2015-09-22 14:33:48 +00:00
class-walker-nav-menu-checklist.php Docs: Walker_Nav_Menu_Checklist and Walker_Nav_Menu_Edit are part of the Navigation Menu API, but intended for use in the scope of administration. 2015-10-15 17:26:24 +00:00
class-walker-nav-menu-edit.php Docs: Walker_Nav_Menu_Checklist and Walker_Nav_Menu_Edit are part of the Navigation Menu API, but intended for use in the scope of administration. 2015-10-15 17:26:24 +00:00
class-wp-comments-list-table.php Docs: Add missing file headers to the list table classes and adjust class DocBlocks accordingly. 2015-10-17 15:13:25 +00:00
class-wp-filesystem-base.php Add @access docs to class-wp-filesystem-* files. 2015-09-10 01:21:24 +00:00
class-wp-filesystem-direct.php Add @access docs to class-wp-filesystem-* files. 2015-09-10 01:21:24 +00:00
class-wp-filesystem-ftpext.php Updates: Try a more compatible method to detect if a file exists when using the FTP Extension. 2015-10-01 05:09:25 +00:00
class-wp-filesystem-ftpsockets.php Docs: Add a summary, version, and parameter and return descriptions to the DocBlock for WP_Filesystem_ftpsockets::get_contents(). 2015-09-24 14:22:24 +00:00
class-wp-filesystem-ssh2.php Updates: SSH2 Transport: Add a connection error when the SFTP subsystem cannot be initialized. 2015-10-01 05:43:25 +00:00
class-wp-importer.php Docs: Add missing descriptions for the $wpdb global in DocBlocks all the places. 2015-10-14 23:44:25 +00:00
class-wp-internal-pointers.php Docs: Clarify the file header summary for wp-admin/includes/class-wp-internal-pointers.php, introduced in [34241]. 2015-09-22 14:35:25 +00:00
class-wp-links-list-table.php Docs: Add missing file headers to the list table classes and adjust class DocBlocks accordingly. 2015-10-17 15:13:25 +00:00
class-wp-list-table.php Docs: Add a missing file header for wp-admin/includes/class-wp-list-table.php. 2015-10-17 06:07:24 +00:00
class-wp-media-list-table.php Docs: Add missing file headers to the list table classes and adjust class DocBlocks accordingly. 2015-10-17 15:13:25 +00:00
class-wp-ms-sites-list-table.php Docs: Add missing file headers to the list table classes and adjust class DocBlocks accordingly. 2015-10-17 15:13:25 +00:00
class-wp-ms-themes-list-table.php Docs: Add missing file headers to the list table classes and adjust class DocBlocks accordingly. 2015-10-17 15:13:25 +00:00
class-wp-ms-users-list-table.php Docs: Add missing file headers to the list table classes and adjust class DocBlocks accordingly. 2015-10-17 15:13:25 +00:00
class-wp-plugin-install-list-table.php Docs: Add missing file headers to the list table classes and adjust class DocBlocks accordingly. 2015-10-17 15:13:25 +00:00
class-wp-plugins-list-table.php Docs: Add missing file headers to the list table classes and adjust class DocBlocks accordingly. 2015-10-17 15:13:25 +00:00
class-wp-post-comments-list-table.php Docs: Add missing file headers to the list table classes and adjust class DocBlocks accordingly. 2015-10-17 15:13:25 +00:00
class-wp-posts-list-table.php Administration: Introduce the manage_posts_extra_tablenav action, which fires inside the tablenav for the posts list table, and just outside the "actions" container. 2015-10-18 14:56:23 +00:00
class-wp-press-this.php Press This: Make the regular expressions for matching images easier to read by not requiring escaping. 2015-10-01 05:16:25 +00:00
class-wp-screen.php Screen options: Improve the "Apply" button 2015-10-14 18:58:25 +00:00
class-wp-site-icon.php Site Icon: Get site icon ID only when needed. 2015-10-20 18:23:44 +00:00
class-wp-terms-list-table.php Docs: Add missing file headers to the list table classes and adjust class DocBlocks accordingly. 2015-10-17 15:13:25 +00:00
class-wp-theme-install-list-table.php Docs: Add missing file headers to the list table classes and adjust class DocBlocks accordingly. 2015-10-17 15:13:25 +00:00
class-wp-themes-list-table.php Docs: Add missing file headers to the list table classes and adjust class DocBlocks accordingly. 2015-10-17 15:13:25 +00:00
class-wp-upgrader-skins.php Bump H4 headings to H2 in the Updates screen for better accessibility. 2015-10-16 15:45:28 +00:00
class-wp-upgrader.php Docs: Add missing descriptions for the $wpdb global in DocBlocks all the places. 2015-10-14 23:44:25 +00:00
class-wp-users-list-table.php Docs: Add missing file headers to the list table classes and adjust class DocBlocks accordingly. 2015-10-17 15:13:25 +00:00
comment.php Docs: Add a version to the file header for wp-admin/includes/comment.php. 2015-10-18 14:34:25 +00:00
continents-cities.php
credits.php Move ad hoc functions from wp-admin/credits.php to wp-admin/includes/credits.php, which is only included by the former. 2015-09-11 04:55:26 +00:00
dashboard.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
deprecated.php Docs: Add missing method summaries for the deprecated WP_User_Search class, including prepare_query(), query(), prepare_vars_for_template_usage(), do_paging(), and get_results(). 2015-10-05 02:35:25 +00:00
edit-tag-messages.php Don't redirect to the Term list table after submitting the form on the Edit Term page. 2015-09-15 15:59:42 +00:00
export.php Docs: Add missing descriptions for the $wpdb global in DocBlocks all the places. 2015-10-14 23:44:25 +00:00
file.php Plugins/Updates: in request_filesystem_credentials(), alter the heading HTML tag based on the current screen for improved semantics. 2015-10-21 03:51:24 +00:00
image-edit.php Docs: Put "it's" in its place (again). 2015-09-16 12:46:28 +00:00
image.php After [34374], ensure that $iptc is defined. 2015-09-22 04:49:24 +00:00
import.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
list-table.php List Tables: in _WP_List_Table_Compat::get_column_info(), also return $primary, which is expected since [33016]. 2015-10-07 03:12:24 +00:00
media.php Make some primary action buttons look primary. 2015-10-15 03:08:24 +00:00
menu.php Docs: Wrap a couple of hook name references in inline @see tags in the hook docs for custom_menu_order and menu_order. 2015-10-12 03:39:26 +00:00
meta-boxes.php Taxonomy: get_terms_to_edit() can also return false or WP_Error. Vars using it should be set to empty string when errors are returned to avoid producing fatal errors when used in string operations. 2015-10-13 16:40:26 +00:00
misc.php Formatting: move url_shorten() from wp-admin/includes/misc.php to wp-includes/formatting.php for more global access. 2015-10-21 03:48:24 +00:00
ms-admin-filters.php
ms-deprecated.php Docs: Standardize @deprecated tag formatting for deprecated functions in wp-admin/includes/ms-deprecated.php. 2015-08-20 22:26:24 +00:00
ms.php Filesystem: Following the introduction of the KB|MB|GB|TB_IN_BYTES constants in [35286], use them in various places in core. 2015-10-21 14:03:25 +00:00
nav-menu.php Docs: Add missing descriptions for the $wpdb global in DocBlocks all the places. 2015-10-14 23:44:25 +00:00
network.php Docs: Add missing descriptions for the $wpdb global in DocBlocks all the places. 2015-10-14 23:44:25 +00:00
noop.php Create a new file, wp-admin/includes/noop.php, which loads all of the noop functions for load-script|styles.php and is only loaded by those files. DRYs in the process. 2015-09-11 05:04:23 +00:00
options.php Move ad hoc Options functions to wp-admin/includes/options.php: 2015-09-10 21:45:24 +00:00
plugin-install.php Accessibility: bump headings one level up on the Add Plugins screen for a better headings hierarchy. 2015-10-10 15:17:26 +00:00
plugin.php Plugins: Introduce the delete_plugin transactional hook, which fires immediately after a plugin deletion attempt occurs. 2015-10-13 00:57:25 +00:00
post.php Sample permalink: Improve accessibility of changing the permalink on Edit Post screen. 2015-10-16 23:02:25 +00:00
revision.php Revert [34917] until the broken test is fixed. 2015-10-08 01:04:25 +00:00
schema.php Don't force comment pagination. 2015-10-21 16:26:42 +00:00
screen.php Move WP_Screen to its own file. 2015-09-15 04:08:24 +00:00
taxonomy.php Docs: There are quite alot of typos in core inline comments. 2015-09-30 04:13:48 +00:00
template-functions.php List Tables: Replace the hyphen separator for titles and post/media states with a —. 2015-10-21 14:33:27 +00:00
template.php wp-admin/includes/template.php is now a loader for 3 files made via svn cp: 2015-09-16 15:35:23 +00:00
theme-install.php
theme.php Docs: Improve the hook documentation for the themes_api filter. 2015-09-27 23:01:24 +00:00
translation-install.php Use wp_installing() instead of WP_INSTALLING constant. 2015-10-05 15:06:28 +00:00
update-core.php List Tables: revert the majority of [34467]. This was almost universally abhorred (the JS that disabled the bulk dropdowns). 2015-10-20 04:29:24 +00:00
update.php Revert [34778], continue using _site_option() for the current network. 2015-10-07 17:11:25 +00:00
upgrade.php Docs: Add missing descriptions for the $wpdb global in DocBlocks all the places. 2015-10-14 23:44:25 +00:00
user.php Remove a one-time variable from edit_user() added in [35189]. 2015-10-15 05:46:24 +00:00
widgets.php Accessibility: bump headings one level up on the Appearance > Widgets screen for a better headings hierarchy. 2015-10-10 16:34:25 +00:00