Commit Graph

958 Commits

Author SHA1 Message Date
bumpbot 46a0b56c82 Compress scripts/styles: 3.4-beta3-20587.
git-svn-id: https://develop.svn.wordpress.org/trunk@20587 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-25 16:58:21 +00:00
Daryl Koopersmith dfd80ddc57 Theme Customizer: For clarity, wp.customize.Setting.method to wp.customize.Setting.transport. Add WP_Customize_Setting->transport to allow setting the transport method via PHP. see #19910.
git-svn-id: https://develop.svn.wordpress.org/trunk@20585 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-25 16:04:51 +00:00
bumpbot 05654f8874 Compress scripts/styles: 3.4-beta3-20582.
git-svn-id: https://develop.svn.wordpress.org/trunk@20582 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-24 22:58:22 +00:00
Andrew Ozz f55dbdbd27 Uploader: fix check for error message send from async-upload on failed uploads, improve styling it a bit, props trepmal, SergeyBiryukov, fixes #20445
git-svn-id: https://develop.svn.wordpress.org/trunk@20580 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-24 22:06:55 +00:00
bumpbot 1235945716 Compress scripts/styles: 3.4-beta3-20578.
git-svn-id: https://develop.svn.wordpress.org/trunk@20578 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-24 19:58:21 +00:00
Daryl Koopersmith 14100746f2 Use a deep extend in wp.Uploader to ensure that the multipart_params object (and others) are cloned instead of referenced. fixes #20532.
git-svn-id: https://develop.svn.wordpress.org/trunk@20577 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-24 19:38:47 +00:00
bumpbot 909935606a Compress scripts/styles: 3.4-beta2-20546.
git-svn-id: https://develop.svn.wordpress.org/trunk@20546 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-20 02:58:21 +00:00
Daryl Koopersmith e2bbb75ba5 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: https://develop.svn.wordpress.org/trunk@20545 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-20 02:39:55 +00:00
bumpbot f8852b73a5 Compress scripts/styles: 3.4-beta2-20521. TinyMCE updated.
git-svn-id: https://develop.svn.wordpress.org/trunk@20521 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-18 20:58:24 +00:00
Andrew Ozz 8f64e53493 Remove extra slash when opening the gallery thickbox popup from the visual editor, props SergeyBiryukov, fixes #19850
git-svn-id: https://develop.svn.wordpress.org/trunk@20519 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-18 20:43:28 +00:00
Daryl Koopersmith 4d7ec3fc4c Remove jQuery postMessage plugin, as it is no longer used (as of [20517]). see #19910.
git-svn-id: https://develop.svn.wordpress.org/trunk@20518 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-18 20:32:13 +00:00
Daryl Koopersmith 27c4bc7b41 Theme Customizer: Use native postMessage for wp.customize.Messenger. see #19910.
* Removes use of jquery.postmessage.js
* Fixes bug where Opera would attempt to use the hash transport and redirect to the dashboard.
* Fixes bug where multiple postMessage connections could not coexist in a single frame.



git-svn-id: https://develop.svn.wordpress.org/trunk@20517 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-18 20:25:31 +00:00
bumpbot 7f9590ce94 Compress scripts/styles: 3.4-beta2-20509.
git-svn-id: https://develop.svn.wordpress.org/trunk@20509 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-18 17:58:18 +00:00
Daryl Koopersmith ae95c22e27 Remove 'visibility' parameter from WP_Customize_Control. Handle control visibility in JS instead. see #19910.
* Have the header text color picker display only when header_textcolor != 'blank'



