Commit Graph

19153 Commits

Author SHA1 Message Date
Andrew Nacin
24df08ed87 Move customize-controls RTL CSS to wp-admin. see #20785.
git-svn-id: https://develop.svn.wordpress.org/trunk@20963 602fd350-edb4-49c9-b593-d223f7449a82
2012-05-30 21:12:36 +00:00
bumpbot
0a45ef1bf0 Compress scripts/styles: 3.4-RC1-20962.
git-svn-id: https://develop.svn.wordpress.org/trunk@20962 602fd350-edb4-49c9-b593-d223f7449a82
2012-05-30 20:58:22 +00:00
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
bumpbot
9ef39d81de Compress scripts/styles: 3.4-RC1-20956.
git-svn-id: https://develop.svn.wordpress.org/trunk@20956 602fd350-edb4-49c9-b593-d223f7449a82
2012-05-30 16:58:19 +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
bumpbot
90315af324 Compress scripts/styles: 3.4-RC1-20950.
git-svn-id: https://develop.svn.wordpress.org/trunk@20950 602fd350-edb4-49c9-b593-d223f7449a82
2012-05-28 20:58:19 +00:00
Mark Jaquith
a669fa00ca RTL font updates for the Theme Customizer. props yoavf. fixes #20585
git-svn-id: https://develop.svn.wordpress.org/trunk@20949 602fd350-edb4-49c9-b593-d223f7449a82
2012-05-28 20:00:15 +00:00
Ryan Boren
d78a0d9c31 RC1 bump
git-svn-id: https://develop.svn.wordpress.org/trunk@20948 602fd350-edb4-49c9-b593-d223f7449a82
2012-05-27 17:12:29 +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
Andrew Nacin
e1c6f28e33 Provide a Text Domain header for Twenty Ten and Twenty Eleven. WP_Theme will then look to translate the style.css headers (name, author, description, etc.) on themes.php, even if the theme isn't activated. fixes #20448.
git-svn-id: https://develop.svn.wordpress.org/trunk@20946 602fd350-edb4-49c9-b593-d223f7449a82
2012-05-27 16:44:14 +00:00
Andrew Nacin
165e855510 WP_Theme: If no 'Domain Path' header is specified, default to looking in the /languages directory. see #20103, see #20448.
git-svn-id: https://develop.svn.wordpress.org/trunk@20945 602fd350-edb4-49c9-b593-d223f7449a82
2012-05-27 16:42:38 +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
bumpbot
00c2d58e3b Compress scripts/styles: 3.4-beta4-20941.
git-svn-id: https://develop.svn.wordpress.org/trunk@20941 602fd350-edb4-49c9-b593-d223f7449a82
2012-05-26 20:58:28 +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
04bf106bc6 Compress scripts/styles: 3.4-beta4-20939.
git-svn-id: https://develop.svn.wordpress.org/trunk@20939 602fd350-edb4-49c9-b593-d223f7449a82
2012-05-26 19:58:26 +00:00
Daryl Koopersmith
ccf22d9821 Theme Customizer: Color picker RTL fixes. props ocean90, see #20448.
git-svn-id: https://develop.svn.wordpress.org/trunk@20938 602fd350-edb4-49c9-b593-d223f7449a82
2012-05-26 19:02:09 +00:00
bumpbot
9e76dc4f7d Compress scripts/styles: 3.4-beta4-20937.
git-svn-id: https://develop.svn.wordpress.org/trunk@20937 602fd350-edb4-49c9-b593-d223f7449a82
2012-05-26 18:58:28 +00:00
Daryl Koopersmith
771ca21787 Theme Customizer: Ensure that JS color controls always use real color values, even if the server-side value is a hex value without a hash. fixes #20448, see #19910.
Adds WP_Customize_Setting->sanitize_js_callback and 'customize_sanitize_js_$settingID' filter, to filter values before they're passed to JS using WP_Customize_Setting->js_value().

Adds support for regular hex colors to the color picker.

Changes color methods:
* sanitize_hex_color() accepts 3 and 6 digit hex colors (with hashes) and the empty string.
* sanitize_hex_color_no_hash() accepts 3 and 6 digit hex colors (without hashes) and the empty string.
* maybe_hash_hex_color() ensures that a hex color has a hash, and otherwise leaves the value untouched.


