WordPress/wp-admin
Scott Taylor 7eb24edf4e In wp_generate_attachment_metadata(), when an audio or video files contains upload-able image bits in its ID3 tags, only upload it if the image has not already been uploaded. Determine this by checking for a _cover_hash value in post meta that matches the md5 representation of the bits.
This prevents uploading an album of 10 songs and subsequently uploading 10 copies of the same album cover.

Props GregLone for the new filter/filter docs: `'attachment_thumbnail_args'`.
Fixes #27573.
 

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


git-svn-id: http://core.svn.wordpress.org/trunk@27694 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-03-30 20:54:15 +00:00
..
css Customizer: Style "Cheatin’ uh?" message like wp_die(). 2014-03-29 23:19:15 +00:00
images Convert the post lock icon to a dashicon. 2014-03-04 06:53:14 +00:00
includes In wp_generate_attachment_metadata(), when an audio or video files contains upload-able image bits in its ID3 tags, only upload it if the image has not already been uploaded. Determine this by checking for a _cover_hash value in post meta that matches the md5 representation of the bits. 2014-03-30 20:54:15 +00:00
js Editor: 2014-03-29 23:58:14 +00:00
maint Use SSL when linking to WordPress.org. see #27115. 2014-03-08 04:14:15 +00:00
network Network Admin: Case-insensitive comparisons for the network-site comparison in the bootstrap. 2014-03-25 21:07:15 +00:00
user Ensure the last separator is removed from the user and network admin menus. 2014-02-02 06:19:12 +00:00
about.php Make the user arguments for get_edit_profile_url() and get_dashboard_url() optional, defaulting to the current user. 2014-02-25 17:08:13 +00:00
admin-ajax.php Add widget management to the customizer. 2014-03-05 20:41: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 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 Correct misleading verbiage in 'print' hook docs. 2014-03-25 08:05:15 +00:00
admin-post.php Spell out duplicate hook locations. 2013-10-24 22:59:20 +00:00
admin.php Inline documentation for hooks in wp-admin/network/upgrade.php. 2014-01-07 04:23:11 +00:00
async-upload.php Define DOING_AJAX earlier in async-upload.php. 2014-03-15 19:59:15 +00:00
comment.php Use SSL when linking to WordPress.org. see #27115. 2014-03-08 04:14:15 +00:00
credits.php Use SSL when linking to WordPress.org. see #27115. 2014-03-08 04:14:15 +00:00
custom-background.php Use SSL when linking to WordPress.org. see #27115. 2014-03-08 04:14:15 +00:00
custom-header.php Custom Headers: Simplify and consolidate the querying of custom headers for the customizer. 2014-03-29 10:53:15 +00:00
customize.php Correct misleading verbiage in 'print' hook docs. 2014-03-25 08:05:15 +00:00
edit-comments.php Comments: Update border color and help text. 2014-03-27 05:08:14 +00:00
edit-form-advanced.php Metadata for audio and video files: 2014-03-30 19:28:16 +00:00
edit-form-comment.php Use a consistent format for translator comments. 2014-02-28 08:09:13 +00:00
edit-link-form.php Use SSL when linking to WordPress.org. see #27115. 2014-03-08 04:14:15 +00:00
edit-tag-form.php Remove all "valign" attributes from tables in wp-admin, props MikeHansenMe, Marventus. Fixes #22712. 2014-01-24 19:06:15 +00:00
edit-tags.php Popular tags' edit links should respect the current post type. Adds unit test. 2014-03-25 18:40:15 +00:00
edit.php Use SSL when linking to WordPress.org. see #27115. 2014-03-08 04:14:15 +00:00
export.php Use SSL when linking to WordPress.org. see #27115. 2014-03-08 04:14:15 +00:00
freedoms.php Use SSL when linking to WordPress.org. see #27115. 2014-03-08 04:14:15 +00:00
import.php Use SSL when linking to WordPress.org. see #27115. 2014-03-08 04:14:15 +00:00
index.php Use SSL when linking to WordPress.org. see #27115. 2014-03-08 04:14:15 +00:00
install-helper.php Remove all @package and @subpackage PHPDoc tags not at the file- or class-levels in core. 2014-02-25 17:14:14 +00:00
install.php Install: Allow an installation to go through with a custom user table with the username 'admin'. 2014-03-28 19:00:15 +00:00
link-add.php Don't rely on include_path to include files. 2013-09-25 00:18:11 +00:00
link-manager.php Use SSL when linking to WordPress.org. see #27115. 2014-03-08 04:14:15 +00:00
link-parse-opml.php Remove all @package and @subpackage PHPDoc tags not at the file- or class-levels in core. 2014-02-25 17:14:14 +00:00
link.php Don't rely on include_path to include files. 2013-09-25 00:18:11 +00:00
load-scripts.php Unique load array in load-scripts and load-styles. 2013-07-29 17:57:04 +00:00
load-styles.php Force UTF-8 in load-styles.php, like we do in load-scripts.php. 2014-02-25 01:28:15 +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 Inline documentation for hooks in wp-admin/media-upload.php. 2014-01-08 04:00:11 +00:00
media.php Use SSL when linking to WordPress.org. see #27115. 2014-03-08 04:14:15 +00:00
menu-header.php Admin Menu: Use .dashicons-before as default $img_class. 2014-03-05 23:22:15 +00:00
menu.php Introduce a .dashicons-before CSS class. 2014-03-05 20:04:14 +00:00
moderation.php Don't rely on include_path to include files. 2013-09-25 00:18:11 +00:00
ms-admin.php Don't rely on include_path to include files. 2013-09-25 00:18:11 +00:00
ms-delete-site.php Always decode special characters for email subjects. 2014-03-28 02:44:15 +00:00
ms-edit.php Don't rely on include_path to include files. 2013-09-25 00:18:11 +00:00
ms-options.php Don't rely on include_path to include files. 2013-09-25 00:18:11 +00:00
ms-sites.php Don't rely on include_path to include files. 2013-09-25 00:18:11 +00:00
ms-themes.php Don't rely on include_path to include files. 2013-09-25 00:18:11 +00:00
ms-upgrade-network.php Don't rely on include_path to include files. 2013-09-25 00:18:11 +00:00
ms-users.php Don't rely on include_path to include files. 2013-09-25 00:18:11 +00:00
my-sites.php Use SSL when linking to WordPress.org. see #27115. 2014-03-08 04:14:15 +00:00
nav-menus.php Use SSL when linking to WordPress.org. see #27115. 2014-03-08 04:14:15 +00:00
network.php Combine two strings, using placeholders for filenames and avoiding HTML. see #27057. 2014-03-19 05:27:14 +00:00
options-discussion.php Use SSL when linking to WordPress.org. see #27115. 2014-03-08 04:14:15 +00:00
options-general.php Use SSL when linking to WordPress.org. see #27115. 2014-03-08 04:14:15 +00:00
options-head.php Use wp_unslash() instead of stripslashes() and stripslashes_deep(). Use wp_slash() instead of add_magic_quotes(). 2013-03-01 17:14:09 +00:00
options-media.php Use SSL when linking to WordPress.org. see #27115. 2014-03-08 04:14:15 +00:00
options-permalink.php Permalink Settings: Don't show "update your .htaccess now" if nothing needs to change. 2014-03-15 04:35:16 +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 Use SSL when linking to WordPress.org. see #27115. 2014-03-08 04:14:15 +00:00
options.php Remove all screen_icon() calls and deprecate the functions, props TobiasBg, fixes #26119 2013-12-02 03:53:11 +00:00
plugin-editor.php Present a normal admin page when bailing out of the Plugin Editor screen. Fixes #27067. Props SergeyBiryukov. 2014-03-11 22:14:14 +00:00
plugin-install.php Use SSL when linking to WordPress.org. see #27115. 2014-03-08 04:14:15 +00:00
plugins.php Use SSL when linking to WordPress.org. see #27115. 2014-03-08 04:14:15 +00:00
post-new.php Don't rely on include_path to include files. 2013-09-25 00:18:11 +00:00
post.php Avoid an undefined function due to /wp-admin/includes/dashboard.php being included too late. props obenland. fixes #27457. 2014-03-20 01:31:15 +00:00
press-this.php Make sure inputs in Press This have a type so they are styled appropriately. see #18380. 2014-03-27 02:39:14 +00:00
profile.php Don't rely on include_path to include files. 2013-09-25 00:18:11 +00:00
revision.php Use SSL when linking to WordPress.org. see #27115. 2014-03-08 04:14:15 +00:00
setup-config.php Use SSL when linking to WordPress.org. see #27115. 2014-03-08 04:14:15 +00:00
theme-editor.php Reference https://wordpress.org rather than http://wordpress.org in strings, links, comments, etc. 2014-03-03 02:34:27 +00:00
theme-install.php Bring keyboard accessibility to the theme install screen and theme action buttons. props jorbin. see #27521. 2014-03-28 03:16:15 +00:00
themes.php Themes screen: Use a normal error for WP_Theme errors. 2014-03-26 23:37:25 +00:00
tools.php Use SSL when linking to WordPress.org. see #27115. 2014-03-08 04:14:15 +00:00
update-core.php Use SSL when linking to WordPress.org. see #27115. 2014-03-08 04:14:15 +00:00
update.php Bring the theme browsing experience from 3.8 to the theme installer. First pass. 2014-03-11 07:47:15 +00:00
upgrade-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
upgrade.php Use SSL when linking to WordPress.org. see #27115. 2014-03-08 04:14:15 +00:00
upload.php Use SSL when linking to WordPress.org. see #27115. 2014-03-08 04:14:15 +00:00
user-edit.php Fix LTR field handling: 2014-03-26 17:12:14 +00:00
user-new.php Add a value to the password checkbox when creating a new user so the toggle is remembered. 2014-03-29 06:23:17 +00:00
users.php Indicate that the user deletion process affects all content attributed to a given user, not just posts. props seanchayes. fixes #26709. 2014-03-05 19:20:14 +00:00
widgets.php The sidebar_admin_setup hook should only be documented once in wp-admin/widgets.php. All others are duplicates. 2014-03-28 19:47:15 +00:00