WordPress/wp-includes
Scott Taylor 1daa7d6723 Leverage `size_format()` when displaying `max_upload_size`:
* In `media_upload_form()` 
* The `uploader-inline` Underscore template in the media modal. 

Replaces 2 buggy inline implementations that could display size units off by one, or size values off by one.

Fixes #25643.


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


git-svn-id: http://core.svn.wordpress.org/trunk@28171 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-05-07 18:25:14 +00:00
..
ID3
SimplePie
Text
certificates WP_HTTP: Update the Root Certificate bundle used for SSL communication by WP_HTTP. 2014-02-27 02:33:14 +00:00
css Fix arrow positioning in "Insert/edit link" modal. 2014-05-01 21:21:15 +00:00
fonts Update Dashicons. 2014-04-07 17:52:16 +00:00
images Edit Image modal: 2014-03-27 22:41:14 +00:00
js Customizer: Avoid hiding 'Remove' buttons unrelated to custom headers. 2014-05-06 04:14:14 +00:00
pomo Fix strict notices in Tests_POMO_PO. 2013-12-01 12:48:10 +00:00
theme-compat Theme compat: Move <head profile> to <link>. 2014-03-25 17:22:15 +00:00
admin-bar.php Reference https://wordpress.org rather than http://wordpress.org in strings, links, comments, etc. 2014-03-03 02:34:27 +00:00
atomlib.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
author-template.php Remove duplicate variable setting for `$link` in `wp_list_authors()`. 2014-05-06 03:52:15 +00:00
bookmark-template.php Remove old links_recently_updated_* DB options that never had a UI. 2014-04-03 03:10:15 +00:00
bookmark.php In `wp-includes/bookmark.php`, remove dead code: 2014-05-06 18:22:16 +00:00
cache.php Rather than removing the 3rd argument in `WP_Object_Cache::delete()`, mark it as `$deprecated`. 2014-02-11 16:41:12 +00:00
canonical.php Clean up duplicate hook notations and adjacency for calls to the `wp_signup_location` filter. 2014-04-25 07:12:14 +00:00
capabilities.php Don't default to current user for capability checks when dealing with a post without an author (post_author = 0). 2014-03-04 03:09:15 +00:00
category-template.php Popular tags' edit links should respect the current post type. Adds unit test. 2014-03-25 18:40:15 +00:00
category.php Avoid a notice in `get_the_category_by_ID()` when `is_wp_error( $term )` is false but `$term->name` is not set. Clarify the `@return` value of `get_category()` and `get_tag()` which return the same possible types as `get_term()`, which they wrap. 2014-03-13 04:04:15 +00:00
class-IXR.php Allow query strings for servers in IXR_Client and WP_HTTP_IXR_Client. 2014-03-15 05:01:14 +00:00
class-feed.php
class-http.php In `WP_Http_Curl::request()`, `$theResponse` is unused. There are other `curl_exec()` calls that do not return as well. 2014-05-06 18:26:14 +00:00
class-json.php
class-oembed.php Don't pass variables by reference. 2014-04-05 18:17:14 +00:00
class-phpass.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
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
class-smtp.php Update PHPMailer to 5.2.7 from 5.2.4. 2014-03-03 20:25:14 +00:00
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
class-wp-customize-control.php Customizer: Correct reference to the 'Add new image' button. 2014-04-19 19:45:14 +00:00
class-wp-customize-manager.php Customizer: Properly handle widget settings when activating a previewed theme. 2014-04-14 22:46:16 +00:00
class-wp-customize-section.php Improve some inline documentation for class properties in `WP_Customize_Section`. 2014-04-02 03:02:16 +00:00
class-wp-customize-setting.php In `wp-includes/class-wp-customize-setting.php`, `break` is unreachable after `return`. 2014-05-06 18:34:14 +00:00
class-wp-customize-widgets.php Widgets: Remove create_function() from the customizer class. 2014-04-16 00:11:35 +00:00
class-wp-editor.php Improve TinyMCE string for paste command browser support. 2014-04-25 21:20:14 +00:00
class-wp-embed.php Priority fixes for various existing hook documentation. 2014-04-12 00:01:15 +00:00
class-wp-error.php
class-wp-http-ixr-client.php Allow query strings for servers in IXR_Client and WP_HTTP_IXR_Client. 2014-03-15 05:01:14 +00:00
class-wp-image-editor-gd.php In `multi_resize()` image editor methods, assert that `null` can only be passed for one of the arguments, not both. Add a lot more unit test assertions to ensure this. 2014-03-27 20:40:17 +00:00
class-wp-image-editor-imagick.php In `multi_resize()` image editor methods, assert that `null` can only be passed for one of the arguments, not both. Add a lot more unit test assertions to ensure this. 2014-03-27 20:40:17 +00:00
class-wp-image-editor.php In `WP_Image_Editor::get_output_format()`, `$file_mime` and `$file_ext` are set twice before they are used. 2014-05-06 18:37:29 +00:00
class-wp-theme.php Use suggested language conventions in the hook docs description for the `theme_page_templates` filter. 2014-04-07 20:18:14 +00:00
class-wp-walker.php In `Walker::walk()` and `Walker::paged_walk()`, `$id_field` is set and never used. 2014-05-06 21:09:19 +00:00
class-wp-xmlrpc-server.php Priority fixes for various existing hook documentation. 2014-04-12 00:01:15 +00:00
class-wp.php Add post_parent to the private query vars list. Fixes detached media queries. 2014-03-27 16:37:16 +00:00
class.wp-dependencies.php
class.wp-scripts.php Inline documentation for hooks in wp-includes/class.wp-scripts.php. 2014-03-26 05:48:14 +00:00
class.wp-styles.php Ensure the `style_loader_tag` filter hook is only documented once. 2014-04-25 06:29:14 +00:00
comment-template.php In `wp-includes/comment-template.php`, remove dead code: 2014-05-06 21:15:17 +00:00
comment.php In `wp_set_comment_status()`, the `default` case returns, so no default value for `$status` is needed. 2014-05-06 21:17:15 +00:00
compat.php
cron.php Cron: Fix a case where a cache inconsistency can cause wp_clear_scheduled_hook() to enter an infinite loop. This unravels the function from using other cron api functions to looping over the cron array directly. See #25773 2013-12-07 09:13:11 +00:00
date.php In `WP_Date_Query::get_sql_for_subquery()`, don't parse duplicate parameters - only parse one of `w` and `week` or `month` and `monthnum`. 2014-05-04 23:07:14 +00:00
default-constants.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
default-filters.php Allow for custom authentication handlers for all requests. 2014-03-09 15:23:15 +00:00
default-widgets.php Use '&mdash; Select &mdash;' instead of '-- Select --' for nav menus. Looks nicer. 2014-04-25 00:35:25 +00:00
deprecated.php Clean up deprecated format_to_post() docs. see #27700. 2014-04-07 22:23:14 +00:00
feed-atom-comments.php Inline documentation for hooks in wp-includes/feed-atom-comments.php. 2013-12-21 20:22:12 +00:00
feed-atom.php
feed-rdf.php
feed-rss.php
feed-rss2-comments.php
feed-rss2.php
feed.php Where a filter no longer exists, it need not be notated. 2014-05-06 05:38:15 +00:00
formatting.php Add braces to wptexturize() after [27839]. see #22692. 2014-03-29 09:00:15 +00:00
functions.php In `wp-includes/functions.php`, remove dead code: 2014-05-06 21:23:14 +00:00
functions.wp-scripts.php
functions.wp-styles.php
general-template.php In `paginate_links()`, `break` is unreachable after `return`. 2014-05-06 21:25:15 +00:00
http.php Remove by-reference modifiers from arguments in `wp_remote_retrieve_*` functions. 2014-05-05 18:46:15 +00:00
kses.php Inline documentation for hooks in wp-includes/kses.php. 2014-03-26 14:57:15 +00:00
l10n.php Priority fixes for various existing hook documentation. 2014-04-12 00:01:15 +00:00
link-template.php In `edit_post_link()`, `$post_type_obj` is unused. 2014-05-06 21:27:15 +00:00
load.php Revert the conversion of adjacent post queries to WP_Query. Explanation on the ticket. 2014-03-29 06:03:15 +00:00
locale.php
media-template.php Leverage `size_format()` when displaying `max_upload_size`: 2014-05-07 18:25:14 +00:00
media.php `audio`, `video`, and `playlist` shortcodes: 2014-05-07 17:36:18 +00:00
meta.php In `update_metadata_by_mid()`, `$original_value` is unused. 2014-05-06 21:29:26 +00:00
ms-blogs.php Fix the return description for `switch_to_blog()` to reflect that it always returns true. 2014-03-02 04:41:15 +00:00
ms-default-constants.php
ms-default-filters.php
ms-deprecated.php Theme compat: Move <head profile> to <link>. 2014-03-25 17:22:15 +00:00
ms-files.php
ms-functions.php Use correct column name. See [27152]. 2014-03-29 03:39:14 +00:00
ms-load.php In `get_network_by_path()`, `$exact_domains` is unused. 2014-05-06 21:32:16 +00:00
ms-settings.php Multisite: Fix case sensitivity regressions in 3.9. 2014-05-06 05:24:14 +00:00
nav-menu-template.php In `Walker_Nav_Menu::start_el()`, `$class_names` is set twice before it is used. 2014-05-06 21:33:14 +00:00
nav-menu.php Correct @return value for wp_create_nav_menu() and wp_delete_nav_menu(). 2014-05-02 11:59:14 +00:00
option.php Introduce `pre_update_option` filter. 2014-03-28 13:57:14 +00:00
pluggable-deprecated.php Reference https://wordpress.org rather than http://wordpress.org in strings, links, comments, etc. 2014-03-03 02:34:27 +00:00
pluggable.php Harden HMAC verification. props duck_. 2014-04-08 18:06:16 +00:00
plugin.php Add a missing `@since 3.9.0` to the PHPDoc for `wp_register_plugin_realpath()`. 2014-04-07 21:34:14 +00:00
post-formats.php Allow has_post_format() to be used to check for any format. 2013-11-24 13:45:10 +00:00
post-template.php In `wp_get_attachment_link()`, `$post_title` is set and then not used. 2014-05-06 21:35:16 +00:00
post-thumbnail-template.php Revert [27166]. 2014-03-26 18:43:14 +00:00
post.php In `get_pages()`, `$cache` does not need to be reset to an empty array. `update_post_cache( $pages )` takes care of priming. 2014-05-06 21:39:14 +00:00
query.php In `WP_Query`, remove duplicate variable setting: 2014-05-06 21:43:20 +00:00
registration-functions.php
registration.php
revision.php In `wp-includes/revision.php` - remove dead code: 2014-05-07 03:38:16 +00:00
rewrite.php Fix PHPDoc formatting for `WP_Rewrite::add_endpoint()`. 2014-04-07 21:39:15 +00:00
rss-functions.php
rss.php
script-loader.php In `print_admin_styles()`, `$zip` is never used after being set. `$compress_css` does not need to be imported. 2014-05-07 03:47:14 +00:00
shortcodes.php Bail early from shortcode functions if no delimiter is present. 2014-03-04 07:11:13 +00:00
taxonomy.php Correct 'show_in_menu' parameter description in register_taxonomy(). 2014-05-02 11:29:13 +00:00
template-loader.php
template.php Inline documentation improvements for get_*_template() functions in wp-includes/template.php. 2014-01-05 17:55:11 +00:00
theme.php In `wp-includes/theme.php`, `break` is unreachable after `return`. 2014-05-07 03:50:14 +00:00
update.php Translate a string added in 3.7.1 but never translated previously. 2014-04-16 00:38:14 +00:00
user.php User Query: Don't blindly re-append new meta queries for capabilities. 2014-04-12 19:04:15 +00:00
vars.php Update the wp-inclues/vars.php file header to include Nginx as a recognized web server. 2014-01-10 18:15:13 +00:00
version.php TinyMCE: when adding a caption to an image that is in a paragraph with other text, move the caption node above the paragraph instead of below. See #27922, for trunk. 2014-04-23 20:42:14 +00:00
widgets.php In `WP_Widget::update_callback()`, `$sidebars_widgets` is unused. 2014-05-07 03:52:15 +00:00
wlwmanifest.xml The Pinking Shears stir from their slumber, awakened by what may seem, to those 2013-12-11 19:49:11 +00:00
wp-db.php In `wpdb`, remove dead code: 2014-05-07 03:56:14 +00:00
wp-diff.php