WordPress/wp-admin/includes
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
..
admin.php Load the new admin and network admin mo files, if present. see #19852 2012-01-27 22:19:56 +00:00
ajax-actions.php Simplify the color scheme profile saving JS. see #25858. 2013-12-02 19:45:10 +00:00
bookmark.php Inline documentation for hooks in wp-admin/includes/bookmark.php. 2013-10-07 02:19:09 +00:00
class-ftp-pure.php "LGPL License" is redundant. 2013-02-15 16:26:46 +00:00
class-ftp-sockets.php "LGPL License" is redundant. 2013-02-15 16:26:46 +00:00
class-ftp.php "LGPL License" is redundant. 2013-02-15 16:26:46 +00:00
class-pclzip.php
class-wp-comments-list-table.php Remove whitespace from the inside of a <textarea> element, added in [26138] with inline documentation. 2013-11-19 19:35:10 +00:00
class-wp-filesystem-base.php First pass at documenting the WP_Filesystem methods. This also introduces stubs of the methods into the base class which are documented, which subclasses can override, some methods were cleaned up at the same time. 2013-09-22 04:44:10 +00:00
class-wp-filesystem-direct.php First pass at documenting the WP_Filesystem methods. This also introduces stubs of the methods into the base class which are documented, which subclasses can override, some methods were cleaned up at the same time. 2013-09-22 04:44:10 +00:00
class-wp-filesystem-ftpext.php First pass at documenting the WP_Filesystem methods. This also introduces stubs of the methods into the base class which are documented, which subclasses can override, some methods were cleaned up at the same time. 2013-09-22 04:44:10 +00:00
class-wp-filesystem-ftpsockets.php First pass at documenting the WP_Filesystem methods. This also introduces stubs of the methods into the base class which are documented, which subclasses can override, some methods were cleaned up at the same time. 2013-09-22 04:44:10 +00:00
class-wp-filesystem-ssh2.php First pass at documenting the WP_Filesystem methods. This also introduces stubs of the methods into the base class which are documented, which subclasses can override, some methods were cleaned up at the same time. 2013-09-22 04:44:10 +00:00
class-wp-importer.php Remove lingering instances of call time pass-by-reference, limited to instances of callable - use $this instead of &$this. 2013-09-05 16:34:09 +00:00
class-wp-links-list-table.php Inline documentation for hooks in wp-admin/includes/class-wp-links-list-table.php. 2013-11-23 21:28:11 +00:00
class-wp-list-table.php Inline documentation for hooks in wp-admin/includes/class-wp-list-table.php. 2013-11-26 08:12:09 +00:00
class-wp-media-list-table.php Revert r25824:25875 from the core.svn.wordpress.org repository. 2013-10-25 02:29:52 +00:00
class-wp-ms-sites-list-table.php Inline documentation for hooks in wp-admin/includes/class-wp-ms-sites-list-table.php. 2013-11-23 21:58:10 +00:00
class-wp-ms-themes-list-table.php Fix inverted logic for displaying the 'Broken Theme' string. props pavelevap. fixes #25465. 2013-11-06 22:40:08 +00:00
class-wp-ms-users-list-table.php Inline documentation for hooks in wp-admin/includes/class-wp-ms-users-list-table.php. 2013-11-23 22:25:10 +00:00
class-wp-plugin-install-list-table.php Replace the Star ratings in the dashboard with dashicons ratings. 2013-11-26 02:25:21 +00:00
class-wp-plugins-list-table.php Avoid a PHP warning in network admin if a constant corresponding to a drop-in is not defined. fixes #25301. 2013-09-13 09:37:10 +00:00
class-wp-posts-list-table.php Remove debug cruft. props nbachiyski. see #25791. 2013-11-18 13:18:09 +00:00
class-wp-terms-list-table.php Terms list table: Only show 'View' links for public taxonomies. props SergeyBiryukov. fixes #24692. 2013-07-28 21:06:19 +00:00
class-wp-theme-install-list-table.php Remove button-secondary class from Collapse link in theme installer; unify Collapse button styles in theme installer and Customize screen; add a border around the Collapse icon so it remains visible on dark backgrounds; move the color styles to colors-fresh. Fixes #26230. 2013-11-26 04:14:09 +00:00
class-wp-themes-list-table.php Fix invalid markup when searching for installed themes. fixes #25288. 2013-09-12 00:03:10 +00:00
class-wp-upgrader-skins.php Remove all screen_icon() calls and deprecate the functions, props TobiasBg, fixes #26119 2013-12-02 03:53:11 +00:00
class-wp-upgrader.php Use numbered string replacements in 2 new strings. Props dimadin. Fixes #25667 2013-11-24 06:10:10 +00:00
class-wp-users-list-table.php Remove redundant echo calls from list tables. Don't mix string concatenation with direct output. see #24210. 2013-04-29 01:10:50 +00:00
comment.php Inline documentation for hooks in wp-admin/includes/comment.php. 2013-09-14 01:01:08 +00:00
continents-cities.php
dashboard.php Fix various i18n issues on the dashboard. Limits it to posts and pages only for 3.8. 2013-12-05 23:34:11 +00:00
deprecated.php Dashboard backwards compatibility updates. 2013-12-05 21:23:10 +00:00
export.php Pass $args to the export_wp action in export_wp(), which is currently passed no arguments. 2013-11-05 01:27:08 +00:00
file.php Only enforce disk free space checks when doing background updates. 2013-10-24 22:59:29 +00:00
image-edit.php Hook docs fixes following [26645]. 2013-12-04 23:32:11 +00:00
image.php Add jshintrc to qunit. 2013-10-30 14:39:10 +00:00
import.php Move to JSON for three api.wordpress.org endpoints. see #25311. 2013-09-14 19:31:08 +00:00
list-table.php Remove lingering instances of call time pass-by-reference, limited to instances of callable - use $this instead of &$this. 2013-09-05 16:34:09 +00:00
media.php Use parens to ensure that RegEx OR matches the front when determining that mime-type matches audio|video in attachment_submitbox_metadata(). 2013-10-08 15:32:10 +00:00
menu.php Prevent an offset error if the first menu item is a separator. 2013-06-20 16:45:45 +00:00
meta-boxes.php Style and positioning fixes to form elements in the Publish box: 2013-11-18 18:53:10 +00:00
misc.php Allow for Dashicons and base64-encoded data:image/svg+xml URIs when specifying menu icons. 2013-12-05 06:38:09 +00:00
ms-deprecated.php Remove ms-files.php rewriting from WordPress multisite. fixes #19235. 2012-09-11 22:22:20 +00:00
ms.php Inline documentation for hooks in wp-admin/includes/user.php. 2013-12-01 17:54:10 +00:00
nav-menu.php Remove redundant translation function calls. 2013-11-24 12:42:09 +00:00
plugin-install.php Replace the Star ratings in the dashboard with dashicons ratings. 2013-11-26 02:25:21 +00:00
plugin.php Allow for Dashicons and base64-encoded data:image/svg+xml URIs when specifying menu icons. 2013-12-05 06:38:09 +00:00
post.php Heartbeat: clean up code style, better naming, better code structure. Props carldanley, props evansolomon. 2013-11-14 18:41:10 +00:00
revision.php Spell out duplicate hook locations. 2013-10-24 22:59:20 +00:00
schema.php Use get_current_site() instead of the $current_site global when possible. 2013-11-13 03:23:10 +00:00
screen.php Remove all screen_icon() calls and deprecate the functions, props TobiasBg, fixes #26119 2013-12-02 03:53:11 +00:00
taxonomy.php Rather than adding a taxonomy arg to get_category(), convert all uses of get_category() in core to get_term(). By doing so, we negate the need to call _make_cat_compat() in a few places that are only looking for a single property. 2013-10-02 19:59:10 +00:00
template.php Replace the Star ratings in the dashboard with dashicons ratings. 2013-11-26 02:25:21 +00:00
theme-install.php Fix usage of undeclared variables. 2013-05-07 16:35:03 +00:00
theme.php No-JavaScript and no-Customizer support for the new Themes screen. 2013-12-06 16:11:10 +00:00
update-core.php Core Updates: Fix a case where options (db_version specifically) can end up with stale values in the cache after a update is performed. Fixes #26173 for trunk. 2013-11-28 02:16:09 +00:00
update.php Inline documentation for hooks in wp-admin/includes/update.php. 2013-12-02 21:55:10 +00:00
upgrade.php Deactivate MP6 on update to 3.8. 2013-12-05 21:30:11 +00:00
user.php Inline documentation for hooks in wp-admin/includes/user.php. 2013-12-01 17:54:10 +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