nacin
5cba80ee25
Add some comments to _custom_background_cb() to explain the logic. see #20448 .
...
git-svn-id: http://core.svn.wordpress.org/trunk@21002 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-06-05 18:44:31 +00:00
ryan
64e6663569
Fix removing the default background image for themes that hard-code the default in css. Honor the default background image for themes that do not provide a fallback in css.
...
* <style> will appear if there is a default image registered. This is the same as 3.3.
* If only a default color is registered, it still assumes it is in the stylesheet, and no <style> will appear. This is a change from 3.3.
* <style> will continue to appear as before if there is a custom background color or image. This is the same as 3.3.
* This then allows for a default background image with background-image: none, overriding style.css. This is new.
Props nacin
see #20448
git-svn-id: http://core.svn.wordpress.org/trunk@21001 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-06-05 18:35:31 +00:00
bumpbot
05393d38f0
Compress scripts/styles: 3.4-RC1-21000.
...
git-svn-id: http://core.svn.wordpress.org/trunk@21000 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-06-05 17:58:23 +00:00
nacin
92efcbaf6d
Combine 'Invalid term ID.' into the 'Invalid term ID' string. props pavelevap. fixes #20809 .
...
git-svn-id: http://core.svn.wordpress.org/trunk@20996 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-06-05 16:25:05 +00:00
koopersmith
1bfc2ee613
Theme Customizer: Add an inline html5 shiv to the preview to ensure html5 elements render properly. props SergeyBiryukov, fixes #20755 .
...
git-svn-id: http://core.svn.wordpress.org/trunk@20995 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-06-05 12:26:57 +00:00
bumpbot
14aacd2bca
Compress scripts/styles: 3.4-RC1-20992.
...
git-svn-id: http://core.svn.wordpress.org/trunk@20992 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-06-04 17:58:27 +00:00
ryan
8dfe243dd4
Update Fire browser detection. Handle silke mode. Props azaozz, nacin, georgestephanis. fixes #20014
...
git-svn-id: http://core.svn.wordpress.org/trunk@20990 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-06-04 16:04:54 +00:00
bumpbot
d35556e69a
Compress scripts/styles: 3.4-RC1-20989.
...
git-svn-id: http://core.svn.wordpress.org/trunk@20989 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-06-04 15:58:26 +00:00
ryan
e69299af51
Theme Customizer: Fix race condition in previewer and use message channels. Props koopersmith. fixes #20811
...
git-svn-id: http://core.svn.wordpress.org/trunk@20988 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-06-04 15:51:46 +00:00
bumpbot
811d4d517d
Compress scripts/styles: 3.4-RC1-20985.
...
git-svn-id: http://core.svn.wordpress.org/trunk@20985 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-06-04 14:58:23 +00:00
bumpbot
9b23e86b63
Compress scripts/styles: 3.4-RC1-20979.
...
git-svn-id: http://core.svn.wordpress.org/trunk@20979 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-06-02 01:58:27 +00:00
azaozz
cb71d2fe62
Fix notice in wp_read_image_metadata() when EXIF ISOSpeedRatings is array, props nacin, fixes #20807
...
git-svn-id: http://core.svn.wordpress.org/trunk@20978 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-06-02 01:39:00 +00:00
ryan
01dd4131b8
Don't allow unfiltered HTML comments from a frame. Props nacin. fixes #20812
...
git-svn-id: http://core.svn.wordpress.org/trunk@20974 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-06-01 20:47:08 +00:00
ryan
0f1f59b092
Custom background fixes:
...
* Specify default background colors for the bundled themes.
* Change the default custom background callback to only operate on saved values, rather than default values.
* Prevent an unsaved default value from overriding a manually modified style.css file.
Props nacin, kobenland
fixes #20448
git-svn-id: http://core.svn.wordpress.org/trunk@20973 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-06-01 20:31:50 +00:00
ryan
eaa419dba3
Consolodate some strings. Props pavelevap. fixes #20809
...
git-svn-id: http://core.svn.wordpress.org/trunk@20972 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-06-01 19:05:30 +00:00
bumpbot
ba20e754d1
Compress scripts/styles: 3.4-RC1-20970.
...
git-svn-id: http://core.svn.wordpress.org/trunk@20970 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-06-01 15:58:23 +00:00
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
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
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
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
bumpbot
59eeca6e71
Compress scripts/styles: 3.4-RC1-20956.
...
git-svn-id: http://core.svn.wordpress.org/trunk@20956 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-30 16:58:19 +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
bumpbot
77cd1c3682
Compress scripts/styles: 3.4-RC1-20950.
...
git-svn-id: http://core.svn.wordpress.org/trunk@20950 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-28 20:58:19 +00:00
markjaquith
0b0ba9bc54
RTL font updates for the Theme Customizer. props yoavf. fixes #20585
...
git-svn-id: http://core.svn.wordpress.org/trunk@20949 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-28 20:00:15 +00:00
ryan
0157a83f93
RC1 bump
...
git-svn-id: http://core.svn.wordpress.org/trunk@20948 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-27 17:12:29 +00:00
nacin
9355ae1abe
WP_Theme: If no 'Domain Path' header is specified, default to looking in the /languages directory. see #20103 , see #20448 .
...
git-svn-id: http://core.svn.wordpress.org/trunk@20945 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-27 16:42:38 +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
bumpbot
c8485f2a1b
Compress scripts/styles: 3.4-beta4-20941.
...
git-svn-id: http://core.svn.wordpress.org/trunk@20941 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-26 20:58:28 +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
cc8f2c1e2d
Compress scripts/styles: 3.4-beta4-20939.
...
git-svn-id: http://core.svn.wordpress.org/trunk@20939 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-26 19:58:26 +00:00
koopersmith
187cdaf4cd
Theme Customizer: Color picker RTL fixes. props ocean90, see #20448 .
...
git-svn-id: http://core.svn.wordpress.org/trunk@20938 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-26 19:02:09 +00:00
bumpbot
78f3c9a8e6
Compress scripts/styles: 3.4-beta4-20937.
...
git-svn-id: http://core.svn.wordpress.org/trunk@20937 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-26 18:58:28 +00:00
koopersmith
0df3218cc2
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: http://core.svn.wordpress.org/trunk@20936 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-26 18:44:31 +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
de39d08e9f
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: http://core.svn.wordpress.org/trunk@20933 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-26 15:24:42 +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
fd069c1819
Compress scripts/styles: 3.4-beta4-20931.
...
git-svn-id: http://core.svn.wordpress.org/trunk@20931 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-26 07:58:28 +00:00
koopersmith
2d111e1c37
Theme Customizer: Fix preview background CSS creation to insert/remove style nodes (for IE8 compatibility). fixes #20582 , see #19910 .
...
git-svn-id: http://core.svn.wordpress.org/trunk@20930 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-26 07:02:28 +00:00
bumpbot
71b00f37aa
Compress scripts/styles: 3.4-beta4-20929.
...
git-svn-id: http://core.svn.wordpress.org/trunk@20929 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-26 05:58:26 +00:00
koopersmith
20f804ab8f
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: http://core.svn.wordpress.org/trunk@20928 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-26 05:55:40 +00:00
bumpbot
e5a31ee0ad
Compress scripts/styles: 3.4-beta4-20927.
...
git-svn-id: http://core.svn.wordpress.org/trunk@20927 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-26 04:58:27 +00:00
nacin
db5af1d1f6
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: http://core.svn.wordpress.org/trunk@20926 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-26 04:34:45 +00:00
koopersmith
e178acf108
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: http://core.svn.wordpress.org/trunk@20925 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-26 04:08:44 +00:00
nacin
ea95fd213b
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: http://core.svn.wordpress.org/trunk@20924 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-26 03:52:14 +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
bumpbot
366ca788d5
Compress scripts/styles: 3.4-beta4-20921.
...
git-svn-id: http://core.svn.wordpress.org/trunk@20921 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-25 22:58:24 +00:00
koopersmith
2d51b1376e
Theme Customizer: Fix width for image picker thumbnails in IE8. props SergeyBiryukov, see #20582 .
...
git-svn-id: http://core.svn.wordpress.org/trunk@20920 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-25 22:52:05 +00:00
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
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
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
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
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
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
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
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
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
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
bumpbot
62608b9370
Compress scripts/styles: 3.4-beta4-20865.
...
git-svn-id: http://core.svn.wordpress.org/trunk@20865 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-24 03:58:23 +00:00
koopersmith
4973f92107
Theme Customizer: Change 'Return to...' link to 'Cancel' and move 'Save' button to header. props helenyhou, fixes #20692 , see #19910 .
...
git-svn-id: http://core.svn.wordpress.org/trunk@20864 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-24 03:29:51 +00:00
koopersmith
f6882e94ef
Theme Customizer: Add a base element to the preview's head element to allow relative links (root, hash, and query strings). see #20507 , #19910 .
...
git-svn-id: http://core.svn.wordpress.org/trunk@20863 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-24 02:07:16 +00:00
bumpbot
e07ced46ab
Compress scripts/styles: 3.4-beta4-20862.
...
git-svn-id: http://core.svn.wordpress.org/trunk@20862 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-24 01:58:20 +00:00
koopersmith
46f03144b0
Theme Customizer: Properly handle redirects in the preview by setting wp_redirect_status to 200. props nacin, see #20507 , #19910 .
...
git-svn-id: http://core.svn.wordpress.org/trunk@20861 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-24 01:48:32 +00:00
nacin
0f259eaae1
Remove temporary magic call method in favor of theme(), settings(), controls(), and sections() methods for WP_Customize_Manager. fixes #20736 .
...
git-svn-id: http://core.svn.wordpress.org/trunk@20860 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-23 21:21:29 +00:00
westi
b36c335b7a
i18n: Update the word splitting we use when trimming strings to build excerpts so that it has support for a character based mode for locales where character splitting is more approproate like Japan.
...
See #16079 props tenpura.
git-svn-id: http://core.svn.wordpress.org/trunk@20859 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-23 21:04:35 +00:00
ryan
f35fdc678f
Introduce _prepare_comment(). Avoid repeated auth attempts. Props maxcutler. fixes #20703
...
git-svn-id: http://core.svn.wordpress.org/trunk@20856 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-23 20:40:40 +00:00
nacin
95e1c32720
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: http://core.svn.wordpress.org/trunk@20852 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-23 17:56:42 +00:00
ryan
5a53ce6d28
Translate and empty header text color into the default text color. Honor blank. Props kovshenin. fixes #20600
...
git-svn-id: http://core.svn.wordpress.org/trunk@20851 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-23 15:36:27 +00:00
ryan
4077461708
Fix post limiting in wp_getPosts(). Props djcp. fixes #20723
...
git-svn-id: http://core.svn.wordpress.org/trunk@20846 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-22 22:25:17 +00:00
bumpbot
df1279bd04
Compress scripts/styles: 3.4-beta4-20841.
...
git-svn-id: http://core.svn.wordpress.org/trunk@20841 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-22 01:58:24 +00:00
bumpbot
d8ed87e9e1
Compress scripts/styles: 3.4-beta4-20838.
...
git-svn-id: http://core.svn.wordpress.org/trunk@20838 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-21 19:58:25 +00:00
ryan
db0e04adcf
Accordion for the customizer. Props markjaquith. fixes #20700
...
git-svn-id: http://core.svn.wordpress.org/trunk@20837 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-21 19:53:22 +00:00
ryan
2fa8066123
Disambiguate menu_order. Props markjaquith. fixes #20711
...
git-svn-id: http://core.svn.wordpress.org/trunk@20836 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-21 19:50:58 +00:00
bumpbot
236667ca24
Compress scripts/styles: 3.4-beta4-20834.
...
git-svn-id: http://core.svn.wordpress.org/trunk@20834 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-21 18:58:19 +00:00
koopersmith
c1abf942f3
Theme Customizer: Reset scroll to top when the preview url is changed. props ocean90, fixes #20713 , see #19910 .
...
git-svn-id: http://core.svn.wordpress.org/trunk@20833 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-21 17:58:17 +00:00
azaozz
d2c389657d
Image captions: change query arg in the Edit Image iframe HTML to refresh browser cache, see #18311
...
git-svn-id: http://core.svn.wordpress.org/trunk@20831 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-18 23:09:59 +00:00
ryan
15b9961b52
set_url_scheme() for header and background image srcs. see #20702
...
git-svn-id: http://core.svn.wordpress.org/trunk@20830 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-18 20:22:57 +00:00
ryan
103fba7679
Load the customize preview over ssl if the customize admin page is loaded over ssl and the frontend and admin are on the same domain. This avoids insecure content warnings and allows a more complete preview in browsers such as Chrome that block loading of css until user confirmation allows mixed content loading. see #20702
...
git-svn-id: http://core.svn.wordpress.org/trunk@20829 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-18 20:09:53 +00:00
ryan
46e4ffe765
Introduce set_url_scheme(). Includes get_site_url() logic for determining when to use http vs. https. Use this to rerite urls to obey is_ssl(). Props jkudish. fixes #18017
...
git-svn-id: http://core.svn.wordpress.org/trunk@20828 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-18 20:04:59 +00:00
bumpbot
95ecb49c92
Compress scripts/styles: 3.4-beta4-20825.
...
git-svn-id: http://core.svn.wordpress.org/trunk@20825 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-17 21:58:27 +00:00
koopersmith
4e5c3519ea
Theme Customizer: RTL fixes. props ocean90, fixes #20585 , see #19910 .
...
git-svn-id: http://core.svn.wordpress.org/trunk@20824 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-17 21:37:00 +00:00
bumpbot
3c413b1904
Compress scripts/styles: 3.4-beta4-20823.
...
git-svn-id: http://core.svn.wordpress.org/trunk@20823 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-17 17:22:40 +00:00
koopersmith
67e4ef9102
Theme Customizer: Sidebar RTL fixes. see #19910 .
...
git-svn-id: http://core.svn.wordpress.org/trunk@20822 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-17 17:08:20 +00:00