git-svn-id: https://develop.svn.wordpress.org/trunk@20506 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-18 17:13:31 +00:00
bumpbot d4e2dfabd0 Compress scripts/styles: 3.4-beta2-20505.
git-svn-id: https://develop.svn.wordpress.org/trunk@20505 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-18 14:58:20 +00:00
Daryl Koopersmith fc4837eb62 Theme Customizer: Improve markup/styles for opened color picker. see #19910.
git-svn-id: https://develop.svn.wordpress.org/trunk@20504 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-18 14:32:05 +00:00
Andrew Nacin 56c8f84be7 Update swfobject
git-svn-id: https://develop.svn.wordpress.org/trunk@20501 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-18 13:36:32 +00:00
bumpbot 92df22f372 Compress scripts/styles: 3.4-beta2-20500.
git-svn-id: https://develop.svn.wordpress.org/trunk@20500 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-17 23:58:21 +00:00
Ryan Boren 9e2a50812f Update swfobject
git-svn-id: https://develop.svn.wordpress.org/trunk@20498 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-17 23:09:29 +00:00
Daryl Koopersmith c7c8d0a2d6 Theme Customizer: Improve color picker toggle styles and markup. see #19910.
git-svn-id: https://develop.svn.wordpress.org/trunk@20497 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-17 22:58:58 +00:00
Andrew Nacin 5028f1f6b0 Restore semicolons to the end of jQuery UI files, as they are needed when concatenating the files together. Will be adjusted upstream as well. props ocean90. fixes #20466.
git-svn-id: https://develop.svn.wordpress.org/trunk@20494 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-17 20:34:45 +00:00
Andrew Nacin c505adf210 jQuery UI 1.8.19. props ocean90. fixes #20466.
git-svn-id: https://develop.svn.wordpress.org/trunk@20492 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-17 16:49:17 +00:00
bumpbot 7593627d19 Compress scripts/styles: 3.4-beta2-20489.
git-svn-id: https://develop.svn.wordpress.org/trunk@20489 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-16 23:58:25 +00:00
Daryl Koopersmith bb5254fe36 Theme Customizer: Integrate with browser history. Use window.history by default, with window.onhashchange as a fallback. fixes #20337, see #19910.
git-svn-id: https://develop.svn.wordpress.org/trunk@20488 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-16 23:07:23 +00:00
bumpbot 1fc608b2e0 Compress scripts/styles: 3.4-beta2-20478.
git-svn-id: https://develop.svn.wordpress.org/trunk@20478 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-16 14:58:23 +00:00
Daryl Koopersmith a43958baeb Theme Customizer: Allow the customize iframe to be accessed directly (with full feature support). see #19910.
* Move the 'Return to Manage Themes' and 'Collapse Sidebar' actions from themes.php to customize-controls.php.
* Create a postMessage connection between themes.php and customize-controls.php.
* Allow the theme customizer to be accessed directly (independent of themes.php and the customize loader).
* Add wp_customize_href() and wp_customize_url().
* Remove wp_customize_loader(). To include the loader, use wp_enqueue_script( 'customize-loader' ).
* The theme customizer now requires postMessage browser support.
* Add .hide-if-customize and .hide-if-no-customize CSS classes.
* Clean up customize-preview.js.

git-svn-id: https://develop.svn.wordpress.org/trunk@20476 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-16 14:02:28 +00:00
bumpbot c6317cb5fe Compress scripts/styles: 3.4-beta2-20468.
git-svn-id: https://develop.svn.wordpress.org/trunk@20468 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-14 19:58:19 +00:00
Andrew Ozz ed87c7abd1 Plupload: no need to reset the queue when one file fails (handled internally), see #20422
git-svn-id: https://develop.svn.wordpress.org/trunk@20467 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-14 19:51:55 +00:00
bumpbot 0081ba2954 Compress scripts/styles: 3.4-beta2-20464.
git-svn-id: https://develop.svn.wordpress.org/trunk@20464 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-13 23:58:20 +00:00
Andrew Ozz 1380c985cf Update Plupload to 1.5.4, props SergeyBiryukov, fixes #20422
git-svn-id: https://develop.svn.wordpress.org/trunk@20463 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-13 23:23:13 +00:00
bumpbot c08d986825 Compress scripts/styles: 3.4-beta2-20452.
git-svn-id: https://develop.svn.wordpress.org/trunk@20452 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-12 17:58:20 +00:00
Andrew Ozz fe2749eedd Add RTL/LTR button to the html editor, props yoavf, fixes #13070
git-svn-id: https://develop.svn.wordpress.org/trunk@20451 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-12 17:52:54 +00:00
bumpbot 45081349a3 Compress scripts/styles: 3.4-beta1-20434.
git-svn-id: https://develop.svn.wordpress.org/trunk@20434 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-11 02:58:23 +00:00
Andrew Ozz 3b9e5468e1 Add the jQuery UI Touch Punch plugin to handle dragging on mobile devices, props georgestephanis, see #20014
git-svn-id: https://develop.svn.wordpress.org/trunk@20433 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-11 02:20:51 +00:00
bumpbot 8b4f1495f3 Compress scripts/styles: 3.4-beta1-20429.
git-svn-id: https://develop.svn.wordpress.org/trunk@20429 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-11 00:58:23 +00:00
Andrew Ozz 2b1eb4f028 Fix inserting links in the HTML editor in IE9, fixes #19528
git-svn-id: https://develop.svn.wordpress.org/trunk@20428 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-11 00:20:42 +00:00
bumpbot 0a656052ab Compress scripts/styles: 3.4-beta1-20421.
git-svn-id: https://develop.svn.wordpress.org/trunk@20421 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-10 02:58:27 +00:00
Daryl Koopersmith 955ca76116 Replace all instances of thickbox theme preview with the theme customizer. fixes #20404.
* Use theme customizer in theme install/update screens.
* Separate the customize loader from the customizer. Use wp_customize_loader() to include the loader script and markup.
* Deprecated: wp-admin/js/theme-preview.js is now no longer used by core.

