koopersmith
3c044eba6f
Theme Customizer: Correctly use custom-background class in theme preview. See #19910 .
...
git-svn-id: http://core.svn.wordpress.org/trunk@20919 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-25 22:43:11 +00:00
koopersmith
69c970a4a1
Hide 'Customize' toolbar item when customizer is not supported. fixes #20751 , see #19910 .
...
Removes script queue check for 'customize-loader' from wp_customize_support_script(), because we may want to check for customize-support on a page without the loader.
git-svn-id: http://core.svn.wordpress.org/trunk@20918 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-25 22:26:00 +00:00
potbot
a91c11b8a5
POT, generated from r20916
...
git-svn-id: http://core.svn.wordpress.org/trunk@20917 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-25 22:18:18 +00:00
koopersmith
01f8df5b80
Twenty Eleven theme customizer integration. props lancewillett, Otto42. fixes #20448 , see #19910 .
...
git-svn-id: http://core.svn.wordpress.org/trunk@20916 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-25 21:50:01 +00:00
koopersmith
ae0212699a
Theme Customizer: Allow sanitize_hexcolor to accept the empty string. Fixes default assignment on save and bug where header textcolor would remain hidden if loaded hidden. see #19910 .
...
git-svn-id: http://core.svn.wordpress.org/trunk@20915 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-25 20:58:49 +00:00
bumpbot
fbcc2cb097
Compress scripts/styles: 3.4-beta4-20914.
...
git-svn-id: http://core.svn.wordpress.org/trunk@20914 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-25 20:58:23 +00:00
koopersmith
beb401b533
Theme Customizer: Improve background image control, add correct meta key to custom headers and backgrounds uploaded using the customizer. see #19910 .
...
git-svn-id: http://core.svn.wordpress.org/trunk@20913 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-25 20:26:25 +00:00
koopersmith
9a3b25de9d
Theme Customizer: Section reorganization. see #19910 .
...
Now that sections are organized in accordions, group items by size and usage.
Move header/background controls into colors, header image, background image, and title/tagline sections.
git-svn-id: http://core.svn.wordpress.org/trunk@20912 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-25 19:52:54 +00:00
bumpbot
f895adb49c
Compress scripts/styles: 3.4-beta4-20911.
...
git-svn-id: http://core.svn.wordpress.org/trunk@20911 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-25 18:58:23 +00:00
koopersmith
0e67a9a8c4
Theme Customizer: Improve hex color sanitization functions. fixes #20600 , see #19910 .
...
Instead of fetching default header_textcolor manually, return null to do so automatically.
Improve hex regex.
git-svn-id: http://core.svn.wordpress.org/trunk@20910 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-25 18:54:57 +00:00
nacin
f28ecbabc4
Skip cached credits if version number doesn't match. props duck_. fixes #20270 .
...
git-svn-id: http://core.svn.wordpress.org/trunk@20909 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-25 18:52:13 +00:00
koopersmith
a5ee470df7
Theme Customizer: Improve default background property handling. see #20600 , #19910 .
...
If the custom background default wp-head-callback (_custom_background_cb) is used, we use postMessage for all custom background properties. Otherwise, we use full refreshes.
When using postMessage, the preview recalculates the custom background CSS block, allowing it to omit CSS values when they are not present and fall back on the original CSS.
git-svn-id: http://core.svn.wordpress.org/trunk@20908 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-25 18:41:22 +00:00
nacin
a236527f4d
Twenty Eleven: Remove unused CSS. props SergeyBiryukov. fixes #20470 .
...
git-svn-id: http://core.svn.wordpress.org/trunk@20907 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-25 18:29:05 +00:00
nacin
e303c609b3
Twenty Eleven: Style the samp and var elements the same way we style the code and kbd elements. props mfields, fixes #17842 .
...
git-svn-id: http://core.svn.wordpress.org/trunk@20906 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-25 18:22:31 +00:00
nacin
78f3a9cbf5
Twenty Eleven: Add whitespace to paragraphs in the image post format. props mfields, fixes #20471 .
...
git-svn-id: http://core.svn.wordpress.org/trunk@20905 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-25 18:16:42 +00:00
nacin
a9ebdd659b
Twenty Eleven: Remove border and padding from images in the image widget. props lancewillett, fixes #20482 .
...
git-svn-id: http://core.svn.wordpress.org/trunk@20904 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-25 18:16:01 +00:00
nacin
e85049387a
Twenty Eleven: Correct the display of featured images in the showcase template for IE8. props chellycat. fixes #20479 .
...
git-svn-id: http://core.svn.wordpress.org/trunk@20903 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-25 18:14:44 +00:00
nacin
8b3f9ff9b2
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: http://core.svn.wordpress.org/trunk@20902 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-25 18:12:29 +00:00
nacin
afad27974e
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: http://core.svn.wordpress.org/trunk@20901 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-25 17:58:57 +00:00
bumpbot
f58b088cfd
Compress scripts/styles: 3.4-beta4-20900.
...
git-svn-id: http://core.svn.wordpress.org/trunk@20900 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-25 17:58:22 +00:00
koopersmith
b3c12bada3
Theme Customizer: Improve activate and publish flow, make customizer states easier to track. fixes #20743 , see #19910 .
...
git-svn-id: http://core.svn.wordpress.org/trunk@20899 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-25 17:42:06 +00:00
bumpbot
d05de3ad24
Compress scripts/styles: 3.4-beta4-20898.
...
git-svn-id: http://core.svn.wordpress.org/trunk@20898 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-25 16:58:23 +00:00
koopersmith
c71b8d0925
Theme Customizer: Prevent messengers from binding to the current window when a parent doesn't exist. see #19910 .
...
git-svn-id: http://core.svn.wordpress.org/trunk@20897 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-25 16:19:18 +00:00
nacin
ff8b21eb47
s/sumbit/submit/. props tollmanz, fixes #20744 .
...
git-svn-id: http://core.svn.wordpress.org/trunk@20896 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-25 13:45:16 +00:00
nacin
4c7e03281b
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: http://core.svn.wordpress.org/trunk@20895 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-25 13:43:35 +00:00
nacin
206e266cad
Use correct variable when redirecting to about.php from update-core.php. fixes #19599 .
...
git-svn-id: http://core.svn.wordpress.org/trunk@20894 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-25 13:41:01 +00:00
koopersmith
d8abece877
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: http://core.svn.wordpress.org/trunk@20893 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-25 00:15:12 +00:00
bumpbot
bff286c100
Compress scripts/styles: 3.4-beta4-20892.
...
git-svn-id: http://core.svn.wordpress.org/trunk@20892 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-24 22:58:21 +00:00
azaozz
c4942fae11
Pointers: fix check for defer_loading, fixes #20554
...
git-svn-id: http://core.svn.wordpress.org/trunk@20891 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-24 22:50:30 +00:00
koopersmith
2f09b8d0a6
Theme Customizer: Fix hash-based loader fallbacks. see #20736 , #19910 , [20886].
...
git-svn-id: http://core.svn.wordpress.org/trunk@20890 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-24 22:45:27 +00:00
bumpbot
29eb5af53f
Compress scripts/styles: 3.4-beta4-20889.
...
git-svn-id: http://core.svn.wordpress.org/trunk@20889 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-24 21:40:40 +00:00
nacin
d928ce089a
_wp_ajax_add_hierarchical_term() no longer gets passed an action, so pull it from POST. see #20699 .
...
git-svn-id: http://core.svn.wordpress.org/trunk@20888 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-24 21:38:01 +00:00
nacin
9f97ddf45c
When auth_redirect() detects a logged out user and the target
...
page was about.php?updated, then issue a message welcoming them.
This is to prevent it from being so jolting if you are taken to
the login screen after an update.
In WordPress 3.4, the changes to wp_salt() provide for extra
security, but will cause a log-out for any installs without 8
unique keys and salts in wp-config.php (with some exceptions).
Properly re-issuing cookies, even for the logged in user, is
not easily doable via admin/includes/update-core.php, as that
file is included long after the headers are sent.
see #19599 .
git-svn-id: http://core.svn.wordpress.org/trunk@20887 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-24 21:22:09 +00:00
koopersmith
c3e7ce5320
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: http://core.svn.wordpress.org/trunk@20886 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-24 21:13:21 +00:00
nacin
92423061e4
Move from 'Upload Image' to 'Select Image' as this section now includes choosing an image from the media library. see #20737 .
...
git-svn-id: http://core.svn.wordpress.org/trunk@20885 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-24 21:07:39 +00:00
ryan
4cad786961
Improve appearance of "choose from library" link for headers and backgrounds. Props SergeyBiryukov, sabreuse. see #20737
...
git-svn-id: http://core.svn.wordpress.org/trunk@20884 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-24 21:03:38 +00:00
bumpbot
878433583e
Compress scripts/styles: 3.4-beta4-20883.
...
git-svn-id: http://core.svn.wordpress.org/trunk@20883 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-24 19:58:22 +00:00
koopersmith
84cc00a6e8
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: http://core.svn.wordpress.org/trunk@20882 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-24 19:17:49 +00:00
nacin
d0eb7ef75e
Twenty Eleven: pull classes shouldn't force a width on all elements (like images). props matveb. fixes #20485 .
...
git-svn-id: http://core.svn.wordpress.org/trunk@20881 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-24 18:05:36 +00:00
azaozz
7729e3742e
Pointers: center pointer on Themes screen, fixes #20554
...
git-svn-id: http://core.svn.wordpress.org/trunk@20880 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-24 16:34:51 +00:00
westi
b1dc47cc32
Update the About page description of the improvements to the translations loading to more user facing language. Fixes #20742 props vanillalounge.
...
git-svn-id: http://core.svn.wordpress.org/trunk@20879 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-24 16:15:18 +00:00
ryan
c727c4ef21
"Save & Activate" for customize controls localization. see #20692 #19910
...
git-svn-id: http://core.svn.wordpress.org/trunk@20878 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-24 15:20:33 +00:00
ryan
35d5894c27
"Save & Activate", "Save & Publish" for customizer save button. Props jane. see #20692 #19910
...
git-svn-id: http://core.svn.wordpress.org/trunk@20877 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-24 14:44:13 +00:00
potbot
400c0fdabe
POT, generated from r20875
...
git-svn-id: http://core.svn.wordpress.org/trunk@20876 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-24 08:18:26 +00:00
markjaquith
5a1279320a
Remove some dead add_option() code in Twenty Eleven. props Mamaduka, emhr. fixes #19743
...
git-svn-id: http://core.svn.wordpress.org/trunk@20875 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-24 07:38:13 +00:00
markjaquith
c1fe189ec3
ALIGN *ALL* THE THINGS! see #20324
...
git-svn-id: http://core.svn.wordpress.org/trunk@20874 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-24 07:14:10 +00:00
nacin
6e96ad62aa
Update dailymotion's oEmbed endpoint. props arena. fixes #20324 .
...
git-svn-id: http://core.svn.wordpress.org/trunk@20873 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-24 07:07:55 +00:00
nacin
111f59eac5
Remove reference to a global eliminated long ago. props tamlyn, fixes #20668 .
...
git-svn-id: http://core.svn.wordpress.org/trunk@20872 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-24 07:06:13 +00:00
nacin
9dc633d261
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: http://core.svn.wordpress.org/trunk@20871 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-24 07:05:32 +00:00
markjaquith
94dcf629f2
Fix orphaned arrow on Twenty Eleven's paged post navigation. props mfields. fixes #19526
...
git-svn-id: http://core.svn.wordpress.org/trunk@20870 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-24 07:04:34 +00:00