WordPress/wp-admin
Scott Taylor ee97a47c61 In `_wp_handle_upload()`, if `test_upload` is set to `false` in the array of dangerous overrides that the function allows, the only thing that happens when an upload fails is more potential breakage.
`$test_uploaded_file` lets is know if `$file['tmp_name']` exists, which allows to exit with an error, instead of continuing to attempt to move the file.

`$test_upload` override is now a noop.

Fixes #28208.

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


git-svn-id: http://core.svn.wordpress.org/trunk@30076 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-10-28 21:17:22 +00:00
..
css Don't cascade autoprefixer output 2014-10-28 20:45:23 +00:00
images Convert the post lock icon to a dashicon. 2014-03-04 06:53:14 +00:00
includes In `_wp_handle_upload()`, if `test_upload` is set to `false` in the array of dangerous overrides that the function allows, the only thing that happens when an upload fails is more potential breakage. 2014-10-28 21:17:22 +00:00
js Fix JSHint errors introduced in [30014]. 2014-10-26 12:06:19 +00:00
maint Remove the WordPress logo from the focusable elements on the install/update screens. Fixes #28674. Props stompweb 2014-06-29 14:10:15 +00:00
network Optimize site query when performing network database upgrades 2014-10-26 22:10:19 +00:00
user Add missing Dashicons classes to User Admin menu. 2014-05-06 07:58:15 +00:00
about.php Final about page for 4.0. Enjoy the videos! 2014-09-04 15:05:18 +00:00
admin-ajax.php Add a new AJAX action: `parse-media-shortcode`. This async call will replace JS rendering of audio/video/playlist shortcodes. 2014-07-15 22:08:14 +00:00
admin-footer.php Use SSL when linking to WordPress.org. see #27115. 2014-03-08 04:14:15 +00:00
admin-functions.php
admin-header.php Customizer: Add meta capability `customize` which is mapped to `edit_theme_options`. 2014-07-14 19:01:16 +00:00
admin-post.php Because the `WP_ADMIN` constant name can be bound in multiple files, all instances should check `! defined` first. `wp-admin/admin.php` already has this check. 2014-05-18 20:42:16 +00:00
admin.php Fix syntax for single- and multi-line comments in wp-admin-directory files. 2014-07-17 09:14:16 +00:00
async-upload.php Media Upload: Improve styling of error messages. 2014-08-02 14:14:19 +00:00
comment.php `hackificator` bails on this file because of mixed quote styles on some HTML attributes. 2014-05-18 21:47:14 +00:00
credits.php Add 'Release Lead' string to credits. see #29494. 2014-09-03 23:19:18 +00:00
custom-background.php Fix some words that aren't words. 2014-08-09 19:30:17 +00:00
custom-header.php Fix a copy/paste issue in Custom_Image_Header::get_header_dimensions() introduced in [27497]. 2014-10-25 15:56:19 +00:00
customize.php Add `wp_json_encode()`, a wrapper for `json_encode()` that ensures everything is converted to UTF-8. 2014-10-28 18:35:19 +00:00
edit-comments.php Comments: Update border color and help text. 2014-03-27 05:08:14 +00:00
edit-form-advanced.php Introduce an `edit_form_before_permalink` action which gets fired after the title field but before the permalink fields. Fixes #29691. Props captaintheme 2014-10-26 21:49:18 +00:00
edit-form-comment.php `hackificator` doesn't like mixed quote styles in some generated HTML. The switch from single to double allows these files to be parsed. 2014-05-19 01:59:15 +00:00
edit-link-form.php In `edit-link-form.php`, `hackificator` bails because there is a `</form>` with no open `<form>`. It exists, but is needlessly constructed with PHP. It always returns a `<form>`, only the `id` and `name` are different. The dynamic piece just returns the ID now. 2014-05-18 22:07:15 +00:00
edit-tag-form.php * Use correct context for 'Name' and 'Parent' strings on taxonomy screens. 2014-10-02 20:01:16 +00:00
edit-tags.php * Use correct context for 'Name' and 'Parent' strings on taxonomy screens. 2014-10-02 20:01:16 +00:00
edit.php Script-loader: remove 'heartbeat' dependency for post.js and inline-edit-post.js, fix dependencies for autosave.js. Fixes #30008 2014-10-22 03:41:18 +00:00
export.php Use SSL when linking to WordPress.org. see #27115. 2014-03-08 04:14:15 +00:00
freedoms.php Sync tagline from about page with credits and freedoms. 2014-08-28 17:53:18 +00:00
import.php Use SSL when linking to WordPress.org. see #27115. 2014-03-08 04:14:15 +00:00
index.php Use HTTPS links for planet.wordpress.org 2014-09-29 13:24:15 +00:00
install-helper.php Fix syntax for single- and multi-line comments in wp-admin-directory files. 2014-07-17 09:14:16 +00:00
install.php Add a missing Oxford comma to the install screen. Fixes #30107. Props Ankit K Gupta. 2014-10-28 18:32:18 +00:00
link-add.php
link-manager.php Use SSL when linking to WordPress.org. see #27115. 2014-03-08 04:14:15 +00:00
link-parse-opml.php Fix syntax for single- and multi-line comments in wp-admin-directory files. 2014-07-17 09:14:16 +00:00
link.php Fix syntax for single- and multi-line comments in wp-admin-directory files. 2014-07-17 09:14:16 +00:00
load-scripts.php Inline docs syntax fixes following [28978]. 2014-07-07 16:42:16 +00:00
load-styles.php Simplify the setup-config.php UI flow and load process. 2014-07-03 19:57:14 +00:00
media-new.php Use SSL when linking to WordPress.org. see #27115. 2014-03-08 04:14:15 +00:00
media-upload.php Fix syntax for single- and multi-line comments in wp-admin-directory files. 2014-07-17 09:14:16 +00:00
media.php Fix syntax for single- and multi-line comments in wp-admin-directory files. 2014-07-17 09:14:16 +00:00
menu-header.php Fix syntax for single- and multi-line comments in wp-admin-directory files. 2014-07-17 09:14:16 +00:00
menu.php Fix syntax for single- and multi-line comments in wp-admin-directory files. 2014-07-17 09:14:16 +00:00
moderation.php
ms-admin.php
ms-delete-site.php Always decode special characters for email subjects. 2014-03-28 02:44:15 +00:00
ms-edit.php
ms-options.php
ms-sites.php
ms-themes.php
ms-upgrade-network.php
ms-users.php
my-sites.php Use SSL when linking to WordPress.org. see #27115. 2014-03-08 04:14:15 +00:00
nav-menus.php Twenty Fifteen: Update some more bundled theme references after [29895]. 2014-10-15 14:35:18 +00:00
network.php Add line breaks at the end of network setup rules to avoid unintended merging with a subsequent line. 2014-10-15 14:13:20 +00:00
options-discussion.php Priority fixes for various existing hook documentation. 2014-04-12 00:01:15 +00:00
options-general.php Live-update site title in toolbar when changing the corresponding field in General Settings. 2014-10-19 09:13:20 +00:00
options-head.php
options-media.php Use SSL when linking to WordPress.org. see #27115. 2014-03-08 04:14:15 +00:00
options-permalink.php Use home URL instead of example.org on Permalink Settings screen. 2014-09-07 09:44:15 +00:00
options-reading.php Use SSL when linking to WordPress.org. see #27115. 2014-03-08 04:14:15 +00:00
options-writing.php Priority fixes for various existing hook documentation. 2014-04-12 00:01:15 +00:00
options.php Language packs: No WPLANG anymore. 2014-08-26 19:59:16 +00:00
plugin-editor.php In `wp-admin/plugin-editor.php`, `break` is unreachabled after `exit`. 2014-05-06 18:12:14 +00:00
plugin-install.php Plugin search: Wrap results in a form to fix pagination's `paged` input field. 2014-10-03 13:08:16 +00:00
plugins.php Language packs: Remove translations when deleting a theme or a plugin. 2014-10-08 19:05:20 +00:00
post-new.php When adding a post of a post type whose menu item is in a submenu, highlight the correct menu item. props mordauk, markjaquith. fixes #24137. 2014-07-25 15:26:18 +00:00
post.php Autosave: prevent setting multiple stale `wp-saving-post-*` cookies when the browser disregards "session cookies" expiration on quit: 2014-08-22 00:25:16 +00:00
press-this.php Use proper functions for escaped translations. 2014-10-18 20:11:18 +00:00
profile.php
revision.php Fix some `hackificator` odds and ends in `wp-admin`: 2014-05-19 05:04:16 +00:00
setup-config.php i18n: Skip language chooser for localized packages. 2014-09-04 14:39:15 +00:00
theme-editor.php Fix syntax for single- and multi-line comments in wp-admin-directory files. 2014-07-17 09:14:16 +00:00
theme-install.php Theme install: 2014-10-18 19:43:18 +00:00
themes.php Use proper functions for escaped translations. 2014-10-18 20:11:18 +00:00
tools.php Use SSL when linking to WordPress.org. see #27115. 2014-03-08 04:14:15 +00:00
update-core.php Avoid a PHP notice in list_plugin_updates() if plugins_api() returned a WP_Error object. 2014-10-03 00:02:14 +00:00
update.php Plugin/Theme Uploads: New capabilities; unify UIs; ensure compatibility with old filters. 2014-08-27 01:32:18 +00:00
upgrade-functions.php
upgrade.php Remove the WordPress logo from the focusable elements on the install/update screens. Fixes #28674. Props stompweb 2014-06-29 14:10:15 +00:00
upload.php Make sure we're on the media grid page before calling wp.media(). 2014-09-09 10:14:17 +00:00
user-edit.php Rename `_wp_password_hint()` to `_wp_get_password_hint()` to bring it inline with core terminology. Fixes #21243. 2014-10-26 23:30:18 +00:00
user-new.php Rename `_wp_password_hint()` to `_wp_get_password_hint()` to bring it inline with core terminology. Fixes #21243. 2014-10-26 23:30:18 +00:00
users.php Pinking shears. 2014-09-04 15:23:16 +00:00
widgets.php Fix syntax for single- and multi-line comments in wp-admin-directory files. 2014-07-17 09:14:16 +00:00