Commit Graph

9826 Commits

Author SHA1 Message Date
Daryl Koopersmith b1e5b31c58 Theme Customizer: Improve background image control, add correct meta key to custom headers and backgrounds uploaded using the customizer. see #19910.
git-svn-id: https://develop.svn.wordpress.org/trunk@20913 602fd350-edb4-49c9-b593-d223f7449a82
2012-05-25 20:26:25 +00:00
bumpbot 442c7c69b3 Compress scripts/styles: 3.4-beta4-20911.
git-svn-id: https://develop.svn.wordpress.org/trunk@20911 602fd350-edb4-49c9-b593-d223f7449a82
2012-05-25 18:58:23 +00:00
Andrew Nacin 9aef6b843b Skip cached credits if version number doesn't match. props duck_. fixes #20270.
git-svn-id: https://develop.svn.wordpress.org/trunk@20909 602fd350-edb4-49c9-b593-d223f7449a82
2012-05-25 18:52:13 +00:00
Andrew Nacin 1a9975e388 Add the old root feed files to the $_old_files array, commented the way we've done for wp-register.php and wp-pass.php. see #20727.
git-svn-id: https://develop.svn.wordpress.org/trunk@20902 602fd350-edb4-49c9-b593-d223f7449a82
2012-05-25 18:12:29 +00:00
Andrew Nacin 85eb57bd89 Preview by default the registered default image for custom backgrounds. props mfields, billerickson.
If there is a default color registered, show a 'Default' action rather than a 'Clear' action, as clearing the value would simply return to the default.

Make current_theme_supports() accept a second argument for 'custom-background' requests, the same as get_theme_support(). Missed in earlier changes, see #20249.

fixes #20734, fixes #18041.



git-svn-id: https://develop.svn.wordpress.org/trunk@20901 602fd350-edb4-49c9-b593-d223f7449a82
2012-05-25 17:58:57 +00:00
bumpbot efefd513c3 Compress scripts/styles: 3.4-beta4-20900.
git-svn-id: https://develop.svn.wordpress.org/trunk@20900 602fd350-edb4-49c9-b593-d223f7449a82
2012-05-25 17:58:22 +00:00
Daryl Koopersmith d49df83c8c Theme Customizer: Improve activate and publish flow, make customizer states easier to track. fixes #20743, see #19910.
git-svn-id: https://develop.svn.wordpress.org/trunk@20899 602fd350-edb4-49c9-b593-d223f7449a82
2012-05-25 17:42:06 +00:00
Andrew Nacin 86f9620fd3 s/sumbit/submit/. props tollmanz, fixes #20744.
git-svn-id: https://develop.svn.wordpress.org/trunk@20896 602fd350-edb4-49c9-b593-d223f7449a82
2012-05-25 13:45:16 +00:00
Andrew Nacin 7b66754f5c Run _redirect_to_about_wordpress() in 3.4 due to the change in [20894] and the reliance on ?updated in [20887]. see #19599.
git-svn-id: https://develop.svn.wordpress.org/trunk@20895 602fd350-edb4-49c9-b593-d223f7449a82
2012-05-25 13:43:35 +00:00
Andrew Nacin 3f7b169181 Use correct variable when redirecting to about.php from update-core.php. fixes #19599.
git-svn-id: https://develop.svn.wordpress.org/trunk@20894 602fd350-edb4-49c9-b593-d223f7449a82
2012-05-25 13:41:01 +00:00
Daryl Koopersmith b1a672cdfa Theme Customizer: Add CORS checks to the initial check for customize support. Prevents flash of customize links on large pages. see #20582, #19910.
Add wp_customize_support_script(), to quickly alter the body class based on whether customize is supported.