git-svn-id: https://develop.svn.wordpress.org/trunk@20936 602fd350-edb4-49c9-b593-d223f7449a82
2012-05-26 18:44:31 +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
cd3af4b6d1 Theme Customizer: 'Header Text Color', not 'Text Color', when referring to the header text in the Colors section. props ocean90. see #19910.
git-svn-id: https://develop.svn.wordpress.org/trunk@20933 602fd350-edb4-49c9-b593-d223f7449a82
2012-05-26 15:24:42 +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
a92af521b0 Compress scripts/styles: 3.4-beta4-20931.
git-svn-id: https://develop.svn.wordpress.org/trunk@20931 602fd350-edb4-49c9-b593-d223f7449a82
2012-05-26 07:58:28 +00:00
Daryl Koopersmith
7542bc9ab5 Theme Customizer: Fix preview background CSS creation to insert/remove style nodes (for IE8 compatibility). fixes #20582, see #19910.
git-svn-id: https://develop.svn.wordpress.org/trunk@20930 602fd350-edb4-49c9-b593-d223f7449a82
2012-05-26 07:02:28 +00:00
bumpbot
00bccb6d74 Compress scripts/styles: 3.4-beta4-20929.
git-svn-id: https://develop.svn.wordpress.org/trunk@20929 602fd350-edb4-49c9-b593-d223f7449a82
2012-05-26 05:58:26 +00:00
Daryl Koopersmith
83c45f9d04 Theme Customizer: Fix IE8 drag/drop uploader incompatibility. see #20582, #19910.
Bind drag/drop support checks to individual plupload instances.
Add drag-over classes to wp.Uploader and corresponding styles to customize image controls.


git-svn-id: https://develop.svn.wordpress.org/trunk@20928 602fd350-edb4-49c9-b593-d223f7449a82
2012-05-26 05:55:40 +00:00
bumpbot
c025eb0ce9 Compress scripts/styles: 3.4-beta4-20927.
git-svn-id: https://develop.svn.wordpress.org/trunk@20927 602fd350-edb4-49c9-b593-d223f7449a82
2012-05-26 04:58:27 +00:00
Andrew Nacin
7552f3d242 Theme Customizer: Introduce a remove_preview_signature() method that we can employ to ensure we do not think a wp_die() is a customizer-generated preview. see #20507.
git-svn-id: https://develop.svn.wordpress.org/trunk@20926 602fd350-edb4-49c9-b593-d223f7449a82
2012-05-26 04:34:45 +00:00
Daryl Koopersmith
0847bf3b89 Theme Customizer: Add a signature to preview requests to be super-double-ultra-sure that the customizer generated the preview. Redirects can be sneaky. fixes #20507, see #19910.
git-svn-id: https://develop.svn.wordpress.org/trunk@20925 602fd350-edb4-49c9-b593-d223f7449a82
2012-05-26 04:08:44 +00:00
Andrew Nacin
a621d3e326 Do not spawn cron or trigger update checks when running the customizer.
Both can slow down the experience.

The alternate cron will issue a redirect which creates more work for the
customizer, but not exit immediately, which means shutdown will be delayed
(see future changeset from koopersmith in #20507 where we check for a token
printed on shutdown to ensure the response came from the customizer).

The update checks could also cause bad data to be sent. In particular, the
currently active theme would be incorrect.

see #20507.



git-svn-id: https://develop.svn.wordpress.org/trunk@20924 602fd350-edb4-49c9-b593-d223f7449a82
2012-05-26 03:52:14 +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
bumpbot
2a856e0767 Compress scripts/styles: 3.4-beta4-20921.
git-svn-id: https://develop.svn.wordpress.org/trunk@20921 602fd350-edb4-49c9-b593-d223f7449a82
2012-05-25 22:58:24 +00:00
Daryl Koopersmith
f0ee0c39dd Theme Customizer: Fix width for image picker thumbnails in IE8. props SergeyBiryukov, see #20582.
git-svn-id: https://develop.svn.wordpress.org/trunk@20920 602fd350-edb4-49c9-b593-d223f7449a82
2012-05-25 22:52:05 +00:00
Daryl Koopersmith
b756f8b246 Theme Customizer: Correctly use custom-background class in theme preview. See #19910.
git-svn-id: https://develop.svn.wordpress.org/trunk@20919 602fd350-edb4-49c9-b593-d223f7449a82
2012-05-25 22:43:11 +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
potbot
c4822affc0 POT, generated from r20916
git-svn-id: https://develop.svn.wordpress.org/trunk@20917 602fd350-edb4-49c9-b593-d223f7449a82
2012-05-25 22:18:18 +00:00
Daryl Koopersmith
16aaa01c48 Twenty Eleven theme customizer integration. props lancewillett, Otto42. fixes #20448, see #19910.
git-svn-id: https://develop.svn.wordpress.org/trunk@20916 602fd350-edb4-49c9-b593-d223f7449a82
2012-05-25 21:50:01 +00:00
Daryl Koopersmith
f27e2cc8cf 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: https://develop.svn.wordpress.org/trunk@20915 602fd350-edb4-49c9-b593-d223f7449a82
2012-05-25 20:58:49 +00:00
bumpbot
10bd484fb0 Compress scripts/styles: 3.4-beta4-20914.
git-svn-id: https://develop.svn.wordpress.org/trunk@20914 602fd350-edb4-49c9-b593-d223f7449a82
2012-05-25 20:58:23 +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