git-svn-id: https://develop.svn.wordpress.org/trunk@20419 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-10 02:25:03 +00:00
bumpbot 21490033fb Compress scripts/styles: 3.4-beta1-20390. TinyMCE updated.
git-svn-id: https://develop.svn.wordpress.org/trunk@20390 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-06 23:58:19 +00:00
Andrew Ozz c2e3754cf9 Add the "aside,audio,canvas,figcaption,figure,nav,output,video" tags that shouldn't be wrapped in <p> to the internal blocks list in TinyMCE, fixes #20381
git-svn-id: https://develop.svn.wordpress.org/trunk@20389 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-06 22:59:22 +00:00
bumpbot 7f938af8c5 Compress scripts/styles: 3.4-alpha-20355.
git-svn-id: https://develop.svn.wordpress.org/trunk@20355 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-04 21:58:23 +00:00
Daryl Koopersmith 31caea7b9b Theme Customizer: Improve the customize loader and themes list table markup. see #19910.
* Use event delegation for triggering the customize loader (so we play nicely with infinite scroll).
* Use data attributes on .load-customize links instead of parsing the href.
* Properly translate the 'Customize' string instead of injecting the replacement with JS.

git-svn-id: https://develop.svn.wordpress.org/trunk@20352 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-04 21:02:29 +00:00
bumpbot 825926267f Compress scripts/styles: 3.4-alpha-20345.
git-svn-id: https://develop.svn.wordpress.org/trunk@20345 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-03 22:58:20 +00:00
Daryl Koopersmith 9218ead840 Theme Customizer: Improve data binding in wp.customize.Value and wp.customize.Values. see #19910.
* Replace the convoluted wp.customize.Value.link method with a simple shortcut for direct binding.
* Add wp.customize.Value.sync for bidirectional linking.
* Add wp.customize.Value.setter for handling compound values (instead of using wp.customize.Value.link).

git-svn-id: https://develop.svn.wordpress.org/trunk@20344 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-03 22:04:40 +00:00
bumpbot f3e171b253 Compress scripts/styles: 3.4-alpha-20343.
git-svn-id: https://develop.svn.wordpress.org/trunk@20343 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-02 22:58:19 +00:00
Andrew Ozz 05071148d9 Editor: fix adding a link in WebKit to floated image, fixes #16569
git-svn-id: https://develop.svn.wordpress.org/trunk@20341 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-02 22:16:30 +00:00
Ryan Boren 467f9af92d Remove jQuery Masonry. Fully reverts [20060]. see #17242
git-svn-id: https://develop.svn.wordpress.org/trunk@20340 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-02 20:05:35 +00:00
Andrew Nacin 816ebbd616 jQuery 1.7.2. props ocean90. fixes #20339.
git-svn-id: https://develop.svn.wordpress.org/trunk@20337 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-01 20:13:36 +00:00
bumpbot 8c171a54c6 Compress scripts/styles: 3.4-alpha-20320.
git-svn-id: https://develop.svn.wordpress.org/trunk@20320 602fd350-edb4-49c9-b593-d223f7449a82
2012-03-29 06:58:19 +00:00
Daryl Koopersmith bdee6c8e15 Theme Customizer: Move upload and image controls to subclasses. see #19910.
Instead of grouping together every control parameter into a single  array and passing them all to the JS, use subclasses with custom parameters to implement additional PHP functionality and the  parameter to send only the necessary variables to the JavaScript control.

