Commit Graph

9854 Commits

Author SHA1 Message Date
ryan c4d5b1806e Theme Customizer: Reduce reliance on fixed positioning and make sidebar UI flexible. Props koopersmith, ocean90, helenyhou. fixes #20799
git-svn-id: http://core.svn.wordpress.org/trunk@20969 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-06-01 15:48:09 +00:00
ryan cedff2638e Fix collapse button and return link markup for theme install preview. Props koopersmith. fixes #20800
git-svn-id: http://core.svn.wordpress.org/trunk@20968 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-06-01 15:03:50 +00:00
ryan 9b39ae6629 Theme help text updates. Consistently use Live Preview. Props SergeyBiryukov. fixes #20795
git-svn-id: http://core.svn.wordpress.org/trunk@20967 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-06-01 13:13:32 +00:00
nacin b545454ceb When the current image is the default image, don't show buttons to restore to that image, for both custom headers and backgrounds. props mfields, SergeyBiryukov. fixes #20763.
git-svn-id: http://core.svn.wordpress.org/trunk@20966 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-30 21:58:27 +00:00
bumpbot 3300b5fbfb Compress scripts/styles: 3.4-RC1-20965.
git-svn-id: http://core.svn.wordpress.org/trunk@20965 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-30 21:58:23 +00:00
azaozz 9855eccd45 Do not clear the old values in "Display name publicly as" drop-down on the user profile screen, append new values there when the user changes any of20747 the name fields, fixes #20747
git-svn-id: http://core.svn.wordpress.org/trunk@20964 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-30 21:54:33 +00:00
nacin 1d9c8f9aed Move customize-controls RTL CSS to wp-admin. see #20785.
git-svn-id: http://core.svn.wordpress.org/trunk@20963 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-30 21:12:36 +00:00
bumpbot 97456fdfb4 Compress scripts/styles: 3.4-RC1-20962.
git-svn-id: http://core.svn.wordpress.org/trunk@20962 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-30 20:58:22 +00:00
nacin 1757e3cbe7 RTL: For the list table items count, don't italicize the text. Remove a typo that tried to convert the text to bold; normal is the preferred route here so we are not going to set a font-weight. props yoavf, georgestephanis. fixes #20754.
git-svn-id: http://core.svn.wordpress.org/trunk@20961 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-30 20:47:25 +00:00
nacin b698913b10 Move customize-controls CSS and JS to wp-admin. fixes #20785.
git-svn-id: http://core.svn.wordpress.org/trunk@20960 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-30 20:11:04 +00:00
ryan b2fd3955a2 Better description for 'Faster WP_Query'. Props simonwheatley. fixes #20789
git-svn-id: http://core.svn.wordpress.org/trunk@20959 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-30 19:12:45 +00:00
ryan d00954f12e Post theme upgrade/install tweaks.
* Add title attributes to Live Preview links.
* Show Customize instead of Live Preview after upgrading current theme.
* Hide activate and preview links after theme upgrade when in the network admin.

Props SergeyBiryukov
fixes #20784


git-svn-id: http://core.svn.wordpress.org/trunk@20958 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-30 18:55:20 +00:00
ryan 03daf400c5 "Live Preview" rather than "Customize" after installing/upgrading a theme. Props SergeyBiryukov. fixes #20784
git-svn-id: http://core.svn.wordpress.org/trunk@20957 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-30 17:15:57 +00:00
nacin df1a904b9a Theme Customizer: Add the theme name to the 'You are previewing' string in the left pane, using a placeholder. props SergeyBiryukov, xibe. fixes #20782.
git-svn-id: http://core.svn.wordpress.org/trunk@20955 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-30 16:57:44 +00:00
ryan 5e27e6c788 Update help text to reflect new location of the customizer save buttons. Props tai. fixes #20775
git-svn-id: http://core.svn.wordpress.org/trunk@20954 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-30 16:31:30 +00:00
nacin f96b41dd3f Do not perform nonce checks in maint/repair.php.
If the options table is damaged and the keys/salts fall back to the database,
the nonce will never validate.

fixes #20780. see #20779.



git-svn-id: http://core.svn.wordpress.org/trunk@20953 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-30 16:22:53 +00:00
duck_ e506b3eaee wpmu_delete_user() should actually delete the user. Fixes #20792.
User meta is removed by delete_metadata_by_mid() already.


git-svn-id: http://core.svn.wordpress.org/trunk@20952 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-30 16:14:57 +00:00
nacin 6ab387f666 Update 'Under the Hood' on about.php. Add XML-RPC. Add more about i18n work. Rearrange to even out the columns and to create logical groups (performance x 2, themes x 2, external x 2). fixes #20766.
git-svn-id: http://core.svn.wordpress.org/trunk@20947 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-27 16:46:44 +00:00
ryan c0339644ea Shears of vigorous pinking.
git-svn-id: http://core.svn.wordpress.org/trunk@20944 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-27 16:25:43 +00:00
bumpbot 6a7daba342 Compress scripts/styles: 3.4-beta4-20943.
git-svn-id: http://core.svn.wordpress.org/trunk@20943 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-27 07:58:23 +00:00
azaozz dd2bae8931 Remove leftover JS global, see #18198
git-svn-id: http://core.svn.wordpress.org/trunk@20942 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-27 07:56:40 +00:00
koopersmith c2c3f2ba7f Theme Customizer: Don't expand theme title if there are no details to show. props nacin, fixes #20757, see #19910.
git-svn-id: http://core.svn.wordpress.org/trunk@20940 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-26 20:47:55 +00:00
bumpbot 0b1958f333 Compress scripts/styles: 3.4-beta4-20935.
git-svn-id: http://core.svn.wordpress.org/trunk@20935 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-26 15:58:30 +00:00
nacin 26e0d68be0 Theme Customizer: As customize.php without a theme parameter defaults to the current theme, update wp_customize_url() to make $stylesheet optional and update references for the current theme.
see #19910, #20751, #20575.



git-svn-id: http://core.svn.wordpress.org/trunk@20934 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-26 15:32:05 +00:00
nacin 8766391117 Theme Customizer: More RTL. props ocean90. fixes #20585.
git-svn-id: http://core.svn.wordpress.org/trunk@20932 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-26 15:22:02 +00:00
bumpbot 3f5a35aa11 Compress scripts/styles: 3.4-beta4-20923.
git-svn-id: http://core.svn.wordpress.org/trunk@20923 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-26 00:58:26 +00:00
koopersmith da8f2fe9c3 Theme Customizer: Reduce size of box shadow to minimize scrollbar overlap in Firefox. props azaozz, fixes #20753, see #19910.
git-svn-id: http://core.svn.wordpress.org/trunk@20922 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-26 00:21:34 +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
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
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
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
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
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
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
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
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
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
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 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
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
azaozz 453ab841d0 s/deffer/defer, see #20554
git-svn-id: http://core.svn.wordpress.org/trunk@20869 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-24 07:02:25 +00:00