git-svn-id: https://develop.svn.wordpress.org/trunk@20893 602fd350-edb4-49c9-b593-d223f7449a82
2012-05-25 00:15:12 +00:00
Andrew Ozz 82f26f5892 Pointers: fix check for defer_loading, fixes #20554
git-svn-id: https://develop.svn.wordpress.org/trunk@20891 602fd350-edb4-49c9-b593-d223f7449a82
2012-05-24 22:50:30 +00:00
Andrew Nacin ea4b2a2452 _wp_ajax_add_hierarchical_term() no longer gets passed an action, so pull it from POST. see #20699.
git-svn-id: https://develop.svn.wordpress.org/trunk@20888 602fd350-edb4-49c9-b593-d223f7449a82
2012-05-24 21:38:01 +00:00
Daryl Koopersmith acdce48f5c Theme Customizer: Check for CORS support when the preview and admin urls are cross-domain. Add a fallback to the customize control frame, and check support there as well. see #20582, #19910.
git-svn-id: https://develop.svn.wordpress.org/trunk@20886 602fd350-edb4-49c9-b593-d223f7449a82
2012-05-24 21:13:21 +00:00
Andrew Nacin 635c3a83e9 Move from 'Upload Image' to 'Select Image' as this section now includes choosing an image from the media library. see #20737.
git-svn-id: https://develop.svn.wordpress.org/trunk@20885 602fd350-edb4-49c9-b593-d223f7449a82
2012-05-24 21:07:39 +00:00
Ryan Boren bdad6e911b Improve appearance of "choose from library" link for headers and backgrounds. Props SergeyBiryukov, sabreuse. see #20737
git-svn-id: https://develop.svn.wordpress.org/trunk@20884 602fd350-edb4-49c9-b593-d223f7449a82
2012-05-24 21:03:38 +00:00
Daryl Koopersmith b0a9ad5216 Theme Customizer: Improve accuracy of identifying internal urls. see #20507, #19910.
The 'customize_preview_link' filter has been replaced by 'customize_allowed_urls'.
Improved accuracy when checking for wp-admin.
Improved accuracy when attempting to match the schemes of the control and preview frames.
Improved accuracy of internal link whitelist.