Replaces WP_Customize_Control->control_params with WP_Customize_Control->json and WP_Customize_Control->to_json(). The to_json() method refreshes the json array passed to the JavaScript control (set to control.param by default).

Creates WP_Customize_Upload_Control and WP_Customize_Image_Control.

git-svn-id: https://develop.svn.wordpress.org/trunk@20319 602fd350-edb4-49c9-b593-d223f7449a82
2012-03-29 06:35:54 +00:00
bumpbot 8f575763ab Compress scripts/styles: 3.4-alpha-20304.
git-svn-id: https://develop.svn.wordpress.org/trunk@20304 602fd350-edb4-49c9-b593-d223f7449a82
2012-03-28 09:58:22 +00:00
Daryl Koopersmith d5f5376394 Theme Customizer: Properly bind the 'upload new' and 'remove image' actions in the image picker. see #19910.
This occurred because we weren't calling UploadControl.ready (where the actions are declared and the uploader is initialized) in ImageControl.ready.

git-svn-id: https://develop.svn.wordpress.org/trunk@20301 602fd350-edb4-49c9-b593-d223f7449a82
2012-03-28 09:33:32 +00:00
Daryl Koopersmith ea85772eb6 Theme Customizer: Sanitize selectors by transforming square brackets into dashes. see #19910.
This both better conforms to the CSS spec and prevents bugs from occurring in JavaScript selector engines.

git-svn-id: https://develop.svn.wordpress.org/trunk@20299 602fd350-edb4-49c9-b593-d223f7449a82
2012-03-28 09:10:29 +00:00
bumpbot 4e658d4443 Compress scripts/styles: 3.4-alpha-20298.
git-svn-id: https://develop.svn.wordpress.org/trunk@20298 602fd350-edb4-49c9-b593-d223f7449a82
2012-03-28 08:58:23 +00:00
Daryl Koopersmith 1a03f9af0d Theme Customizer: Fix postMessage for background_color. The method parameter affects settings, not controls. see #19910.
git-svn-id: https://develop.svn.wordpress.org/trunk@20297 602fd350-edb4-49c9-b593-d223f7449a82
2012-03-28 08:55:25 +00:00
bumpbot 4d703df740 Compress scripts/styles: 3.4-alpha-20296.
git-svn-id: https://develop.svn.wordpress.org/trunk@20296 602fd350-edb4-49c9-b593-d223f7449a82
2012-03-28 04:58:24 +00:00
Daryl Koopersmith 2ca07cdf2a Create WP_Customize_Control to separate the process of rendering a control from fetching, previewing, and saving its values. see #19910.
Many-to-many mapping between settings and controls.
* Settings and controls have been separated in both the PHP (WP_Customize_Setting, WP_Customize_Control) and the JS (wp.customize.Setting, wp.customize.Control).
* While most settings are tied to a single control, some require multiple controls. The 'header_textcolor' control is a good example: to hide the header text, header_textcolor is set to 'blank'.

Add 'Display Header Text' control.

A handful of miscellaneous bugfixes along the way.

Notes:
* Controls should be separated out a bit more; juggling type-specific arguments in the switch statement is rather inelegant.
* Page dropdowns are currently inactive and need to be re-linked.

