WordPress/wp-admin/includes
Dominik Schilling 60dc856d64 Posts: Introduce `WP_Post_Type` and use it in `register_post_type()` and `unregister_post_type()`.
This changes the global `$wp_post_types` to an array of `WP_Post_Type` objects. `WP_Post_Type` includes methods to handle post type supports, rewrite rules, meta boxes, hooks, and taxonomies.
Each post type argument becomes a property of `WP_Post_Type`.

Props swissspidy, flixos90.
Fixes #36217.
Built from https://develop.svn.wordpress.org/trunk@37890


git-svn-id: http://core.svn.wordpress.org/trunk@37831 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-06-28 16:41:35 +00:00
..
admin-filters.php Editor: ensure the page is refreshed when the users navigate to it with the Back or Forward buttons. In these cases the browsers usually load the page from (memory) cache and it contains the old editor content. 2016-06-02 01:30:27 +00:00
admin.php Add grunt prerelease task 2016-03-10 05:37:27 +00:00
ajax-actions.php Revisions: Change the capability needed to view revision diffs to `edit_post`. 2016-06-21 14:22:26 +00:00
bookmark.php Links: Rename the `$link_id` parameter in `get_link_to_edit()` to `$link` to better reflect that it can accept a link ID or object. 2016-05-02 23:43:27 +00:00
class-automatic-upgrader-skin.php Upgrader: Add changelog entries for when the classes were moved to its own file. 2016-05-13 20:59:27 +00:00
class-bulk-plugin-upgrader-skin.php Docs: Standardize hook docs in wp-admin/* to use third-person singular verbs per the inline documentation standards for PHP. 2016-05-22 18:01:30 +00:00
class-bulk-theme-upgrader-skin.php Docs: Standardize hook docs in wp-admin/* to use third-person singular verbs per the inline documentation standards for PHP. 2016-05-22 18:01:30 +00:00
class-bulk-upgrader-skin.php Upgrader: Add changelog entries for when the classes were moved to its own file. 2016-05-13 20:59:27 +00:00
class-core-upgrader.php Docs: Standardize hook docs in wp-admin/* to use third-person singular verbs per the inline documentation standards for PHP. 2016-05-22 18:01:30 +00:00
class-file-upload-upgrader.php Upgrader: Add changelog entries for when the classes were moved to its own file. 2016-05-13 20:59:27 +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 Filesystem: Avoid PHP warnings when using the FTP Sockets class. 2015-12-15 03:12:26 +00:00
class-language-pack-upgrader-skin.php Docs: Standardize hook docs in wp-admin/* to use third-person singular verbs per the inline documentation standards for PHP. 2016-05-22 18:01:30 +00:00
class-language-pack-upgrader.php Upgrade: Trigger the `upgrader_process_complete` action for translation updates. 2016-06-11 17:44:28 +00:00
class-pclzip.php Deprecate php4 style constructors 2015-06-28 15:27:24 +00:00
class-plugin-installer-skin.php Docs: Standardize hook docs in wp-admin/* to use third-person singular verbs per the inline documentation standards for PHP. 2016-05-22 18:01:30 +00:00
class-plugin-upgrader-skin.php Docs: Standardize hook docs in wp-admin/* to use third-person singular verbs per the inline documentation standards for PHP. 2016-05-22 18:01:30 +00:00
class-plugin-upgrader.php Upgrader: Add changelog entries for when the classes were moved to its own file. 2016-05-13 20:59:27 +00:00
class-theme-installer-skin.php Docs: Standardize hook docs in wp-admin/* to use third-person singular verbs per the inline documentation standards for PHP. 2016-05-22 18:01:30 +00:00
class-theme-upgrader-skin.php Docs: Standardize hook docs in wp-admin/* to use third-person singular verbs per the inline documentation standards for PHP. 2016-05-22 18:01:30 +00:00
class-theme-upgrader.php Upgrader: Add changelog entries for when the classes were moved to its own file. 2016-05-13 20:59:27 +00:00
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 Customize: Fix toggle of title attribute field visibility on nav menus admin page. 2016-03-30 21:55:27 +00:00
class-wp-automatic-upgrader.php Docs: Standardize hook docs in wp-admin/* to use third-person singular verbs per the inline documentation standards for PHP. 2016-05-22 18:01:30 +00:00
class-wp-comments-list-table.php DOCS: Replace HTTP links with HTTPS. 2016-06-10 04:50:33 +00:00
class-wp-filesystem-base.php Update/Install: Shiny Updates v2. 2016-06-15 16:37:29 +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 Filesystem: Revert [33648] and [34733] unfortunately these have caused issues for some servers, while fixing it for others. 2015-12-15 02:36:28 +00:00
class-wp-filesystem-ftpsockets.php Filesystem: Revert [33648] and [34733] unfortunately these have caused issues for some servers, while fixing it for others. 2015-12-15 02:36:28 +00:00
class-wp-filesystem-ssh2.php Docs: Add missing return descriptions for `WP_Filesystem_SSH2::chown()` and `WP_Filesystem_SSH2::run_command()`. 2016-04-21 02:38:29 +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 Taxonomy: Remove unnecessary 'All categories' string on Edit Posts and Edit Links screens and use taxonomy's `all_items` label instead. 2016-03-02 22:14:25 +00:00
class-wp-list-table.php Users: Stop WP_List_Table notices from persisting on pagination navigation. 2016-06-09 01:56:27 +00:00
class-wp-media-list-table.php Admin: Escape attachment name in case it contains special characters 2016-06-21 14:20:55 +00:00
class-wp-ms-sites-list-table.php Docs: Add a missing summary and `@since` version to the DocBlock for `WP_MS_Sites_List_Table::prepare_items()`. 2016-06-17 16:06:31 +00:00
class-wp-ms-themes-list-table.php Update/Install: Shiny Updates v2. 2016-06-15 16:37:29 +00:00
class-wp-ms-users-list-table.php Docs: Standardize hook docs in wp-admin/* to use third-person singular verbs per the inline documentation standards for PHP. 2016-05-22 18:01:30 +00:00
class-wp-plugin-install-list-table.php Update/Install: Shiny Updates v2. 2016-06-15 16:37:29 +00:00
class-wp-plugins-list-table.php Update/Install: Shiny Updates v2. 2016-06-15 16:37:29 +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 Posts: Introduce `WP_Post_Type` and use it in `register_post_type()` and `unregister_post_type()`. 2016-06-28 16:41:35 +00:00
class-wp-press-this.php Docs: Apply inline `@see` tags to hooks referenced in DocBlocks for wp-admin/* files. 2016-05-23 17:28:27 +00:00
class-wp-screen.php Docs: Standardize hook docs in wp-admin/* to use third-person singular verbs per the inline documentation standards for PHP. 2016-05-22 18:01:30 +00:00
class-wp-site-icon.php Docs: Standardize hook docs in wp-admin/* to use third-person singular verbs per the inline documentation standards for PHP. 2016-05-22 18:01:30 +00:00
class-wp-terms-list-table.php Docs: Standardize hook docs in wp-admin/* to use third-person singular verbs per the inline documentation standards for PHP. 2016-05-22 18:01:30 +00:00
class-wp-theme-install-list-table.php Docs: Standardize hook docs in wp-admin/* to use third-person singular verbs per the inline documentation standards for PHP. 2016-05-22 18:01:30 +00:00
class-wp-themes-list-table.php Text Changes: Consistently refer to https://wordpress.org/plugins/ and https://wordpress.org/themes/ as WordPress Plugin Directory and WordPress Theme Directory, respectively. 2016-04-22 06:57:26 +00:00
class-wp-upgrader-skin.php Update/Install: Shiny Updates v2. 2016-06-15 16:37:29 +00:00
class-wp-upgrader-skins.php Upgrader: Update `wp-admin/includes/class-wp-upgrader-skins.php` to `require_once` the new files added in [37406]. 2016-05-10 11:42:26 +00:00
class-wp-upgrader.php Update/Install: Shiny Updates v2. 2016-06-15 16:37:29 +00:00
class-wp-users-list-table.php Docs: Standardize hook docs in wp-admin/* to use third-person singular verbs per the inline documentation standards for PHP. 2016-05-22 18:01:30 +00:00
comment.php Docs: Standardize hook docs in wp-admin/* to use third-person singular verbs per the inline documentation standards for PHP. 2016-05-22 18:01:30 +00:00
continents-cities.php I18N: Update list of continents and cities for the timezone selection. 2016-05-24 23:24:27 +00:00
credits.php Docs: Miscellaneous docblock corrections. 2015-12-23 06:31:27 +00:00
dashboard.php DOCS: Replace HTTP links with HTTPS. 2016-06-10 04:50:33 +00:00
deprecated.php Editor: ensure the page is refreshed when the users navigate to it with the Back or Forward buttons. In these cases the browsers usually load the page from (memory) cache and it contains the old editor content. 2016-06-02 01:30:27 +00:00
edit-tag-messages.php Docs: Standardize hook docs in wp-admin/* to use third-person singular verbs per the inline documentation standards for PHP. 2016-05-22 18:01:30 +00:00
export.php Docs: Standardize hook docs in wp-admin/* to use third-person singular verbs per the inline documentation standards for PHP. 2016-05-22 18:01:30 +00:00
file.php Updates: Only use the filename component of URLs to form part of the temporary filename. 2016-05-31 02:21:29 +00:00
image-edit.php Docs: Standardize hook docs in wp-admin/* to use third-person singular verbs per the inline documentation standards for PHP. 2016-05-22 18:01:30 +00:00
image.php Docs: Standardize hook docs in wp-admin/* to use third-person singular verbs per the inline documentation standards for PHP. 2016-05-22 18:01:30 +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 Docs: `@param` fixes for a variety of docblocks. 2016-01-09 01:45:26 +00:00
media.php Docs: Add missing variable reference for `wp_edit_form_attachment_display`. 2016-06-27 01:54:30 +00:00
menu.php Docs: Standardize hook docs in wp-admin/* to use third-person singular verbs per the inline documentation standards for PHP. 2016-05-22 18:01:30 +00:00
meta-boxes.php Accessibility: Help text improvements. 2016-06-10 21:43:29 +00:00
misc.php DOCS: Replace HTTP links with HTTPS. 2016-06-10 04:50:33 +00:00
ms-admin-filters.php Users: Display the new user email notice in user admin too. 2016-02-07 13:54:25 +00:00
ms-deprecated.php Docs: Standardize the file header for wp-admin/includes/ms-deprecated.php. 2015-10-27 20:08:27 +00:00
ms.php Multisite: Remove superfluous code from `network_edit_site_nav()` 2016-06-02 22:29:27 +00:00
nav-menu.php Posts: Introduce `WP_Post_Type` and use it in `register_post_type()` and `unregister_post_type()`. 2016-06-28 16:41:35 +00:00
network.php DOCS: Replace HTTP links with HTTPS. 2016-06-10 04:50:33 +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 Networks and sites: Replace "blog" usage with "site" in docs. 2016-01-28 03:35:27 +00:00
plugin-install.php Update/Install: Shiny Updates v2. 2016-06-15 16:37:29 +00:00
plugin.php Plugins: Fix order of arguments for the `strpos()` function added in [37562]. 2016-05-26 23:15:31 +00:00
post.php Admin: escape URL-encoded permalinks 2016-06-21 14:46:49 +00:00
revision.php Docs: Standardize hook docs in wp-admin/* to use third-person singular verbs per the inline documentation standards for PHP. 2016-05-22 18:01:30 +00:00
schema.php DOCS: Replace HTTP links with HTTPS. 2016-06-10 04:50:33 +00:00
screen.php Docs: Update the return notation for `get_current_screen()` to note that `null` can also be returned if the screen has not been defined. 2016-05-23 16:34:28 +00:00
taxonomy.php Store only term IDs in object term relationships caches. 2016-05-26 04:50:27 +00:00
template.php Autosave: improve the notice when the sessionStorage autosave is different than the content. 2016-06-17 03:02:29 +00:00
theme-install.php Accessibility: Add missing label for the theme upload input. 2015-12-16 07:56:29 +00:00
theme.php Update/Install: Shiny Updates v2. 2016-06-15 16:37:29 +00:00
translation-install.php Docs: Standardize hook docs in wp-admin/* to use third-person singular verbs per the inline documentation standards for PHP. 2016-05-22 18:01:30 +00:00
update-core.php Docs: Standardize hook docs in wp-admin/* to use third-person singular verbs per the inline documentation standards for PHP. 2016-05-22 18:01:30 +00:00
update.php Update/Install: Shiny Updates v2. 2016-06-15 16:37:29 +00:00
upgrade.php Comments: Improve author and content of the default comment. 2016-06-28 10:03:27 +00:00
user.php Docs: Apply inline `@see` tags to hooks referenced in DocBlocks for wp-admin/* files. 2016-05-23 17:28:27 +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