WordPress/wp-includes
Andrew Nacin ac3dd27737 Plugin/Theme Uploads: New capabilities; unify UIs; ensure compatibility with old filters.
Introduce upload_plugins and upload_themes capabilities to allow blocking of plugin and theme uploads, versus the old hacky (and not secure) ways of just hiding UI tabs. These are simply meta capabilities that map to install_plugins and install_themes.
 
Also:
 * Use the same nice design for the plugin upload screen as the theme upload screen.
 * Better compatibility for the old install_themes_tabs filter added in [29002]. see #28578.
 * Ensure using the install_plugins_tabs filter to remove the upload tab removes the new button.
 * Use 'Add Plugins' instead of 'Install Plugins' to match 'Add Themes'.

fixes #29236.

Built from https://develop.svn.wordpress.org/trunk@29634


git-svn-id: http://core.svn.wordpress.org/trunk@29408 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-08-27 01:32:18 +00:00
..
certificates
css Media modals: Better responsive views, especially the header. 2014-08-26 21:50:16 +00:00
fonts Dashicons: Update to the latest dashicons files. 2014-08-17 15:01:16 +00:00
ID3 Disable external entities in ID3. 2014-08-05 19:14:18 +00:00
images Edit Image modal: 2014-03-27 22:41:14 +00:00
js Media: only apply wp-filter class to the grid view toolbar. 2014-08-26 19:06:15 +00:00
pomo Fix some documentation typos in various core files. 2014-08-13 03:56:17 +00:00
SimplePie
Text
theme-compat Eliminate use of extract() in wp-includes/theme-compat/comments-popup.php. 2014-05-13 04:40:16 +00:00
admin-bar.php Customizer: Add meta capability customize which is mapped to edit_theme_options. 2014-07-14 19:01:16 +00:00
atomlib.php
author-template.php Convert documentation of default arguments in wp_list_authors() to the hash-notation style. 2014-06-29 22:34:14 +00:00
bookmark-template.php Add indentation for the hash notation missed in [29108]. 2014-07-11 22:59:16 +00:00
bookmark.php Convert default arguments documentation for get_bookmarks() into a hash notation. 2014-07-11 23:03:13 +00:00
cache.php Fix some words that aren't words. 2014-08-09 19:30:17 +00:00
canonical.php Canonical redirects should only be applied for GET requests. 2014-07-02 14:11:14 +00:00
capabilities.php Plugin/Theme Uploads: New capabilities; unify UIs; ensure compatibility with old filters. 2014-08-27 01:32:18 +00:00
category-template.php Additional @return clarifications for get_the_terms(), get_the_tag_list(), and get_the_term_list(). 2014-08-12 23:48:16 +00:00
category.php Deprecate get_all_category_ids(). Suggest get_terms() as a replacement. 2014-06-05 16:25:14 +00:00
class-feed.php Add access modifiers to methods/members in WP_Feed_Cache, WP_SimplePie_File, and WP_Feed_Cache_Transient. 2014-05-19 05:27:15 +00:00
class-http.php Fix some documentation typos in various core files. 2014-08-13 03:56:17 +00:00
class-IXR.php Fix some documentation typos in various core files. 2014-08-13 03:56:17 +00:00
class-json.php
class-oembed.php Switch the Polldaddy oEmbed endpoint to HTTPS as it now redirects there. See #28507. 2014-08-13 00:17:16 +00:00
class-phpass.php
class-phpmailer.php Update PHPMailer to 5.2.7 from 5.2.4. 2014-03-03 20:25:14 +00:00
class-pop3.php
class-simplepie.php Fix some documentation typos in various core files. 2014-08-13 03:56:17 +00:00
class-smtp.php
class-snoopy.php
class-wp-admin-bar.php In wp-includes/class-wp-admin-bar.php, break is unreachabled after return. 2014-05-06 18:29:15 +00:00
class-wp-ajax-response.php Fix some words that aren't words. 2014-08-09 19:30:17 +00:00
class-wp-customize-control.php Inline documentation cleanup for 4.0 audit. 2014-07-14 00:32:16 +00:00
class-wp-customize-manager.php Customizer: Mixed priority sorting for panels and top-level sections. 2014-08-14 04:43:16 +00:00
class-wp-customize-panel.php Customizer panels: use a single back button for all panels. 2014-08-25 23:05:15 +00:00
class-wp-customize-section.php Customizer: Increase default priority for a section to 160. 2014-08-15 19:36:16 +00:00
class-wp-customize-setting.php Correct the documentation for the customize_save_* action. 2014-08-15 19:49:15 +00:00
class-wp-customize-widgets.php Customizer: Mixed priority sorting for panels and top-level sections. 2014-08-14 04:43:16 +00:00
class-wp-editor.php Editor scrolling: reduce the amount of height jumping on load. 2014-08-26 18:39:17 +00:00
class-wp-embed.php Don't limit WP_Embed::cache_oembed() to posts and pages. 2014-08-20 19:32:16 +00:00
class-wp-error.php Fix some words that aren't words. 2014-08-09 19:30:17 +00:00
class-wp-http-ixr-client.php Add access modifiers to methods/members in WP_HTTP_IXR_Client. 2014-05-19 05:51:15 +00:00
class-wp-image-editor-gd.php Revert [28640] as per @DH-Shredder. 2014-08-01 18:43:16 +00:00
class-wp-image-editor-imagick.php Add ->get_quality() method to WP_Image_Editor class. 2014-06-28 03:50:15 +00:00
class-wp-image-editor.php Add ->get_quality() method to WP_Image_Editor class. 2014-06-28 03:50:15 +00:00
class-wp-theme.php Remove redundant 'Visit author homepage' title attributes for plugins and themes. 2014-06-05 04:52:16 +00:00
class-wp-walker.php Fix some documentation typos in various core files. 2014-08-13 03:56:17 +00:00
class-wp-xmlrpc-server.php XML-RPC: Avoid a PHP notice in pingback_ping() method. 2014-08-11 15:19:18 +00:00
class-wp.php Fix some words that aren't words. 2014-08-09 19:30:17 +00:00
class.wp-dependencies.php WP_Dependencies->recurse_deps(): tuck the recursion into elseif so the foreach doesn't break on the first item. 2014-07-20 00:34:15 +00:00
class.wp-scripts.php WP_Scripts->in_default_dir() should use the WPINC constant 2014-06-29 22:23:15 +00:00
class.wp-styles.php Add missing access modifiers to methods in WP_Scripts and WP_Styles. 2014-05-19 06:17:14 +00:00
comment-template.php Correct a few @param docs for $walker. 2014-07-24 22:25:16 +00:00
comment.php Correct references to post-template.php in the inline docs. 2014-08-12 01:09:17 +00:00
compat.php Constant time for wp_verify_nonce(). 2014-08-06 05:26:16 +00:00
cron.php Avoid an undefined index notice in wp_reschedule_event(). 2014-08-01 20:57:16 +00:00
date.php Fix some documentation typos in various core files. 2014-08-13 03:56:17 +00:00
default-constants.php Revert [28563]. See #18298. 2014-07-09 18:07:16 +00:00
default-filters.php
default-widgets.php Remove remaining title attributes from default-widgets.php, with the exception of the one on the link to WordPress.org. fixes #26552. 2014-08-01 17:05:16 +00:00
deprecated.php LIKE escape sanity: 2014-06-10 00:30:15 +00:00
feed-atom-comments.php Introduce 'rss_tag_pre' action, which fires between the xml and rss tags in a feed. 2014-07-07 10:18:15 +00:00
feed-atom.php Introduce 'rss_tag_pre' action, which fires between the xml and rss tags in a feed. 2014-07-07 10:18:15 +00:00
feed-rdf.php Introduce 'rss_tag_pre' action, which fires between the xml and rss tags in a feed. 2014-07-07 10:18:15 +00:00
feed-rss2-comments.php Introduce 'rss_tag_pre' action, which fires between the xml and rss tags in a feed. 2014-07-07 10:18:15 +00:00
feed-rss2.php Introduce 'rss_tag_pre' action, which fires between the xml and rss tags in a feed. 2014-07-07 10:18:15 +00:00
feed-rss.php
feed.php Correct references to post-template.php in the inline docs. 2014-08-12 01:09:17 +00:00
formatting.php Fix some documentation typos in various core files. 2014-08-13 03:56:17 +00:00
functions.php Clarify that get_the_date(), get_the_time(), get_post_time() and get_post_modified_time() should return false when get_post() is null. 2014-08-01 18:40:16 +00:00
functions.wp-scripts.php In wp_localize_script(), instantiate the $wp_scripts global instead of bailing when it is called before wp_enqueue_scripts. This allows wp_enqueue_media() to be called on the front end with no JS errors. 2014-06-26 01:38:15 +00:00
functions.wp-styles.php
general-template.php Clarify that get_the_date(), get_the_time(), get_post_time() and get_post_modified_time() should return false when get_post() is null. 2014-08-01 18:40:16 +00:00
http.php Convert documentation for default arguments in WP_Http::request() to a hash notation. 2014-07-18 22:01:15 +00:00
kses.php Make wp_kses_no_null() remove any invalid control characters in a string. 2014-07-01 18:01:17 +00:00
l10n.php Language packs: No WPLANG anymore. 2014-08-26 19:59:16 +00:00
link-template.php Use wp_normalize_path() in plugins_url(). 2014-08-05 01:31:16 +00:00
load.php Send nocache_headers() on installation screens and when redirecting to them. 2014-08-25 17:40:16 +00:00
locale.php
media-template.php Media modal: fix the progress bar in the attachment thumbnail. Props gcorne, fixes #29367 2014-08-25 22:45:16 +00:00
media.php MCE View sandboxes: 2014-08-26 04:46:15 +00:00
meta.php After [29339] and [29341], add more unit tests and less ambiguous type-checking before bailing in meta-related functions that expect a numeric value for $object_id. 2014-08-06 22:08:16 +00:00
ms-blogs.php Use 3-digit x.x.x style for two 4.0.0 @since versions. 2014-07-29 00:59:16 +00:00
ms-default-constants.php After [29200], switch back to using static vars instead of adding 2 globals, as per Sergey. 2014-07-19 23:14:15 +00:00
ms-default-filters.php In multisite, on the updated_option action, if the option name is one of: 'blogname', 'siteurl', 'post_count' - refresh the blog details cache for the current blog id. 2014-06-28 04:07:16 +00:00
ms-deprecated.php
ms-files.php
ms-functions.php get_blog_details()->post_count should update on more actions than just publish_post. 2014-06-26 00:53:15 +00:00
ms-load.php Replace all uses of like_escape() with $wpdb->esc_like(). 2014-06-10 00:44:15 +00:00
ms-settings.php Move ms-load.php and ms-default-constants.php inclusion back to ms-settings.php to avoid breaking WP-CLI. 2014-06-30 23:50:15 +00:00
nav-menu-template.php Correct a few @param docs for $walker. 2014-07-24 22:25:16 +00:00
nav-menu.php return false in has_nav_menu() if the $location does not exist in the $_wp_registered_nav_menus global. 2014-06-26 00:57:15 +00:00
option.php Fix the wp-settings-* cookies used in getUserSetting()/setUserSetting(). They should be set without COOKIE_DOMAIN to work properly for sub-domains. Fixes #29095. 2014-08-13 02:47:16 +00:00
pluggable-deprecated.php
pluggable.php Require a non-empty $nonce value in wp_verify_nonce(). 2014-08-26 07:39:19 +00:00
plugin.php After [29422], make sure the internal array counter is not reset for the $wp_filter global. 2014-08-12 14:47:17 +00:00
post-formats.php
post-template.php MediaElement upgrade: cleanup for generated markup for videos. 2014-08-07 05:53:15 +00:00
post-thumbnail-template.php Revert [27166]. 2014-03-26 18:43:14 +00:00
post.php Correct the docblock for the registered_post_type action. Fixes #29184. 2014-08-11 21:21:16 +00:00
query.php Fix a couple of misplaced/misordered argument descriptions in the WP_Query arguments hash notation. 2014-08-23 19:36:17 +00:00
registration-functions.php
registration.php
revision.php Remove backticks on $post variables in some short parameter descriptions. 2014-07-03 19:28:14 +00:00
rewrite.php WP_Query was only missing one access modifier. 2014-05-19 17:41:13 +00:00
rss-functions.php
rss.php Fix some documentation typos in various core files. 2014-08-13 03:56:17 +00:00
script-loader.php Fix the wp-settings-* cookies used in getUserSetting()/setUserSetting(). They should be set without COOKIE_DOMAIN to work properly for sub-domains. Fixes #29095. 2014-08-13 02:47:16 +00:00
session.php Clean up some missing @access tags and other tweaks for 4.0.0-functionality docs. 2014-08-09 19:32:16 +00:00
shortcodes.php After [29197], use ! empty() instead of isset(). Don't call has_shortcode() internally twice if it's true. 2014-07-17 17:38:13 +00:00
taxonomy.php wp_update_term() should mimic wp_insert_term() and set a value for $term_group before the alias_of logic runs. This ensures that $term_group exists when compact() is called. 2014-08-20 17:04:18 +00:00
template-loader.php
template.php Revert [28563]. See #18298. 2014-07-09 18:07:16 +00:00
theme.php Fix a typo in the PHPDoc for get_stylesheet(). 2014-07-23 05:11:16 +00:00
update.php Add 'Details' links to installed plugins. 2014-07-18 20:49:17 +00:00
user.php Fix some words that aren't words. 2014-08-09 19:30:17 +00:00
vars.php
version.php Plugin/Theme Uploads: New capabilities; unify UIs; ensure compatibility with old filters. 2014-08-27 01:32:18 +00:00
widgets.php Fix a typo in the PHPDoc for wp_register_sidebar_widget(). 2014-07-23 17:21:18 +00:00
wlwmanifest.xml
wp-db.php Add periods to short descriptions for magic methods added in [28501], [28521], and [28524]. 2014-07-14 01:12:14 +00:00
wp-diff.php Fix some documentation typos in various core files. 2014-08-13 03:56:17 +00:00