git-svn-id: https://develop.svn.wordpress.org/trunk@20882 602fd350-edb4-49c9-b593-d223f7449a82
2012-05-24 19:17:49 +00:00
Andrew Ozz ff16e0f409 Pointers: center pointer on Themes screen, fixes #20554
git-svn-id: https://develop.svn.wordpress.org/trunk@20880 602fd350-edb4-49c9-b593-d223f7449a82
2012-05-24 16:34:51 +00:00
Peter Westwood a45f8f3763 Update the About page description of the improvements to the translations loading to more user facing language. Fixes #20742 props vanillalounge.
git-svn-id: https://develop.svn.wordpress.org/trunk@20879 602fd350-edb4-49c9-b593-d223f7449a82
2012-05-24 16:15:18 +00:00
Ryan Boren 65125dccb3 "Save & Activate", "Save & Publish" for customizer save button. Props jane. see #20692 #19910
git-svn-id: https://develop.svn.wordpress.org/trunk@20877 602fd350-edb4-49c9-b593-d223f7449a82
2012-05-24 14:44:13 +00:00
Andrew Nacin 4423fd7c68 Add space between 'Plugins' title and 'Add New' button on plugins.php, like all other screens. [20868] was not meant to hit the 3.3 branch.
git-svn-id: https://develop.svn.wordpress.org/trunk@20871 602fd350-edb4-49c9-b593-d223f7449a82
2012-05-24 07:05:32 +00:00
Andrew Ozz f0bbe7fe57 s/deffer/defer, see #20554
git-svn-id: https://develop.svn.wordpress.org/trunk@20869 602fd350-edb4-49c9-b593-d223f7449a82
2012-05-24 07:02:25 +00:00
Andrew Ozz 17fa8d52ec Pointers: add arg to pointer options to load at window.loaded (after all images have been loaded and the layout is finalized) and use it on the custom header screen, see #20554
git-svn-id: https://develop.svn.wordpress.org/trunk@20867 602fd350-edb4-49c9-b593-d223f7449a82
2012-05-24 06:45:49 +00:00
Mark Jaquith 2b9809f381 Set $action for core ajax callbacks, as it will not be provided by the do_action() call until WordPress 3.5. props kurtpayne. fixes #20699
git-svn-id: https://develop.svn.wordpress.org/trunk@20866 602fd350-edb4-49c9-b593-d223f7449a82
2012-05-24 06:40:53 +00:00
Daryl Koopersmith 4b9f6216e9 Theme Customizer: Change 'Return to...' link to 'Cancel' and move 'Save' button to header. props helenyhou, fixes #20692, see #19910.
git-svn-id: https://develop.svn.wordpress.org/trunk@20864 602fd350-edb4-49c9-b593-d223f7449a82
2012-05-24 03:29:51 +00:00
Andrew Nacin 694228f319 Refine early bailing checks in customize.php. see #20852.
git-svn-id: https://develop.svn.wordpress.org/trunk@20858 602fd350-edb4-49c9-b593-d223f7449a82
2012-05-23 21:00:02 +00:00
Ryan Boren 18c7acb94b Don't pass action ID to the ajax actions to avoid possible back compat problems. Props sivel. fixes #20699
git-svn-id: https://develop.svn.wordpress.org/trunk@20857 602fd350-edb4-49c9-b593-d223f7449a82
2012-05-23 20:46:38 +00:00
Jon Cave 19b58518c5 Fix minor typos in about.php. See #20423.
git-svn-id: https://develop.svn.wordpress.org/trunk@20855 602fd350-edb4-49c9-b593-d223f7449a82
2012-05-23 20:36:46 +00:00
Ryan Boren 6149a105fc Updated text for Customize pointer. Props jane. see #20554
git-svn-id: https://develop.svn.wordpress.org/trunk@20854 602fd350-edb4-49c9-b593-d223f7449a82
2012-05-23 19:49:14 +00:00
Andrew Nacin f83435d1bd Remove debug cruft from [20852].
git-svn-id: https://develop.svn.wordpress.org/trunk@20853 602fd350-edb4-49c9-b593-d223f7449a82
2012-05-23 18:00:09 +00:00
Andrew Nacin aba958e81c Customize API shuffling.
* Rename WP_Customize to WP_Customize_Manager.
 * Move customize-controls.php to wp-admin/customize.php.
 * Make customize.php the formal entry point, rather than admin.php?customize=on.
 * Rename is_current_theme_active() to is_theme_active().
 * Add getters for the theme, settings, controls, and sections properties.
 * Allow customize.php (no ?theme=) to load the active theme. Not used yet.
see #20736.



