Commit Graph

1025 Commits

Author SHA1 Message Date
bumpbot 1879bb5571 Compress scripts/styles: 3.5-alpha-21273. TinyMCE updated.
git-svn-id: https://develop.svn.wordpress.org/trunk@21273 602fd350-edb4-49c9-b593-d223f7449a82
2012-07-14 02:58:20 +00:00
Andrew Ozz b3fdac2a17 TinyMCE: add the Alt + W shortcut only when DFW is loaded and Alt + G only when MCE fullscreen is loaded, fixes #21197
git-svn-id: https://develop.svn.wordpress.org/trunk@21272 602fd350-edb4-49c9-b593-d223f7449a82
2012-07-14 01:46:54 +00:00
bumpbot 47002c1652 Compress scripts/styles: 3.5-alpha-21269. TinyMCE updated.
git-svn-id: https://develop.svn.wordpress.org/trunk@21269 602fd350-edb4-49c9-b593-d223f7449a82
2012-07-13 00:58:19 +00:00
Andrew Ozz 9423d09005 TinyMCE: update the keyboard shortcuts: Alt + letter for Firefox and WebKit, Alt + Shift + letter for IE and Opera, add shortcut for DFW (Alt + W), see #21214, fixes #21197, fixes #17992
git-svn-id: https://develop.svn.wordpress.org/trunk@21266 602fd350-edb4-49c9-b593-d223f7449a82
2012-07-13 00:26:49 +00:00
bumpbot 95aac8c091 Compress scripts/styles: 3.5-alpha-21255. TinyMCE updated.
git-svn-id: https://develop.svn.wordpress.org/trunk@21255 602fd350-edb4-49c9-b593-d223f7449a82
2012-07-10 02:58:25 +00:00
Andrew Ozz e69e38219b TinyMCE: when pressing Enter while an image with caption is selected, fix moving the caret in a new paragraph under it, fix opening the Image Properties popup in IE9, see #21173
git-svn-id: https://develop.svn.wordpress.org/trunk@21254 602fd350-edb4-49c9-b593-d223f7449a82
2012-07-10 02:31:30 +00:00
bumpbot 12f878c0ec Compress scripts/styles: 3.5-alpha-21233. TinyMCE updated.
git-svn-id: https://develop.svn.wordpress.org/trunk@21233 602fd350-edb4-49c9-b593-d223f7449a82
2012-07-08 22:58:20 +00:00
Andrew Ozz 23cbfec581 TinyMCE: don't throw fatal errors for malformed/invalid image caption shortcodes, props SergeyBiryukov, see #21145
git-svn-id: https://develop.svn.wordpress.org/trunk@21232 602fd350-edb4-49c9-b593-d223f7449a82
2012-07-08 21:11:23 +00:00
bumpbot 420c84a793 Compress scripts/styles: 3.5-alpha-21229. TinyMCE updated.
git-svn-id: https://develop.svn.wordpress.org/trunk@21229 602fd350-edb4-49c9-b593-d223f7449a82
2012-07-07 16:58:20 +00:00
Andrew Ozz 35d883e244 Update TinyMCE to 3.5.4.1, fixes #21173
git-svn-id: https://develop.svn.wordpress.org/trunk@21228 602fd350-edb4-49c9-b593-d223f7449a82
2012-07-07 16:22:53 +00:00
Mark Jaquith 5d74a50af4 Switch "HTML" tab to "Text" in DFW mode. Update documentation and inline comments to refer to the "Text" tab or mode instead of "HTML". see #20993
git-svn-id: https://develop.svn.wordpress.org/trunk@21212 602fd350-edb4-49c9-b593-d223f7449a82
2012-07-05 15:28:13 +00:00
bumpbot 9ec3e4e928 Compress scripts/styles: 3.5-alpha-21206.
git-svn-id: https://develop.svn.wordpress.org/trunk@21206 602fd350-edb4-49c9-b593-d223f7449a82
2012-07-04 06:58:20 +00:00
Mark Jaquith 20813bcbe2 Change a jQuery selector to work around a change in jQuery 1.7.2 related to some class names containing colons. props SergeyBiryukov. fixes #21106 for trunk. see #21152
git-svn-id: https://develop.svn.wordpress.org/trunk@21205 602fd350-edb4-49c9-b593-d223f7449a82
2012-07-04 05:58:28 +00:00
Mark Jaquith 898a2f371b Update some of the TinyMCE help text to be more accurate. Props SergeyBiryukov. fixes #21108
git-svn-id: https://develop.svn.wordpress.org/trunk@21182 602fd350-edb4-49c9-b593-d223f7449a82
2012-06-29 17:47:41 +00:00
bumpbot 02a1ccd56b Compress scripts/styles: 3.5-alpha-21148.
git-svn-id: https://develop.svn.wordpress.org/trunk@21148 602fd350-edb4-49c9-b593-d223f7449a82
2012-06-26 21:50:58 +00:00
Andrew Nacin 26f8f3e504 Refresh nonces in the customizer. props koopersmith. see #20876.
git-svn-id: https://develop.svn.wordpress.org/trunk@21135 602fd350-edb4-49c9-b593-d223f7449a82
2012-06-26 18:48:18 +00:00
Ryan Boren 48a3ec24c5 Pinking shears
git-svn-id: https://develop.svn.wordpress.org/trunk@21070 602fd350-edb4-49c9-b593-d223f7449a82
2012-06-12 19:27:41 +00:00
bumpbot 72e71811e6 Compress scripts/styles: 3.4-RC2-21055.
git-svn-id: https://develop.svn.wordpress.org/trunk@21055 602fd350-edb4-49c9-b593-d223f7449a82
2012-06-11 21:28:44 +00:00
Andrew Nacin 8c9bce5737 Do not specify background-image: none when a user removes a custom background
on a theme that has a default background image.