git-svn-id: https://develop.svn.wordpress.org/trunk@20295 602fd350-edb4-49c9-b593-d223f7449a82
2012-03-28 04:14:09 +00:00
bumpbot 655b18cb36 Compress scripts/styles: 3.4-alpha-20291.
git-svn-id: https://develop.svn.wordpress.org/trunk@20291 602fd350-edb4-49c9-b593-d223f7449a82
2012-03-25 21:58:20 +00:00
Daryl Koopersmith d8513a5ebb Theme Customizer: Add 'choose image' functionality to image controls. Rough first pass, using header images as an example. see #19910.
git-svn-id: https://develop.svn.wordpress.org/trunk@20290 602fd350-edb4-49c9-b593-d223f7449a82
2012-03-25 21:18:32 +00:00
bumpbot d079275e8c Compress scripts/styles: 3.4-alpha-20280.
git-svn-id: https://develop.svn.wordpress.org/trunk@20280 602fd350-edb4-49c9-b593-d223f7449a82
2012-03-24 04:58:29 +00:00
Daryl Koopersmith e0773710ec Theme Customizer: First pass at image controls. Use header_image as the initial case. Add a 'removed' control param for upload/image controls to map 'removed' to a value other than the empty string. see #19910.
git-svn-id: https://develop.svn.wordpress.org/trunk@20278 602fd350-edb4-49c9-b593-d223f7449a82
2012-03-24 04:35:13 +00:00
bumpbot 1c6f00b0f3 Compress scripts/styles: 3.4-alpha-20277.
git-svn-id: https://develop.svn.wordpress.org/trunk@20277 602fd350-edb4-49c9-b593-d223f7449a82
2012-03-24 01:58:28 +00:00
Daryl Koopersmith b0f973d884 Theme Customizer: Add WP_Customizer_Setting->control_params, and wp.customize.Control.params to allow settings to pass arbitrary parameters to controls. Add the 'context' parameter to wp.customize.UploadControl. see #19910.
git-svn-id: https://develop.svn.wordpress.org/trunk@20276 602fd350-edb4-49c9-b593-d223f7449a82
2012-03-24 01:02:29 +00:00
bumpbot 5e3e0b0404 Compress scripts/styles: 3.4-alpha-20275.
git-svn-id: https://develop.svn.wordpress.org/trunk@20275 602fd350-edb4-49c9-b593-d223f7449a82
2012-03-23 22:58:27 +00:00
Daryl Koopersmith c41689115f Theme Customizer: Change 'Random Image' control to be a proper 'Header Image' control. First step to integrating header images. see #19910.
git-svn-id: https://develop.svn.wordpress.org/trunk@20274 602fd350-edb4-49c9-b593-d223f7449a82
2012-03-23 22:43:00 +00:00
bumpbot 8f741e4f24 Compress scripts/styles: 3.4-alpha-20264.
git-svn-id: https://develop.svn.wordpress.org/trunk@20264 602fd350-edb4-49c9-b593-d223f7449a82
2012-03-22 08:58:23 +00:00
Daryl Koopersmith 95ab797033 Theme Customizer: Add background repeat, position, and attachment settings. Change visibility parameter to accept a string or array( , ). see #19910.
git-svn-id: https://develop.svn.wordpress.org/trunk@20263 602fd350-edb4-49c9-b593-d223f7449a82
2012-03-22 08:07:44 +00:00
bumpbot c22a8a6cf6 Compress scripts/styles: 3.4-alpha-20262.
git-svn-id: https://develop.svn.wordpress.org/trunk@20262 602fd350-edb4-49c9-b593-d223f7449a82
2012-03-22 07:58:24 +00:00
Daryl Koopersmith f28d57454f Theme Customizer: Only show uploader 'remove' links when there is an image to remove. see #19910.
git-svn-id: https://develop.svn.wordpress.org/trunk@20261 602fd350-edb4-49c9-b593-d223f7449a82
2012-03-22 07:30:44 +00:00
Daryl Koopersmith 7dc476bd8b Theme Customizer: Add a WP_Customize_Setting->visibility parameter to show/hide a control based upon the value of another control. Also shifts rendering the setting wrapper element into WP_Customize_Setting->render() and adds WP_Customize_Setting->render_content(). see #19910.
git-svn-id: https://develop.svn.wordpress.org/trunk@20260 602fd350-edb4-49c9-b593-d223f7449a82
2012-03-22 07:17:26 +00:00
Daryl Koopersmith f561219e0b Theme Customizer: Ensure background_color and background_image exist instead of blindly attempting to access their controls. see #19910.
git-svn-id: https://develop.svn.wordpress.org/trunk@20259 602fd350-edb4-49c9-b593-d223f7449a82
2012-03-22 07:03:44 +00:00
bumpbot b1b507b2a9 Compress scripts/styles: 3.4-alpha-20258.
git-svn-id: https://develop.svn.wordpress.org/trunk@20258 602fd350-edb4-49c9-b593-d223f7449a82
2012-03-22 06:58:22 +00:00
Daryl Koopersmith a2e813571e Theme Customizer: In JavaScript, add the ability to execute a callback once a set of values have been initialized. see #19910.
git-svn-id: https://develop.svn.wordpress.org/trunk@20257 602fd350-edb4-49c9-b593-d223f7449a82
2012-03-22 06:52:44 +00:00
bumpbot 5c54b48c3c Compress scripts/styles: 3.4-alpha-20255.
git-svn-id: https://develop.svn.wordpress.org/trunk@20255 602fd350-edb4-49c9-b593-d223f7449a82
2012-03-22 04:58:24 +00:00
Daryl Koopersmith 44880bceb5 Theme Customizer: Plupload does not support objects in its multipart_params setting (which causes exceptions in Firefox). Use multidimensional keys to circumnavigate this issue. see #19910.
git-svn-id: https://develop.svn.wordpress.org/trunk@20253 602fd350-edb4-49c9-b593-d223f7449a82
2012-03-22 03:58:06 +00:00
bumpbot fa15fe4754 Compress scripts/styles: 3.4-alpha-20251.
git-svn-id: https://develop.svn.wordpress.org/trunk@20252 602fd350-edb4-49c9-b593-d223f7449a82
2012-03-22 02:58:22 +00:00
Daryl Koopersmith ee5dcc012f Theme Customizer: Do not attempt to grab the contents of the preview iframe to populate the window title. Reverts plugins repo revision 508947. see #19910.
git-svn-id: https://develop.svn.wordpress.org/trunk@20250 602fd350-edb4-49c9-b593-d223f7449a82
2012-03-22 02:39:03 +00:00
bumpbot 8715cf588b Compress scripts/styles: 3.4-alpha-20192.
git-svn-id: https://develop.svn.wordpress.org/trunk@20192 602fd350-edb4-49c9-b593-d223f7449a82
2012-03-15 13:58:27 +00:00
Andrew Nacin 0cbc56cfa8 Use ajaxurl rather than direct references to admin-ajax.php. see #18952.
git-svn-id: https://develop.svn.wordpress.org/trunk@20191 602fd350-edb4-49c9-b593-d223f7449a82
2012-03-15 13:30:28 +00:00
bumpbot 5f9f15402c Compress scripts/styles: 3.4-alpha-20180.
git-svn-id: https://develop.svn.wordpress.org/trunk@20180 602fd350-edb4-49c9-b593-d223f7449a82
2012-03-15 04:15:22 +00:00
Daryl Koopersmith d254551dd7 Theme Customizer: First pass for upload controls, using background image as an example. Add a wrapper for Plupload that allows for custom upload UIs. see #19910.
wp.Uploader is a wrapper that provides a simple way to upload an attachment (using the wp_ajax_upload_attachment handler). It is intentionally decoupled from the UI. When an upload succeeds, it will receive the attachment information (id, url, meta, etc) as a JSON response. If the upload fails, the wrapper handles both WordPress and plupload errors through a single handler.

