Commit Graph

9846 Commits

Author SHA1 Message Date
Andrew Nacin d21efbb68e 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: https://develop.svn.wordpress.org/trunk@20961 602fd350-edb4-49c9-b593-d223f7449a82
2012-05-30 20:47:25 +00:00
Andrew Nacin 181e1a26f6 Move customize-controls CSS and JS to wp-admin. fixes #20785.
git-svn-id: https://develop.svn.wordpress.org/trunk@20960 602fd350-edb4-49c9-b593-d223f7449a82
2012-05-30 20:11:04 +00:00
Ryan Boren 22287937ce Better description for 'Faster WP_Query'. Props simonwheatley. fixes #20789
git-svn-id: https://develop.svn.wordpress.org/trunk@20959 602fd350-edb4-49c9-b593-d223f7449a82
2012-05-30 19:12:45 +00:00
Ryan Boren 4cc837fc71 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: https://develop.svn.wordpress.org/trunk@20958 602fd350-edb4-49c9-b593-d223f7449a82
2012-05-30 18:55:20 +00:00
Ryan Boren b2360c4bf4 "Live Preview" rather than "Customize" after installing/upgrading a theme. Props SergeyBiryukov. fixes #20784
git-svn-id: https://develop.svn.wordpress.org/trunk@20957 602fd350-edb4-49c9-b593-d223f7449a82
2012-05-30 17:15:57 +00:00
Andrew Nacin b6db6cefd1 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: https://develop.svn.wordpress.org/trunk@20955 602fd350-edb4-49c9-b593-d223f7449a82
2012-05-30 16:57:44 +00:00
Ryan Boren be8d2ae0e2 Update help text to reflect new location of the customizer save buttons. Props tai. fixes #20775
git-svn-id: https://develop.svn.wordpress.org/trunk@20954 602fd350-edb4-49c9-b593-d223f7449a82
2012-05-30 16:31:30 +00:00
Andrew Nacin 4aba7f5058 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: https://develop.svn.wordpress.org/trunk@20953 602fd350-edb4-49c9-b593-d223f7449a82
2012-05-30 16:22:53 +00:00
Jon Cave b942f0b25d wpmu_delete_user() should actually delete the user. Fixes #20792.
User meta is removed by delete_metadata_by_mid() already.


git-svn-id: https://develop.svn.wordpress.org/trunk@20952 602fd350-edb4-49c9-b593-d223f7449a82
2012-05-30 16:14:57 +00:00
Andrew Nacin cd2e3519fa 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: https://develop.svn.wordpress.org/trunk@20947 602fd350-edb4-49c9-b593-d223f7449a82
2012-05-27 16:46:44 +00:00
Ryan Boren b6e23d7269 Shears of vigorous pinking.
git-svn-id: https://develop.svn.wordpress.org/trunk@20944 602fd350-edb4-49c9-b593-d223f7449a82
2012-05-27 16:25:43 +00:00
bumpbot ea2e1a641f Compress scripts/styles: 3.4-beta4-20943.
git-svn-id: https://develop.svn.wordpress.org/trunk@20943 602fd350-edb4-49c9-b593-d223f7449a82
2012-05-27 07:58:23 +00:00
Andrew Ozz a18e5b46e6 Remove leftover JS global, see #18198
git-svn-id: https://develop.svn.wordpress.org/trunk@20942 602fd350-edb4-49c9-b593-d223f7449a82
2012-05-27 07:56:40 +00:00
Daryl Koopersmith d0a638e2cb Theme Customizer: Don't expand theme title if there are no details to show. props nacin, fixes #20757, see #19910.
git-svn-id: https://develop.svn.wordpress.org/trunk@20940 602fd350-edb4-49c9-b593-d223f7449a82
2012-05-26 20:47:55 +00:00
bumpbot da056976ea Compress scripts/styles: 3.4-beta4-20935.
git-svn-id: https://develop.svn.wordpress.org/trunk@20935 602fd350-edb4-49c9-b593-d223f7449a82
2012-05-26 15:58:30 +00:00
Andrew Nacin e7e922b356 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: https://develop.svn.wordpress.org/trunk@20934 602fd350-edb4-49c9-b593-d223f7449a82
2012-05-26 15:32:05 +00:00
Andrew Nacin 45f7b34b4f Theme Customizer: More RTL. props ocean90. fixes #20585.
git-svn-id: https://develop.svn.wordpress.org/trunk@20932 602fd350-edb4-49c9-b593-d223f7449a82
2012-05-26 15:22:02 +00:00
bumpbot 4c0e9056ef Compress scripts/styles: 3.4-beta4-20923.
git-svn-id: https://develop.svn.wordpress.org/trunk@20923 602fd350-edb4-49c9-b593-d223f7449a82
2012-05-26 00:58:26 +00:00
Daryl Koopersmith eda2a6261d Theme Customizer: Reduce size of box shadow to minimize scrollbar overlap in Firefox. props azaozz, fixes #20753, see #19910.
git-svn-id: https://develop.svn.wordpress.org/trunk@20922 602fd350-edb4-49c9-b593-d223f7449a82
2012-05-26 00:21:34 +00:00
Daryl Koopersmith e0fc4ce778 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: https://develop.svn.wordpress.org/trunk@20918 602fd350-edb4-49c9-b593-d223f7449a82
2012-05-25 22:26:00 +00:00
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