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
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
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
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
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
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
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
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
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
bumpbot
125c5610af
Compress scripts/styles: 3.4-beta4-20821.
...
git-svn-id: http://core.svn.wordpress.org/trunk@20821 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-17 15:58:23 +00:00
koopersmith
d28902a112
Theme Customizer: Ensure image control tabs are full-width to prevent floating bugs. see #19910 .
...
git-svn-id: http://core.svn.wordpress.org/trunk@20820 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-17 15:56:18 +00:00
bumpbot
9047cffc73
Compress scripts/styles: 3.4-beta4-20815.
...
git-svn-id: http://core.svn.wordpress.org/trunk@20815 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-16 23:58:26 +00:00
azaozz
0450af0ad5
Retina display icons: add 2x sprite for the toolbar, props chexee, fixes #20293
...
git-svn-id: http://core.svn.wordpress.org/trunk@20814 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-16 23:55:38 +00:00
bumpbot
d8b1541f91
Compress scripts/styles: 3.4-beta4-20792.
...
git-svn-id: http://core.svn.wordpress.org/trunk@20792 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-15 01:58:21 +00:00
koopersmith
ae14873b96
Theme Customizer: Prevent sidebar scrollbar from overlapping sidebar header or footer. fixes #20649 , #20650 , see #19910 .
...
git-svn-id: http://core.svn.wordpress.org/trunk@20791 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-15 01:03:31 +00:00
bumpbot
791e0df3dd
Compress scripts/styles: 3.4-beta4-20778.
...
git-svn-id: http://core.svn.wordpress.org/trunk@20778 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-12 00:58:21 +00:00
koopersmith
eb44b211af
Theme Customizer: Flex-width friendly UI, improved typographical hierarchy. see #19910 .
...
git-svn-id: http://core.svn.wordpress.org/trunk@20777 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-12 00:48:20 +00:00
bumpbot
e12aedf713
Compress scripts/styles: 3.4-beta4-20762.
...
git-svn-id: http://core.svn.wordpress.org/trunk@20762 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-10 00:58:25 +00:00
koopersmith
1bac3f30e3
Theme Customizer: Add a fallback UI for browsers that do not support drag and drop upload. see #19910 , #20452 , #20582 .
...
git-svn-id: http://core.svn.wordpress.org/trunk@20761 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-10 00:15:53 +00:00
bumpbot
a9263fe649
Compress scripts/styles: 3.4-beta3-20678.
...
git-svn-id: http://core.svn.wordpress.org/trunk@20678 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-01 22:58:23 +00:00
ryan
52c4490065
RTL style fixes for the Theme Customizer. Props ocean90, helenyhou.
...
git-svn-id: http://core.svn.wordpress.org/trunk@20674 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-05-01 22:06:53 +00:00
bumpbot
01b652696f
Compress scripts/styles: 3.4-beta3-20663.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@20663 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-04-30 21:58:31 +00:00
nacin
842e757fd1
Explicitly set the dimensions of the avatar in the toolbar's profile menu. Avoids issues where overridden avatars could result in images that don't fit. props andrewryno. fixes #19539 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@20657 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-04-30 21:38:39 +00:00
bumpbot
24b4c94fcf
Compress scripts/styles: 3.4-beta3-20647.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@20647 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-04-30 15:58:21 +00:00
koopersmith
2f2cb0926f
Theme Customizer: Migrate to an ajax-based solution for refreshing the preview and saving. see #20507 , #19910 .
...
* Use ajax-based saving, add saving indicator.
* Use ajax-based refreshing instead of form targets.
* Instead of using hidden inputs with prefixed names to track the canonical data, use the values stored in wp.customize. Encode the values as JSON before sending to avoid bugs with ids that contain square brackets (PHP mangles POST values with nested brackets).
* Use wp.customize.Previewer solely for the purpose of previewing; move the postMessage connection with the parent frame and other unrelated code snippets into the 'ready' handler.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20645 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-04-30 15:46:17 +00:00
bumpbot
17ee4064b1
Compress scripts/styles: 3.4-beta3-20644.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@20644 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-04-30 12:58:19 +00:00
nacin
b1d8cfb1c6
Fix typo in hex color code. props bananastalktome. fixes #20574 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@20643 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-04-30 12:50:55 +00:00
bumpbot
58ef081f06
Compress scripts/styles: 3.4-beta3-20603.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@20603 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-04-25 21:58:24 +00:00
koopersmith
a75702bba4
Theme Customizer: Add statuses to the color and image controls. see #19910 .
...
Move the color control from the switch statement to WP_Customize_Color_Control.
Markup improvements.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20598 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-04-25 21:03:29 +00:00
bumpbot
ad4bfd0a45
Compress scripts/styles: 3.4-beta2-20548.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@20548 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-04-20 04:58:21 +00:00
koopersmith
3668ad4516
Theme Customizer: Firefox CSS love. props helenyhou, see #19910 .
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@20547 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-04-20 04:46:02 +00:00
bumpbot
ca047faab9
Compress scripts/styles: 3.4-beta2-20546.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@20546 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-04-20 02:58:21 +00:00
koopersmith
a20bfcd6b1
Theme Customizer: Improve image picker control. see #19910 .
...
Overhauled image pickers:
* Add support for drag and drop uploads to image controls.
* Improve the 'uploaded' tab in image controls: automatically add images uploaded during the current session, hide the tab when no uploaded images exist.
* Move the header image control to the WP_Customize_Header_Image_Control class. Remove wp_customize_print_uploaded_headers() and wp_customize_print_uploaded_headers() functions.
* Abstract the dropdown functionality from the color picker to the .dropdown class.
* In wp.Uploader, unset element keys if passed an empty jQuery collection.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20545 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-04-20 02:39:55 +00:00
bumpbot
f8201ed9e2
Compress scripts/styles: 3.4-beta2-20531.
...
git-svn-id: http://svn.automattic.com/wordpress/trunk@20531 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-04-19 06:58:24 +00:00