git-svn-id: https://develop.svn.wordpress.org/trunk@20852 602fd350-edb4-49c9-b593-d223f7449a82
2012-05-23 17:56:42 +00:00
Ryan Boren cd142f3e26 Update old_files. fixes #20727
git-svn-id: https://develop.svn.wordpress.org/trunk@20850 602fd350-edb4-49c9-b593-d223f7449a82
2012-05-23 15:05:29 +00:00
Andrew Ozz a02a07f1c1 About screen: fix typo, see #20423
git-svn-id: https://develop.svn.wordpress.org/trunk@20849 602fd350-edb4-49c9-b593-d223f7449a82
2012-05-23 02:29:58 +00:00
Andrew Nacin bd5a0fae45 Use mdash. see #20423.
git-svn-id: https://develop.svn.wordpress.org/trunk@20848 602fd350-edb4-49c9-b593-d223f7449a82
2012-05-23 02:22:43 +00:00
Andrew Ozz 384fa4895b About screen: make the text translatable again and escape <img src=admin_url(), see #20423
git-svn-id: https://develop.svn.wordpress.org/trunk@20847 602fd350-edb4-49c9-b593-d223f7449a82
2012-05-23 02:03:52 +00:00
Ryan Boren 8ff3ad7903 Don't concatenate. see #19910
git-svn-id: https://develop.svn.wordpress.org/trunk@20845 602fd350-edb4-49c9-b593-d223f7449a82
2012-05-22 20:34:45 +00:00
Ryan Boren 4500216283 Show the template name instead of just the filename. Props arieputranto, SergeyBiryukov. fixes #20718
git-svn-id: https://develop.svn.wordpress.org/trunk@20844 602fd350-edb4-49c9-b593-d223f7449a82
2012-05-22 15:25:35 +00:00
Ryan Boren b90c032c96 about.php text. Props jane. see #20423
git-svn-id: https://develop.svn.wordpress.org/trunk@20843 602fd350-edb4-49c9-b593-d223f7449a82
2012-05-22 14:45:50 +00:00
Andrew Ozz 244efd50f2 Crush flex-header-media-library.png, see #20423
git-svn-id: https://develop.svn.wordpress.org/trunk@20842 602fd350-edb4-49c9-b593-d223f7449a82
2012-05-22 02:46:59 +00:00
bumpbot 868e56e940 Compress scripts/styles: 3.4-beta4-20841.
git-svn-id: https://develop.svn.wordpress.org/trunk@20841 602fd350-edb4-49c9-b593-d223f7449a82
2012-05-22 01:58:24 +00:00
Andrew Ozz 9f52c43a09 Simpler layout for the about screen (still needs text), props chexee, see #20423
git-svn-id: https://develop.svn.wordpress.org/trunk@20840 602fd350-edb4-49c9-b593-d223f7449a82
2012-05-22 01:58:00 +00:00
Ryan Boren 8e75e8ce49 Feature pointers for choosing an image from the library on the custom header and background pages. see #20554
git-svn-id: https://develop.svn.wordpress.org/trunk@20839 602fd350-edb4-49c9-b593-d223f7449a82
2012-05-21 20:34:20 +00:00
bumpbot 270a3de367 Compress scripts/styles: 3.4-beta4-20838.
git-svn-id: https://develop.svn.wordpress.org/trunk@20838 602fd350-edb4-49c9-b593-d223f7449a82
2012-05-21 19:58:25 +00:00
Ryan Boren 039002fbc7 Fix path to customizer collpase arrows. Props markjaquith. fixes #20701
git-svn-id: https://develop.svn.wordpress.org/trunk@20835 602fd350-edb4-49c9-b593-d223f7449a82
2012-05-21 19:49:51 +00:00
Andrew Ozz 3ca0c089f2 Fix closing div position when post doesn't support editor, props markoheijnen, SergeyBiryukov, fixes #20709
git-svn-id: https://develop.svn.wordpress.org/trunk@20832 602fd350-edb4-49c9-b593-d223f7449a82
2012-05-20 22:20:00 +00:00
Ryan Boren bb4ab7e842 set_url_scheme() for header and background image srcs. see #20702
git-svn-id: https://develop.svn.wordpress.org/trunk@20830 602fd350-edb4-49c9-b593-d223f7449a82
2012-05-18 20:22:57 +00:00
Ryan Boren 74b9335d43 'Live Preview' instead of 'Customize' for the customizer links in the theme browser. see #19910
git-svn-id: https://develop.svn.wordpress.org/trunk@20827 602fd350-edb4-49c9-b593-d223f7449a82
2012-05-18 16:27:24 +00:00
Andrew Ozz 63e747792d Image captions: revert label change back to "Caption", fixes #18311
git-svn-id: https://develop.svn.wordpress.org/trunk@20826 602fd350-edb4-49c9-b593-d223f7449a82
2012-05-18 02:50:05 +00:00
bumpbot 3474f26526 Compress scripts/styles: 3.4-beta4-20825.
git-svn-id: https://develop.svn.wordpress.org/trunk@20825 602fd350-edb4-49c9-b593-d223f7449a82
2012-05-17 21:58:27 +00:00
Daryl Koopersmith 5ebe631a77 Theme Customizer: RTL fixes. props ocean90, fixes #20585, see #19910.
git-svn-id: https://develop.svn.wordpress.org/trunk@20824 602fd350-edb4-49c9-b593-d223f7449a82
2012-05-17 21:37:00 +00:00