WordPress/wp-admin
Andrew Nacin df48cebeb4 No-JavaScript and no-Customizer support for the new Themes screen.
JavaScript is rarely disabled, but graceful degradation is still important. For example, syntax errors can occur, usually with major WP updates that overhaul entire experiences and update external libraries combined with themes or plugins doing weird or old things. If this error is due to their current theme, a user needs to be able to access the themes screen to switch away from the theme. A more subtle issue could make things painful to diagnose.

This commit renders the grid in PHP (the template is duplicated, but it lightweight, fairly mundane, and easy to sync). On Backbone render, the grid is then re-rendered from JavaScript so searches can occur. Customize and Live Preview is disabled if JS fails to kick in. If JS is disabled, old-school "Preview" links are displayed.

No-Customizer support: The customizer is only supported when the browser supports postMessage (IE8+), and if the frontend is a different domain, CORS (IE10+). We use the .hide-if-no-customize class for this. Pre-customize "Preview" links should use .hide-if-customize.

The .load-customize class should be used to declare a link that opens the customizer. This enables customize-loader.js to intercept this link and load the customizer on top of the current window, making for a smoother experience.

fixes #25964.

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


git-svn-id: http://core.svn.wordpress.org/trunk@26615 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-06 16:11:10 +00:00
..
css No-JavaScript and no-Customizer support for the new Themes screen. 2013-12-06 16:11:10 +00:00
images Updates to the About page: 2013-12-06 12:16:10 +00:00
includes No-JavaScript and no-Customizer support for the new Themes screen. 2013-12-06 16:11:10 +00:00
js No-JavaScript and no-Customizer support for the new Themes screen. 2013-12-06 16:11:10 +00:00
maint Bring the install/update screens in line with the new admin design. This affects: 2013-11-21 00:21:11 +00:00
network No-JavaScript and no-Customizer support for the new Themes screen. 2013-12-06 16:11:10 +00:00
user Inline documentation for hooks in wp-admin/user/admin.php. 2013-11-23 22:47:10 +00:00
about.php Un-translate all of the about page strings so translators don't start working on incomplete copy. see #26387. 2013-12-06 14:20:12 +00:00
admin-ajax.php Merge the color schemes component from MP6. Introduces Light, Blue, and Midnight. 2013-11-13 19:38:38 +00:00
admin-footer.php Revert r25824:25875 from the core.svn.wordpress.org repository. 2013-10-25 02:29:52 +00:00
admin-functions.php Lose EOF ?>. Clean up EOF newlines. fixes #12307 2012-01-08 17:01:11 +00:00
admin-header.php Use get_current_site() instead of the $current_site global in wp-admin/admin-header.php and is_main_network(). 2013-11-16 13:46:10 +00:00
admin-post.php Spell out duplicate hook locations. 2013-10-24 22:59:20 +00:00
admin.php Hook documentation for wp-admin/admin.php. 2013-10-09 21:01:09 +00:00
async-upload.php Inline documentation for hooks in wp-admin/async-upload.php. 2013-10-26 21:41:09 +00:00
comment.php Remove all screen_icon() calls and deprecate the functions, props TobiasBg, fixes #26119 2013-12-02 03:53:11 +00:00
credits.php Replace link to Codex with link to new Make page. Fixes #25806 props siobhyb. 2013-11-24 15:18:09 +00:00
custom-background.php Rename the new custom-background arguments passed to add_theme_support(). 2013-12-03 21:36:10 +00:00
custom-header.php Remove all screen_icon() calls and deprecate the functions, props TobiasBg, fixes #26119 2013-12-02 03:53:11 +00:00
customize.php Make suggest script visible in the customizer. 2013-11-11 17:39:09 +00:00
edit-comments.php Remove all screen_icon() calls and deprecate the functions, props TobiasBg, fixes #26119 2013-12-02 03:53:11 +00:00
edit-form-advanced.php Remove all screen_icon() calls and deprecate the functions, props TobiasBg, fixes #26119 2013-12-02 03:53:11 +00:00
edit-form-comment.php Remove all screen_icon() calls and deprecate the functions, props TobiasBg, fixes #26119 2013-12-02 03:53:11 +00:00
edit-link-form.php Remove all screen_icon() calls and deprecate the functions, props TobiasBg, fixes #26119 2013-12-02 03:53:11 +00:00
edit-tag-form.php Remove all screen_icon() calls and deprecate the functions, props TobiasBg, fixes #26119 2013-12-02 03:53:11 +00:00
edit-tags.php Remove all screen_icon() calls and deprecate the functions, props TobiasBg, fixes #26119 2013-12-02 03:53:11 +00:00
edit.php Remove all screen_icon() calls and deprecate the functions, props TobiasBg, fixes #26119 2013-12-02 03:53:11 +00:00
export.php Remove all screen_icon() calls and deprecate the functions, props TobiasBg, fixes #26119 2013-12-02 03:53:11 +00:00
freedoms.php Update the text for the about page, so translators can get started. Design is in flux. 2013-10-24 22:54:13 +00:00
import.php Remove all screen_icon() calls and deprecate the functions, props TobiasBg, fixes #26119 2013-12-02 03:53:11 +00:00
index.php Remove all screen_icon() calls and deprecate the functions, props TobiasBg, fixes #26119 2013-12-02 03:53:11 +00:00
install-helper.php Deprecate ancient "debugging" tools. 2012-02-17 00:02:42 +00:00
install.php Bring the install/update screens in line with the new admin design. This affects: 2013-11-21 00:21:11 +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 Remove all screen_icon() calls and deprecate the functions, props TobiasBg, fixes #26119 2013-12-02 03:53:11 +00:00
link-parse-opml.php Lose EOF ?>. Clean up EOF newlines. fixes #12307 2012-01-08 17:01:11 +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 Style Concatenation: Fix loading of dashicons non-woff files when concatenation is in use. Fixes #26250 2013-11-26 01:47:10 +00:00
media-new.php Remove all screen_icon() calls and deprecate the functions, props TobiasBg, fixes #26119 2013-12-02 03:53:11 +00:00
media-upload.php Don't rely on include_path to include files. 2013-09-25 00:18:11 +00:00
media.php Remove all screen_icon() calls and deprecate the functions, props TobiasBg, fixes #26119 2013-12-02 03:53:11 +00:00
menu-header.php More targeted background image styling for admin menu SVG icons. fixes #25147. 2013-12-05 17:53:10 +00:00
menu.php Allow for Dashicons and base64-encoded data:image/svg+xml URIs when specifying menu icons. 2013-12-05 06:38:09 +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 Remove all screen_icon() calls and deprecate the functions, props TobiasBg, fixes #26119 2013-12-02 03:53:11 +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 Remove all screen_icon() calls and deprecate the functions, props TobiasBg, fixes #26119 2013-12-02 03:53:11 +00:00
nav-menus.php Avoid a PHP notice on Edit Menus screen when a menu is attached to a non-existing location. 2013-12-04 20:37:11 +00:00
network.php Remove all screen_icon() calls and deprecate the functions, props TobiasBg, fixes #26119 2013-12-02 03:53:11 +00:00
options-discussion.php Use p.description instead of <small> on the discussion settings page. see #26441. 2013-12-06 14:22:11 +00:00
options-general.php Use jQuery.prop('checked') instead of jQuery.attr. 2013-12-03 18:21:11 +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 Remove all screen_icon() calls and deprecate the functions, props TobiasBg, fixes #26119 2013-12-02 03:53:11 +00:00
options-permalink.php Remove all screen_icon() calls and deprecate the functions, props TobiasBg, fixes #26119 2013-12-02 03:53:11 +00:00
options-reading.php Dashboard: Rename the Site Content widget (née Right Now) to At a Glance. 2013-12-05 22:38:11 +00:00
options-writing.php Remove all screen_icon() calls and deprecate the functions, props TobiasBg, fixes #26119 2013-12-02 03:53:11 +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 Remove all screen_icon() calls and deprecate the functions, props TobiasBg, fixes #26119 2013-12-02 03:53:11 +00:00
plugin-install.php Remove all screen_icon() calls and deprecate the functions, props TobiasBg, fixes #26119 2013-12-02 03:53:11 +00:00
plugins.php Remove all screen_icon() calls and deprecate the functions, props TobiasBg, fixes #26119 2013-12-02 03:53:11 +00:00
post-new.php Don't rely on include_path to include files. 2013-09-25 00:18:11 +00:00
post.php Inline documentation for hooks in wp-admin/post.php. 2013-11-26 07:44:10 +00:00
press-this.php Press This fixes: 2013-11-27 19:16:10 +00:00
profile.php Don't rely on include_path to include files. 2013-09-25 00:18:11 +00:00
revision.php Remove all screen_icon() calls and deprecate the functions, props TobiasBg, fixes #26119 2013-12-02 03:53:11 +00:00
setup-config.php Bring the install/update screens in line with the new admin design. This affects: 2013-11-21 00:21:11 +00:00
theme-editor.php Remove all screen_icon() calls and deprecate the functions, props TobiasBg, fixes #26119 2013-12-02 03:53:11 +00:00
theme-install.php No-JavaScript and no-Customizer support for the new Themes screen. 2013-12-06 16:11:10 +00:00
themes.php No-JavaScript and no-Customizer support for the new Themes screen. 2013-12-06 16:11:10 +00:00
tools.php Remove all screen_icon() calls and deprecate the functions, props TobiasBg, fixes #26119 2013-12-02 03:53:11 +00:00
update-core.php Remove all screen_icon() calls and deprecate the functions, props TobiasBg, fixes #26119 2013-12-02 03:53:11 +00:00
update.php Inline documentation for hooks in wp-admin/update.php. 2013-10-27 18:37:09 +00:00
upgrade-functions.php Lose EOF ?>. Clean up EOF newlines. fixes #12307 2012-01-08 17:01:11 +00:00
upgrade.php Bring the install/update screens in line with the new admin design. This affects: 2013-11-21 00:21:11 +00:00
upload.php Remove all screen_icon() calls and deprecate the functions, props TobiasBg, fixes #26119 2013-12-02 03:53:11 +00:00
user-edit.php Remove all screen_icon() calls and deprecate the functions, props TobiasBg, fixes #26119 2013-12-02 03:53:11 +00:00
user-new.php Remove all screen_icon() calls and deprecate the functions, props TobiasBg, fixes #26119 2013-12-02 03:53:11 +00:00
users.php Remove all screen_icon() calls and deprecate the functions, props TobiasBg, fixes #26119 2013-12-02 03:53:11 +00:00
widgets.php Revert r26593 so Available and Inactive widgets are once again collapsible. Make the arrows only appear on hover when uncollapsed. Fixes #26327, props nacin. 2013-12-04 16:31:10 +00:00