As todos, we should add drag classes for the uploader dropzone and account for the rough 100mb filesize limit in most browsers. The UI for the customizer upload controls could be improved as well.

git-svn-id: https://develop.svn.wordpress.org/trunk@20179 602fd350-edb4-49c9-b593-d223f7449a82
2012-03-15 04:14:05 +00:00
bumpbot d4e4ac7283 Compress scripts/styles: 3.4-alpha-20178. TinyMCE updated.
git-svn-id: https://develop.svn.wordpress.org/trunk@20178 602fd350-edb4-49c9-b593-d223f7449a82
2012-03-15 01:00:22 +00:00
Andrew Ozz 4f5a600761 Update TinyMCE to 3.4.9, fixes #20239, fixes #19717
git-svn-id: https://develop.svn.wordpress.org/trunk@20177 602fd350-edb4-49c9-b593-d223f7449a82
2012-03-15 00:47:06 +00:00
bumpbot 02e1841cc4 Compress scripts/styles: 3.4-alpha-20175. TinyMCE updated.
git-svn-id: https://develop.svn.wordpress.org/trunk@20175 602fd350-edb4-49c9-b593-d223f7449a82
2012-03-14 22:00:22 +00:00
Andrew Ozz 995926a5f0 Add support for line breaks to the caption textareas, see #18311
git-svn-id: https://develop.svn.wordpress.org/trunk@20174 602fd350-edb4-49c9-b593-d223f7449a82
2012-03-14 21:53:11 +00:00
bumpbot 1ae155013d Compress scripts/styles: 3.4-alpha-20167. TinyMCE updated.
git-svn-id: https://develop.svn.wordpress.org/trunk@20167 602fd350-edb4-49c9-b593-d223f7449a82
2012-03-09 23:30:29 +00:00
Andrew Ozz 78c8dedcdc Add support for DFW for all instances of the editor, part props sushkov, fixes #19843
git-svn-id: https://develop.svn.wordpress.org/trunk@20166 602fd350-edb4-49c9-b593-d223f7449a82
2012-03-09 23:23:10 +00:00
bumpbot 98715e56d9 Compress scripts/styles: 3.4-alpha-20134.
git-svn-id: https://develop.svn.wordpress.org/trunk@20134 602fd350-edb4-49c9-b593-d223f7449a82
2012-03-07 03:30:21 +00:00
Daryl Koopersmith f5b9beb8dd Theme Customizer: Move contents of customize.loader.css to wp-admin.css. Make markup/CSS for the full-screen overlay modular. see #19910.
git-svn-id: https://develop.svn.wordpress.org/trunk@20133 602fd350-edb4-49c9-b593-d223f7449a82
2012-03-07 03:19:35 +00:00
bumpbot 4540788d7e Compress scripts/styles: 3.4-alpha-20129.
git-svn-id: https://develop.svn.wordpress.org/trunk@20129 602fd350-edb4-49c9-b593-d223f7449a82
2012-03-06 23:00:21 +00:00
Daryl Koopersmith 21e5a2e69e Theme Customizer: Add a Control object to better encapsulate different UI elements and make it easy to switch between hard refreshes and postMessage. see #19910.
git-svn-id: https://develop.svn.wordpress.org/trunk@20128 602fd350-edb4-49c9-b593-d223f7449a82
2012-03-06 22:48:07 +00:00
Andrew Ozz ef4f301599 Revert change to the default font in the visual editor, see #20184
git-svn-id: https://develop.svn.wordpress.org/trunk@20125 602fd350-edb4-49c9-b593-d223f7449a82
2012-03-06 20:33:19 +00:00
bumpbot 4abd8e88a0 Compress scripts/styles: 3.4-alpha-20124.
git-svn-id: https://develop.svn.wordpress.org/trunk@20124 602fd350-edb4-49c9-b593-d223f7449a82
2012-03-06 03:00:26 +00:00
Daryl Koopersmith e11e5445e9 Theme Customizer: First pass at using postMessage for background color. Fix instance where preview.targetWindow would become inaccurate. Initialize setting values in customize-preview.js. see #19910.
git-svn-id: https://develop.svn.wordpress.org/trunk@20123 602fd350-edb4-49c9-b593-d223f7449a82
2012-03-06 02:49:02 +00:00
bumpbot 10124d291b Compress scripts/styles: 3.4-alpha-20122.
git-svn-id: https://develop.svn.wordpress.org/trunk@20122 602fd350-edb4-49c9-b593-d223f7449a82
2012-03-06 02:15:22 +00:00
Daryl Koopersmith e841432c7c Theme Customizer: Ensure color pickers initialize to the correct color. see #19910.
git-svn-id: https://develop.svn.wordpress.org/trunk@20121 602fd350-edb4-49c9-b593-d223f7449a82
2012-03-06 02:14:27 +00:00
Daryl Koopersmith c7769fabfd Theme Customizer: Add working color pickers. First pass. see #19910.
git-svn-id: https://develop.svn.wordpress.org/trunk@20120 602fd350-edb4-49c9-b593-d223f7449a82
2012-03-06 02:03:50 +00:00
bumpbot d24750e3a1 Compress scripts/styles: 3.4-alpha-20115.
git-svn-id: https://develop.svn.wordpress.org/trunk@20115 602fd350-edb4-49c9-b593-d223f7449a82
2012-03-05 07:45:20 +00:00
Andrew Ozz e169217ad0 Based on the current UX feedback, remove the "Insert Link" UI from under the caption fields, see #18311
git-svn-id: https://develop.svn.wordpress.org/trunk@20114 602fd350-edb4-49c9-b593-d223f7449a82
2012-03-05 07:31:31 +00:00
bumpbot d09808555e Compress scripts/styles: 3.4-alpha-20107.
git-svn-id: https://develop.svn.wordpress.org/trunk@20107 602fd350-edb4-49c9-b593-d223f7449a82
2012-03-04 02:15:20 +00:00