The onus is on the theme to omit the default background-image from style.css,
to allow the user to remove the default background image. Or, the theme can
specify a background-image for the body selector, as long as they then zero
it out for body.custom-background, like so:

{{{
body {
	background-image: url( ... );
}
body.custom-background {
	background-image: none;
}
}}}

This allows the theme to be compatible with the custom background feature
but also gracefully degrade if the background feature is disabled.

This is the same behavior as 3.3; setting a default image has simply been
made more prominent in 3.4. Reverts [21013], also parts of [21001].
see #20448 for change and discussion history.

see #20132, which will now be marked as invalid.

Also, per previous changes in #20448, the custom-background class should not
be shown when only a default color is in use.

fixes #20448.



git-svn-id: https://develop.svn.wordpress.org/trunk@21054 602fd350-edb4-49c9-b593-d223f7449a82
2012-06-11 21:25:05 +00:00
bumpbot 4cb6073a15 Compress scripts/styles: 3.4-RC2-21036.
git-svn-id: https://develop.svn.wordpress.org/trunk@21036 602fd350-edb4-49c9-b593-d223f7449a82
2012-06-09 15:58:24 +00:00
Ryan Boren c65db79290 Fix comment hotkeys for FF and IE. Props azaozz, SergeyBiryukov. fixes #20885
git-svn-id: https://develop.svn.wordpress.org/trunk@21035 602fd350-edb4-49c9-b593-d223f7449a82
2012-06-09 15:57:11 +00:00
bumpbot 903e720df8 Compress scripts/styles: 3.4-RC2-21034.
git-svn-id: https://develop.svn.wordpress.org/trunk@21034 602fd350-edb4-49c9-b593-d223f7449a82
2012-06-08 23:02:40 +00:00
Daryl Koopersmith 351ecd928f Theme Customizer: Separate message url from preview url in customizer JS Previewer and PreviewFrame objects. fixes #20892.
git-svn-id: https://develop.svn.wordpress.org/trunk@21033 602fd350-edb4-49c9-b593-d223f7449a82
2012-06-08 22:59:48 +00:00
bumpbot b6a0bae669 Compress scripts/styles: 3.4-RC2-21030.
git-svn-id: https://develop.svn.wordpress.org/trunk@21030 602fd350-edb4-49c9-b593-d223f7449a82
2012-06-08 18:58:24 +00:00
Ryan Boren 6660d27cb5 Customizer: fix stuck urls and preview white screens after repeated save and activates. Props koopersmith. fixes #20868
git-svn-id: https://develop.svn.wordpress.org/trunk@21029 602fd350-edb4-49c9-b593-d223f7449a82
2012-06-08 18:52:44 +00:00
Ryan Boren 6e10d0d0b4 Customizer: Redirect back to referrer. If referrer is a front end page, load that page in the customizer preview. Props nacin, koopersmith. fixes #20877
git-svn-id: https://develop.svn.wordpress.org/trunk@21028 602fd350-edb4-49c9-b593-d223f7449a82
2012-06-08 18:45:12 +00:00
bumpbot 867872a3c3 Compress scripts/styles: 3.4-RC2-21026.
git-svn-id: https://develop.svn.wordpress.org/trunk@21026 602fd350-edb4-49c9-b593-d223f7449a82
2012-06-07 22:58:22 +00:00
Ryan Boren 5abcaa52d7 Customizer: Add keyup events to sync textarea values. Props koopersmith. fixes #20879
git-svn-id: https://develop.svn.wordpress.org/trunk@21024 602fd350-edb4-49c9-b593-d223f7449a82
2012-06-07 22:00:59 +00:00
bumpbot 9370be4e74 Compress scripts/styles: 3.4-RC1-21017.
git-svn-id: https://develop.svn.wordpress.org/trunk@21017 602fd350-edb4-49c9-b593-d223f7449a82
2012-06-07 01:31:49 +00:00
Ryan Boren 329f3b2fd1 Namespace the customize request arg to prevent collision with plugins and themes. Props nacin. fixes #20862
git-svn-id: https://develop.svn.wordpress.org/trunk@21016 602fd350-edb4-49c9-b593-d223f7449a82
2012-06-07 01:29:57 +00:00
bumpbot 028e1c35cf Compress scripts/styles: 3.4-RC1-21015.
git-svn-id: https://develop.svn.wordpress.org/trunk@21015 602fd350-edb4-49c9-b593-d223f7449a82
2012-06-06 21:51:13 +00:00
Daryl Koopersmith 299642f86b Theme Customizer: Fix scrolling on iOS and Kindle Fire. props azaozz, helenyhou. fixes #20805.
Also fixes uploader UIs on iOS and Kindle Fire by improving wp.Uploader.
Adds mobile viewport specifications.
Moves scrollbar back to fixed positioning.


