twentyGOLEM/wp-admin
koopersmith 79f8b89fbc Theme Customizer: Move upload and image controls to subclasses. see #19910.
Instead of grouping together every control parameter into a single  array and passing them all to the JS, use subclasses with custom parameters to implement additional PHP functionality and the  parameter to send only the necessary variables to the JavaScript control.

Replaces WP_Customize_Control->control_params with WP_Customize_Control->json and WP_Customize_Control->to_json(). The to_json() method refreshes the json array passed to the JavaScript control (set to control.param by default).

Creates WP_Customize_Upload_Control and WP_Customize_Image_Control.

git-svn-id: http://svn.automattic.com/wordpress/trunk@20319 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-03-29 06:35:54 +00:00
..
css Compress scripts/styles: 3.4-alpha-20294. 2012-03-28 02:58:21 +00:00
images Theme Customizer: Begin integration into the install process. Combine previews, details, and install into a single workflow. see #19910. 2012-03-07 17:35:17 +00:00
includes Theme Customizer: Move upload and image controls to subclasses. see #19910. 2012-03-29 06:35:54 +00:00
js Compress scripts/styles: 3.4-alpha-20294. 2012-03-28 02:58:21 +00:00
maint Update login-logo.png to use proper color. Copy it over wordpress-logo.png. Make that one canonical, and stop using login-logo.png. Leave it for plugins. props iammattthomas. see #19955. 2012-02-17 04:57:56 +00:00
network Remove step="" from upload size inputs, as the step is enforced in the spec, rather than being a recommendation. finally fixes #17863. 2012-03-25 13:02:01 +00:00
user Remove index-extra.php. Move dashboard widget XHR callbacks to ajax-actions.php. fixes #20242. 2012-03-15 13:20:00 +00:00
about.php Lose EOF ?>. Clean up EOF newlines. fixes #12307 2012-01-08 17:01:11 +00:00
admin-ajax.php Send X-Robots-Tag: noindex in admin-ajax. props ryan, joostdevalk. fixes #18465. 2012-03-25 12:53:17 +00:00
admin-footer.php
admin-functions.php Lose EOF ?>. Clean up EOF newlines. fixes #12307 2012-01-08 17:01:11 +00:00
admin-header.php Use relative paths for admin-ajax.php to avoid cross-domain issues with IDN domains in IE and Opera. props SergeyBiryukov, fixes #18952. 2012-02-08 16:12:11 +00:00
admin-post.php Lose EOF ?>. Clean up EOF newlines. fixes #12307 2012-01-08 17:01:11 +00:00
admin.php Reduce references to the $wp_rewrite global because it's no longer used or a wrapper function can be used instead. Fixes #14546.#14546. 2012-02-28 20:29:33 +00:00
async-upload.php Lose EOF ?>. Clean up EOF newlines. fixes #12307 2012-01-08 17:01:11 +00:00
comment.php Allow comment.php?action=editcomment to be accessible for a comment that is spam. props josephscott, fixes #19977, see #18340. 2012-02-07 19:13:30 +00:00
credits.php Lose EOF ?>. Clean up EOF newlines. fixes #12307 2012-01-08 17:01:11 +00:00
custom-background.php Introduce new registration methods for custom headers and custom backgrounds. Backwards compatible, but old methods will be deprecated. see #20249. see #17242. 2012-03-19 17:12:44 +00:00
custom-header.php Properly intercept the main form being submitted when checking for the display-header-text checkbox. see #18887. 2012-03-21 20:55:58 +00:00
edit-comments.php Convert a bulleted list to paragraphs in the Moderating Comments help tab. props pavelevap, see #19788. 2012-02-01 14:45:19 +00:00
edit-form-advanced.php Responsive columns on the dashboard and write screens, first run, see #20015 2012-03-23 21:41:00 +00:00
edit-form-comment.php Responsive columns on the dashboard and write screens, first run, see #20015 2012-03-23 21:41:00 +00:00
edit-link-form.php Responsive columns on the dashboard and write screens, first run, see #20015 2012-03-23 21:41:00 +00:00
edit-tag-form.php
edit-tags.php Lose EOF ?>. Clean up EOF newlines. fixes #12307 2012-01-08 17:01:11 +00:00
edit.php
export.php
freedoms.php Create a network/about.php page and leverage it, to prevent the dashboard from switching to the blog admin. fixes #19762. 2012-01-06 17:53:41 +00:00
gears-manifest.php
import.php Lose EOF ?>. Clean up EOF newlines. fixes #12307 2012-01-08 17:01:11 +00:00
index.php Autocomplete site names in Network Admin. More user completion areas. props Japh, DrewAPicture. see #19810. 2012-03-24 04:54:58 +00:00
install-helper.php Deprecate ancient "debugging" tools. 2012-02-17 00:02:42 +00:00
install.php Update login-logo.png to use proper color. Copy it over wordpress-logo.png. Make that one canonical, and stop using login-logo.png. Leave it for plugins. props iammattthomas. see #19955. 2012-02-17 04:57:56 +00:00
link-add.php Lose EOF ?>. Clean up EOF newlines. fixes #12307 2012-01-08 17:01:11 +00:00
link-manager.php
link-parse-opml.php Lose EOF ?>. Clean up EOF newlines. fixes #12307 2012-01-08 17:01:11 +00:00
link.php Lose EOF ?>. Clean up EOF newlines. fixes #12307 2012-01-08 17:01:11 +00:00
load-scripts.php One newline is enough. 2012-01-05 20:10:39 +00:00
load-styles.php One newline is enough. 2012-01-05 20:10:39 +00:00
media-new.php Lose EOF ?>. Clean up EOF newlines. fixes #12307 2012-01-08 17:01:11 +00:00
media-upload.php Combine two strings. Cheatin', uh? 2012-03-07 19:00:12 +00:00
media.php Lose EOF ?>. Clean up EOF newlines. fixes #12307 2012-01-08 17:01:11 +00:00
menu-header.php
menu.php Lose EOF ?>. Clean up EOF newlines. fixes #12307 2012-01-08 17:01:11 +00:00
moderation.php Lose EOF ?>. Clean up EOF newlines. fixes #12307 2012-01-08 17:01:11 +00:00
ms-admin.php Lose EOF ?>. Clean up EOF newlines. fixes #12307 2012-01-08 17:01:11 +00:00
ms-delete-site.php Lose EOF ?>. Clean up EOF newlines. fixes #12307 2012-01-08 17:01:11 +00:00
ms-edit.php Lose EOF ?>. Clean up EOF newlines. fixes #12307 2012-01-08 17:01:11 +00:00
ms-options.php
ms-sites.php Lose EOF ?>. Clean up EOF newlines. fixes #12307 2012-01-08 17:01:11 +00:00
ms-themes.php Lose EOF ?>. Clean up EOF newlines. fixes #12307 2012-01-08 17:01:11 +00:00
ms-upgrade-network.php Lose EOF ?>. Clean up EOF newlines. fixes #12307 2012-01-08 17:01:11 +00:00
ms-users.php Lose EOF ?>. Clean up EOF newlines. fixes #12307 2012-01-08 17:01:11 +00:00
my-sites.php Lose EOF ?>. Clean up EOF newlines. fixes #12307 2012-01-08 17:01:11 +00:00
nav-menus.php One newline is enough. 2012-01-05 20:10:39 +00:00
network.php Align the spacing of the multisite constants with what has been long-established in wp-config and wp-config-sample. props ryanduff, fixes #19869. 2012-02-20 16:35:03 +00:00
options-discussion.php It is possible for comments_per_page to be 0, which turns off pagination. See sanitize_option(); wp_list_commnts(); get_comment_link(). see #17863. 2012-03-16 04:36:12 +00:00
options-general.php Revert type="email" (HTML5) as some browsers that do validation on these fields do not work for IDN domains yet. Core does not support these well either, but server-side validation can at least be dealt with by a plugin. see #17863. 2012-03-15 18:09:14 +00:00
options-head.php Lose EOF ?>. Clean up EOF newlines. fixes #12307 2012-01-08 17:01:11 +00:00
options-media.php upload_url_path is a relative URL path, not an absolute URL. Remove type='url' as that enforces absoluteness. see #17863. 2012-03-16 04:43:20 +00:00
options-permalink.php Reduce references to the $wp_rewrite global because it's no longer used or a wrapper function can be used instead. Fixes #14546.#14546. 2012-02-28 20:29:33 +00:00
options-privacy.php
options-reading.php Set proper HTML5 input types in the admin, props georgestephanis, fixes #17863 2012-03-10 01:23:48 +00:00
options-writing.php mailserver_login and mailserver_pass should always be LTR. see #19598. 2012-02-03 00:05:43 +00:00
options.php Lose EOF ?>. Clean up EOF newlines. fixes #12307 2012-01-08 17:01:11 +00:00
plugin-editor.php
plugin-install.php Lose EOF ?>. Clean up EOF newlines. fixes #12307 2012-01-08 17:01:11 +00:00
plugins.php One newline is enough. 2012-01-05 20:10:39 +00:00
post-new.php Lose EOF ?>. Clean up EOF newlines. fixes #12307 2012-01-08 17:01:11 +00:00
post.php Lose EOF ?>. Clean up EOF newlines. fixes #12307 2012-01-08 17:01:11 +00:00
press-this.php Use relative paths for admin-ajax.php to avoid cross-domain issues with IDN domains in IE and Opera. props SergeyBiryukov, fixes #18952. 2012-02-08 16:12:11 +00:00
profile.php Lose EOF ?>. Clean up EOF newlines. fixes #12307 2012-01-08 17:01:11 +00:00
revision.php
setup-config.php Update login-logo.png to use proper color. Copy it over wordpress-logo.png. Make that one canonical, and stop using login-logo.png. Leave it for plugins. props iammattthomas. see #19955. 2012-02-17 04:57:56 +00:00
theme-editor.php Always set WP_Theme->template even when there is an error and we have no idea what the template is. (Assume it is the stylesheet.) Prevents a number of issues including WP_Theme->is_child_theme() lying. Tidy the theme editor for broken themes and themes with no templates (PHP files), or no template (parent), or are broken. Allow broken themes to be edited. see #20103. 2012-03-29 04:16:17 +00:00
theme-install.php Infinite scroll for themes.php and theme-install.php. Bump per page limit for themes.php to 999. Props helenyhou, DH-Shredder. see #19815 2012-02-09 17:20:26 +00:00
themes.php Set proper HTML5 input types in the admin, props georgestephanis, fixes #17863 2012-03-10 01:23:48 +00:00
tools.php Lose EOF ?>. Clean up EOF newlines. fixes #12307 2012-01-08 17:01:11 +00:00
update-core.php Use new WP_Theme API in list_theme_updates(). fixes #20173. see #20103. 2012-03-04 13:03:48 +00:00
update.php Support child theme installation in the theme installer. props otto42, dd32. fixes #13774. 2012-03-23 10:10:06 +00:00
upgrade-functions.php Lose EOF ?>. Clean up EOF newlines. fixes #12307 2012-01-08 17:01:11 +00:00
upgrade.php Update login-logo.png to use proper color. Copy it over wordpress-logo.png. Make that one canonical, and stop using login-logo.png. Leave it for plugins. props iammattthomas. see #19955. 2012-02-17 04:57:56 +00:00
upload.php
user-edit.php Revert type="email" (HTML5) as some browsers that do validation on these fields do not work for IDN domains yet. Core does not support these well either, but server-side validation can at least be dealt with by a plugin. see #17863. 2012-03-15 18:09:14 +00:00
user-new.php Correct faulty logic when dealing with autocomplete_users_for_site_admins, and break logic into multiple lines. See #19810. 2012-02-16 17:12:10 +00:00
users.php Autocomplete site names in Network Admin. More user completion areas. props Japh, DrewAPicture. see #19810. 2012-03-24 04:54:58 +00:00
widgets.php