WordPress/wp-admin
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
..
css Themes: Wrap unusually long theme names on the Theme Details screen. 2016-06-26 14:27:25 +00:00
images Add grunt prerelease task 2016-03-10 05:37:27 +00:00
includes Posts: Introduce WP_Post_Type and use it in register_post_type() and unregister_post_type(). 2016-06-28 16:41:35 +00:00
js Multisite: Change WP_Network id property to an integer. 2016-06-26 14:26:29 +00:00
maint Multisite: Change WP_Network id property to an integer. 2016-06-26 14:26:29 +00:00
network Comments: Improve author and content of the default comment. 2016-06-28 10:03:27 +00:00
user 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
about.php About Page: Add Final Video 2016-04-12 17:25:28 +00:00
admin-ajax.php Editor: after inserting a link detect if the URL is broken, first run. 2016-06-17 20:41:28 +00:00
admin-footer.php Docs: Standardize DocBlock summaries for hooks that serve to "print" something to use third-person singular verbs. 2016-05-25 16:05:27 +00:00
admin-functions.php First there were two, and now there are three -- in the @since versions that came before and that shall be. And so it will be, says nacin. 2013-12-24 18:57:12 +00:00
admin-header.php Docs: Standardize DocBlock summaries for hooks that serve to "print" something to use third-person singular verbs. 2016-05-25 16:05:27 +00:00
admin-post.php Spelling: Standardize on "front end"/"back end" (noun) and "front-end"/"back-end" (adjective). 2016-02-25 12:53:27 +00:00
admin.php Docs: Apply inline @see tags to hooks referenced in DocBlocks for wp-admin/* files. 2016-05-23 17:28:27 +00:00
async-upload.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: Replace HTTP links with HTTPS. 2016-06-10 04:50:33 +00:00
credits.php Credits: Add a missing closing tag. 2016-05-14 18:58:31 +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 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
customize.php Docs: Standardize DocBlock summaries for hooks that serve to "print" something to use third-person singular verbs. 2016-05-25 16:05:27 +00:00
edit-comments.php Allow searching for 0 throughout the admin. 2016-01-14 20:06:25 +00:00
edit-form-advanced.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
edit-form-comment.php DOCS: Replace HTTP links with HTTPS. 2016-06-10 04:50:33 +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 I18N: Add context and translator comments to Back to %s strings. 2016-06-14 21:51:28 +00:00
edit-tags.php Taxonomy: Introduce a redirect_term_location filter to change the redirect on term editing. 2016-06-14 15:06:30 +00:00
edit.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
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
freedoms.php DOCS: Replace HTTP links with HTTPS. 2016-06-10 04:50:33 +00:00
import.php Update/Install: Shiny Updates v2. 2016-06-15 16:37:29 +00:00
index.php Accessibility: Help text improvements. 2016-06-10 21:43:29 +00:00
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 I18N: Remove <code> tags from translatable strings in wp-admin/install.php. 2016-02-24 01:22:26 +00:00
link-add.php
link-manager.php Allow searching for 0 throughout the admin. 2016-01-14 20:06:25 +00:00
link-parse-opml.php
link.php
load-scripts.php Bootstrap/Load: Allow for ABSPATH to be defined outside of wp-load.php, e.g. in a script loaded via auto_prepend_file. 2016-04-14 17:53:28 +00:00
load-styles.php Bootstrap/Load: Allow for ABSPATH to be defined outside of wp-load.php, e.g. in a script loaded via auto_prepend_file. 2016-04-14 17:53:28 +00:00
media-new.php media-new.php, when using the browser uploader, if the result of uploading is a WP_Error - wp_die() with the error, instead of redirecting with a generic error. 2015-09-10 17:18:24 +00:00
media-upload.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
media.php Media: Change wording for media files which aren't attached. 2016-03-08 17:43:25 +00:00
menu-header.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
menu.php Docs: Standardize on 'backward compatibility/compatible' nomenclature in core inline docs. 2016-05-13 18:41:31 +00:00
moderation.php
ms-admin.php
ms-delete-site.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
ms-edit.php
ms-options.php
ms-sites.php
ms-themes.php
ms-upgrade-network.php
ms-users.php
my-sites.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
nav-menus.php Menus: Support nested array variables in POST data when saving menus. 2016-06-19 12:25:28 +00:00
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 DOCS: Replace HTTP links with HTTPS. 2016-06-10 04:50:33 +00:00
options-general.php DOCS: Replace HTTP links with HTTPS. 2016-06-10 04:50:33 +00:00
options-head.php Docs: Standardize on 'backward compatibility/compatible' nomenclature in core inline docs. 2016-05-13 18:41:31 +00:00
options-media.php Remove <code> tag from translatable string in wp-admin/options-media.php. 2015-11-06 00:28:25 +00:00
options-permalink.php Permalinks: Validate custom permalink structures. 2016-06-19 12:02:29 +00:00
options-reading.php Move ad hoc Options functions to wp-admin/includes/options.php: 2015-09-10 21:45:24 +00:00
options-writing.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
options.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
plugin-editor.php Accessibility: Help text improvements. 2016-06-10 21:43:29 +00:00
plugin-install.php Update/Install: Shiny Updates v2. 2016-06-15 16:37:29 +00:00
plugins.php Update/Install: Shiny Updates v2. 2016-06-15 16:37:29 +00:00
post-new.php Provide more helpful feedback than just "Cheatin' uh?" for permission errors in wp-admin/post-new.php. 2015-09-02 18:36:22 +00:00
post.php Posts: Fire a post_action_{$action} action for a custom post action request. 2016-05-12 15:44:28 +00:00
press-this.php Provide more helpful feedback than just "Cheatin' uh?" for permission errors in wp-admin/press-this.php. 2015-09-02 18:38:21 +00:00
profile.php
revision.php Revisions: Change the capability needed to view revision diffs to edit_post. 2016-06-21 14:22:26 +00:00
setup-config.php Setup: Sanity check for invalid table prefixes. 2016-05-27 01:54:28 +00:00
term.php Taxonomy: After [36874], rename $term_id to $tag_ID in wp-admin/edit-tag-form.php. 2016-03-11 08:52:29 +00:00
theme-editor.php Accessibility: Help text improvements. 2016-06-10 21:43:29 +00:00
theme-install.php Accessibility: Theme Installer, make the "Upload Theme" button... a button. 2016-06-17 20:47:28 +00:00
themes.php Update/Install: Shiny Updates v2. 2016-06-15 16:37:29 +00:00
tools.php Bump H3 headings to H2 on Tools screen for better accessibility. 2015-08-31 03:32:21 +00:00
update-core.php I18N: On the Updates screen simplify plugin's version details link. 2016-04-06 12:52:30 +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 Install/Upgrade: Keep indexing bots away until a site is ready to be seen. 2015-12-08 21:56:27 +00:00
upload.php Media: Fix typo introduced in [36887]. 2016-03-14 09:00:28 +00:00
user-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
user-new.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
users.php Accessibility: Help text improvements. 2016-06-10 21:43:29 +00:00
widgets.php After [36171] remove all the occurrences of the old CSS clearfix. 2016-01-30 13:46:27 +00:00