git-svn-id: https://develop.svn.wordpress.org/trunk@21014 602fd350-edb4-49c9-b593-d223f7449a82
2012-06-06 21:45:17 +00:00
Ryan Boren bfcfd40f49 Don't resurrect a removed default image when changing colors in the Customizer. Props koopersmith, nacin. fixes #20448
git-svn-id: https://develop.svn.wordpress.org/trunk@21013 602fd350-edb4-49c9-b593-d223f7449a82
2012-06-06 21:24:22 +00:00
bumpbot b576babcfe Compress scripts/styles: 3.4-RC1-21011.
git-svn-id: https://develop.svn.wordpress.org/trunk@21011 602fd350-edb4-49c9-b593-d223f7449a82
2012-06-06 20:58:20 +00:00
Andrew Nacin 7996c82427 Theme Customizer: Block non-existent or non-allowed themes, unless the non-allowed theme is the active theme. Support a user having edit_theme_options xor switch_themes. fixes #20852.
git-svn-id: https://develop.svn.wordpress.org/trunk@21010 602fd350-edb4-49c9-b593-d223f7449a82
2012-06-06 20:34:24 +00:00
bumpbot 5e0d8e2c95 Compress scripts/styles: 3.4-RC1-20989.
git-svn-id: https://develop.svn.wordpress.org/trunk@20989 602fd350-edb4-49c9-b593-d223f7449a82
2012-06-04 15:58:26 +00:00
Ryan Boren 06c0450892 Theme Customizer: Fix race condition in previewer and use message channels. Props koopersmith. fixes #20811
git-svn-id: https://develop.svn.wordpress.org/trunk@20988 602fd350-edb4-49c9-b593-d223f7449a82
2012-06-04 15:51:46 +00:00
bumpbot 1699318343 Compress scripts/styles: 3.4-RC1-20979.
git-svn-id: https://develop.svn.wordpress.org/trunk@20979 602fd350-edb4-49c9-b593-d223f7449a82
2012-06-02 01:58:27 +00:00
Andrew Ozz 971e81c326 Fix notice in wp_read_image_metadata() when EXIF ISOSpeedRatings is array, props nacin, fixes #20807
git-svn-id: https://develop.svn.wordpress.org/trunk@20978 602fd350-edb4-49c9-b593-d223f7449a82
2012-06-02 01:39:00 +00:00
bumpbot 379ee2e1aa Compress scripts/styles: 3.4-RC1-20970.
git-svn-id: https://develop.svn.wordpress.org/trunk@20970 602fd350-edb4-49c9-b593-d223f7449a82
2012-06-01 15:58:23 +00:00
Ryan Boren 1d2bab6712 Theme Customizer: Reduce reliance on fixed positioning and make sidebar UI flexible. Props koopersmith, ocean90, helenyhou. fixes #20799
git-svn-id: https://develop.svn.wordpress.org/trunk@20969 602fd350-edb4-49c9-b593-d223f7449a82
2012-06-01 15:48:09 +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
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 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 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