Commit Graph

1075 Commits

Author SHA1 Message Date
Andrew Ozz
e6fe8c83a3 Tab indexes: when tabbing out of the editors make sure the next focused element is the expected/default action, fix focusing the next field when picking a date for future post, props lessbloat, fixes #21340
git-svn-id: http://core.svn.wordpress.org/trunk@22250 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-10-16 21:38:35 +00:00
Andrew Ozz
e8b10439bb Accessibility shortcuts: new looks and fix for the WebKit focus bug, props lessbloat, fixes #21471
git-svn-id: http://core.svn.wordpress.org/trunk@22249 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-10-16 21:26:59 +00:00
Andrew Nacin
65534a21c0 jQuery Masonry for uploaded custom headers. props zamoose. fixes #20346.
git-svn-id: http://core.svn.wordpress.org/trunk@22228 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-10-14 17:05:16 +00:00
Bot (Assets)
3012719800 Compress scripts/styles: 3.5-beta1-22223. TinyMCE updated.
git-svn-id: http://core.svn.wordpress.org/trunk@22223 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-10-12 22:58:48 +00:00
Daryl Koopersmith
5c9fa8ee8f Properly align MCE attachment views.
* Adds a `$wrapper` property to MCE views to allow them to manipulate the wrapper on render. This should be used sparingly — only for layout changes that cannot be accomplished through altering the wrapper's children — and likely only for adding/removing classes.
* Uses `wp.html.string()` in `wp.mce.view.toView()`.

see #21390, #21812, #21813.


git-svn-id: http://core.svn.wordpress.org/trunk@22220 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-10-12 18:36:21 +00:00
Bot (Assets)
28cddba189 Compress scripts/styles: 3.5-beta1-22204.
git-svn-id: http://core.svn.wordpress.org/trunk@22204 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-10-11 22:58:47 +00:00
Daryl Koopersmith
1daa774b27 Caption editing in the media modal library.
* Adds a `describe` option to the workflow controller to support inline caption editing.
* For images, descriptions are mapped to the `caption` attribute.
* For other media items, descriptions are mapped to the `title` attribute.
* Descriptions are saved when the textarea's `change` event fires (i.e. when the textarea is blurred).

fixes #21807, see #21390.


git-svn-id: http://core.svn.wordpress.org/trunk@22173 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-10-10 23:32:48 +00:00
Bot (Assets)
d71143817e Compress scripts/styles: 3.5-beta1-22172.
git-svn-id: http://core.svn.wordpress.org/trunk@22172 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-10-10 22:58:38 +00:00
Daryl Koopersmith
d8cd26095a Correctly insert non-image attachments as links.
* Adds `wp.media.string.link( attachment )` for printing attachment links.
* Adds the `link` attribute to `Attachment` models that corresponds to the link to the attachment post.

see #21390, #21836.


git-svn-id: http://core.svn.wordpress.org/trunk@22170 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-10-10 21:54:21 +00:00
Daryl Koopersmith
ebc9a34650 Reset the media modal to the library view after inserting a gallery. fixes #22151, see #21390, #21809.
git-svn-id: http://core.svn.wordpress.org/trunk@22156 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-10-10 08:47:15 +00:00
Daryl Koopersmith
70bd368ad8 Gallery editing in the media modal.
The edit button on gallery MCE views will open a new instance of the media modal. Images can be removed, uploaded, and reordered. However, the "Add images from media library" button is not yet functional.

see #21390, #21809, #21815.


git-svn-id: http://core.svn.wordpress.org/trunk@22155 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-10-10 08:31:12 +00:00
Bot (Assets)
d95a7d06f6 Compress scripts/styles: 3.5-beta1-22130.
git-svn-id: http://core.svn.wordpress.org/trunk@22130 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-10-07 03:46:14 +00:00
Andrew Nacin
d8936dc1aa Pass the screen context directly to get_sample_permalink_html(). see #16379.
git-svn-id: http://core.svn.wordpress.org/trunk@22129 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-10-07 03:44:30 +00:00
Bot (Assets)
06d16327f5 Compress scripts/styles: 3.5-beta1-22128.
git-svn-id: http://core.svn.wordpress.org/trunk@22128 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-10-07 02:27:48 +00:00
Ryan Boren
90288a07b7 Better UI for doing "Page on Front".
Props SergeyBiryukov, lessbloat, nacin.

see #16379


git-svn-id: http://core.svn.wordpress.org/trunk@22127 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-10-06 15:19:29 +00:00
Daryl Koopersmith
1deab58658 Use the new media modal to insert galleries into TinyMCE and the text editor.
'''Galleries'''

* Gallery insertion from the new media modal (into TinyMCE, the text editor, etc).
* Gallery previews in TinyMCE now use the `wp.mce.views` API.
* Disables the TinyMCE `wpgallery` plugin.
* Gallery previews consist of the first image of the gallery and the appearance of a stack. This will later be fleshed out to include more images/functionality (including editing the gallery, gallery properties, and showing the number of images in the gallery).
* Multiple galleries can be added to a single post.
* The gallery MCE view provides a bridge between the `wp.shortcode` and `Attachments` representation of a gallery, which allows the existing collection to persist when a gallery is initially created (preventing a request to the server for the query).


'''Shortcodes'''

* Renames `wp.shortcode.Match` to `wp.shortcode` to better expose the shortcode constructor.
* The `wp.shortcode` constructor now accepts an object of options instead of a `wp.shortcode.regexp()` match.
* A `wp.shortcode` instance can be created from a `wp.shortcode.regexp()` match by calling `wp.shortcode.fromMatch( match )`.
* Adds `wp.shortcode.string()`, which takes a set of shortcode parameters and converts them into a string.* Renames `wp.shortcode.prototype.text()` to `wp.shortcode.prototype.string()`.
* Adds an additional capture group to `wp.shortcode.regexp()` that records whether or not the shortcode has a closing tag. This allows us to improve the accuracy of the syntax used when transforming a shortcode object back into a string.

'''Media Models'''

* Prevents media `Query` models from observing the central `Attachments.all` object when query args without corresponding filters are set (otherwise, queries quickly amass false positives).
* Adds `post__in`, `post__not_in`, and `post_parent` as acceptable JS attachment `Query` args.
* `Attachments.more()` always returns a `$.promise` object.

see #21390, #21809, #21812, #21815, #21817.


git-svn-id: http://core.svn.wordpress.org/trunk@22120 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-10-05 04:23:59 +00:00
Daryl Koopersmith
0c42e6121a Add QuickPress support for new media workflow.
* Adds the code required to include the new media scripts, styles, and settings to `media_button()`.
* Improves script dependencies, namely making `media-upload` require `media-views`.
* Some CSS tweaks for the making the new button work well with QuickPress.

see #21390, fixes #22021.


git-svn-id: http://core.svn.wordpress.org/trunk@22072 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-09-27 20:04:34 +00:00
Bot (Assets)
8c36f67e11 Compress scripts/styles: 3.5-alpha-22071.
git-svn-id: http://core.svn.wordpress.org/trunk@22071 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-09-27 19:21:47 +00:00
Daryl Koopersmith
a9d3197c28 Media JS: Move the modal box's title from being stored in the modal view to being stored as an attribute on the workflow. Update modal titles for both the post media and featured image workflows. see #21390, #21776.
git-svn-id: http://core.svn.wordpress.org/trunk@22044 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-09-27 06:20:22 +00:00
Daryl Koopersmith
eec758fd26 BUTTON.
Add a "Beta Media" button to the post editor. Currently, it is only capable of inserting images. Other attachment types and galleries need not apply... yet.

* Added `wp.media.string.image( attachment, props )` for generating an image as a string from an attachment and relevant attachment display properties.
* Properly localized the gallery workflow.
* Added `Workflow.update()`, which closes the modal, triggers an `update` event, and resets the selection.
* Added `wp.mce.media` to manage the various media workflows for editors.

see #21813, #21814, #21390.


git-svn-id: http://core.svn.wordpress.org/trunk@22036 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-09-27 04:09:43 +00:00
Andrew Nacin
6405337afc Update underlying color picker library. props mattwiebe. see #21206.
git-svn-id: http://core.svn.wordpress.org/trunk@22033 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-09-27 02:18:55 +00:00
Andrew Nacin
0b6cf76853 New color picker, props mattwiebe. see #21206.
Replaces Farbtastic. May change further in response to user testing.



git-svn-id: http://core.svn.wordpress.org/trunk@22030 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-09-27 01:57:38 +00:00
Bot (Assets)
baaf5c4cf8 Compress scripts/styles: 3.5-alpha-22024.
git-svn-id: http://core.svn.wordpress.org/trunk@22024 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-09-26 22:58:46 +00:00
Andrew Nacin
1acd8b556f New HiDPI spinner. Uses clean <span class="spinner"></span> markup.
Be on the lookout for weirdness.
props lessbloat. see #21456.



git-svn-id: http://core.svn.wordpress.org/trunk@22019 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-09-26 19:57:44 +00:00
Andrew Ozz
50be456284 Make sure TinyMCE is not disabled before adding the size saving functions, see #21718
git-svn-id: http://core.svn.wordpress.org/trunk@22017 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-09-26 19:35:36 +00:00
Andrew Ozz
563c7caac5 Main editor: maintain the height when switching Visual to Text and back, save the height when resizing as user state, output the height in the textarea tag when loading, (thanks @nacin for the help), fixes #21718
git-svn-id: http://core.svn.wordpress.org/trunk@22007 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-09-26 03:30:21 +00:00
Bot (Assets)
a78e2c8d53 Compress scripts/styles: 3.5-alpha-21989.
git-svn-id: http://core.svn.wordpress.org/trunk@21989 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-09-24 22:58:42 +00:00
Andrew Nacin
469a77d74c Hitting return when adding a new category from the category meta box should add the new category, not submit the post form. props wojtek.szkutnik, fixes #14312.
git-svn-id: http://core.svn.wordpress.org/trunk@21970 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-09-24 16:25:15 +00:00
Bot (Assets)
d4abbb5264 Compress scripts/styles: 3.5-alpha-21950.
git-svn-id: http://core.svn.wordpress.org/trunk@21950 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-09-22 15:03:04 +00:00
Andrew Nacin
ffaa2d0330 Revert JS from [21921] as it breaks saving when no post date fields are present. see #17180.
git-svn-id: http://core.svn.wordpress.org/trunk@21947 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-09-21 22:27:51 +00:00
Andrew Nacin
c1b0670c2d Updates and fixes to the new button styles. By default, buttons are now the same size as they were in 3.4. Then there is a smaller button (designed for minor elements) and a larger button (designed for things like Publish and Save Changes). Better focus styles. props lessbloat. see #21598.
git-svn-id: http://core.svn.wordpress.org/trunk@21944 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-09-21 19:34:23 +00:00
Bot (Assets)
5e9365fc54 Compress scripts/styles: 3.5-alpha-21931.
git-svn-id: http://core.svn.wordpress.org/trunk@21931 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-09-20 18:59:45 +00:00
Peter Westwood
c05f6dc6dd Posting: Make it much harder to create posts with invalid dates by enforcing the post date tests in the UI and the backend code.
Previously you could quite easily send a new post into the back of beyond by specifying an invalid date like the 30th Feb and this was very confusing.
Sometimes it would seem to work and sometimes the post would end up very far in the past - depending on the mysql version and other factors.

Fixes #17180 props jkudish.


git-svn-id: http://core.svn.wordpress.org/trunk@21921 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-09-19 21:43:35 +00:00
Bot (Assets)
8892592379 Compress scripts/styles: 3.5-alpha-21895.
git-svn-id: http://core.svn.wordpress.org/trunk@21895 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-09-18 18:59:37 +00:00
Andrew Nacin
cfdab676fa Replace QuickPress labels with gray prompt texts. Stylish, but also done for localization purposes (string lengths). props ocean90. fixes #21754.
git-svn-id: http://core.svn.wordpress.org/trunk@21894 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-09-18 18:45:44 +00:00
Andrew Nacin
8fd2fb4998 Synchronize block-level elements between the JS and PHP versions of wpautop. props SergeyBiryukov. fixes #18534.
git-svn-id: http://core.svn.wordpress.org/trunk@21888 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-09-18 17:32:44 +00:00
Bot (Assets)
4a8bb5e3f8 Compress scripts/styles: 3.5-alpha-21879. TinyMCE updated.
git-svn-id: http://core.svn.wordpress.org/trunk@21879 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-09-17 00:59:40 +00:00
Daryl Koopersmith
7fb2c8b4f7 Use JS Attachment models in wp.Uploader. fixes #21868.
Moves the uploading Attachments queue from the media workspace view to the uploader itself. This ensures that all attachments are added to the central attachmnet store.

Updates wp.Uploader to pass Attachment models to callbacks instead of Plupload file objects. Attachments in the process of uploading have a reference to the file object (which can be fetched by calling `attachment.get('file');`).

Also updates the customizer to be compatible with the API changes.


git-svn-id: http://core.svn.wordpress.org/trunk@21814 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-09-11 16:55:58 +00:00
Daryl Koopersmith
67894a3407 New button styles.
Using the new buttons:

* Button classes are now stackable.
* All buttons should use a base class of "button".
* Buttons default to the gray style (formerly "button-secondary"). Buttons can add a style by adding additional classes. To make a primary button, add the "button-primary" class.
* Buttons can be rendered in various sizes. In addition to the default size, you can add "button-large", "button-small", or "button-tiny".

For backwards compatibility reasons, "button-primary" and "button-secondary" both work as standalone classes.

get_submit_button() has been adjusted to handle shorthand button classes (i.e. button classes can be passed without the "button-" prefix).

props lessbloat, helenyhou, trepmal, nacin. see #21598.



git-svn-id: http://core.svn.wordpress.org/trunk@21789 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-09-08 04:58:34 +00:00
Andrew Ozz
291063faee Don't try to show the submenu when it's visible (Chrome), part props ericlewis, fixes #21832
git-svn-id: http://core.svn.wordpress.org/trunk@21787 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-09-07 22:34:43 +00:00
Bot (Assets)
51a2425fe8 Compress scripts/styles: -3.5-21751.
git-svn-id: http://core.svn.wordpress.org/trunk@21751 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-09-04 21:59:25 +00:00
Andrew Nacin
daef59322c Modify a few jQuery selectors to prevent overflows and lagging. Todo, rewrite wp-lists and improve all of these selectors.
props SergeyBiryukov. fixes #21106 for trunk. see #21152.



git-svn-id: http://core.svn.wordpress.org/trunk@21737 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-09-04 20:27:14 +00:00
Bot (Assets)
95de46bf19 Compress scripts/styles: 3.5-alpha-21698.
git-svn-id: http://core.svn.wordpress.org/trunk@21698 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-09-03 15:59:27 +00:00
Andrew Nacin
51fc60634a Load the meta box sortables JS on the Edit Comment screen. props SergeyBiryukov. fixes #21499.
git-svn-id: http://core.svn.wordpress.org/trunk@21697 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-09-03 15:39:06 +00:00
Bot (Assets)
9bd2e882ee Compress scripts/styles: 3.5-alpha-21690.
git-svn-id: http://core.svn.wordpress.org/trunk@21690 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-31 18:59:24 +00:00
Mark Jaquith
77563d1614 Fix the adding of link categories through the "Add Link" screen. props yoavf. fixes #21590 for trunk
git-svn-id: http://core.svn.wordpress.org/trunk@21688 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-31 18:20:28 +00:00
Andrew Nacin
3331a345bc Update some code comments from .dev.js to .js. props georgestephanis. see #21633.
git-svn-id: http://core.svn.wordpress.org/trunk@21659 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-30 02:15:57 +00:00
Andrew Nacin
2710bcade1 Switch to .min for compressed JS and CSS files.
* This moves our "development" versions from .dev.js to .js (same for css).
 * The compressed version then moves from .js to .min.js (same for css).

By switching to the standard .min convention, it sets expectations for developers,
and works nicely with existing tools such as ack.

fixes #21633.



git-svn-id: http://core.svn.wordpress.org/trunk@21592 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-23 00:04:18 +00:00
Bot (Assets)
245cb4acba Compress scripts/styles: 3.5-alpha-21587.
git-svn-id: http://core.svn.wordpress.org/trunk@21587 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-22 18:58:32 +00:00
Andrew Ozz
9f02c68a00 Don't hide the label for the Title on the Edit Post screen, use 'screen-reader-text' instead, props SergeyBiryukov, fixes #21458
git-svn-id: http://core.svn.wordpress.org/trunk@21584 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-22 17:40:17 +00:00
Bot (Assets)
9bd7b4811b Compress scripts/styles: 3.5-alpha-21575.
git-svn-id: http://core.svn.wordpress.org/trunk@21575 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-21 22:58:27 +00:00
Andrew Ozz
0b92d7c941 Improve the layout and accessibility of the admin menu: simplify the HTML structure, move the submenus off the viewport (still visible for screen readers) instead of hiding them with display: none, make it possible to unfold the menu on small/narrow screens, see #21349
git-svn-id: http://core.svn.wordpress.org/trunk@21574 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-21 22:46:30 +00:00
Bot (Assets)
b104249ef2 Compress scripts/styles: 3.5-alpha-21530.
git-svn-id: http://core.svn.wordpress.org/trunk@21530 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-15 18:58:27 +00:00
Andrew Ozz
8bc0381f7f Add :focus style to all links, use JS to blur() them on click so the style is only visible when tabbing, props lessbloat, see #21324
git-svn-id: http://core.svn.wordpress.org/trunk@21529 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-15 18:40:11 +00:00
bumpbot
59eb150fdc Compress scripts/styles: 3.5-alpha-21458.
git-svn-id: http://core.svn.wordpress.org/trunk@21458 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-06 04:58:26 +00:00
azaozz
6a5a3a81b6 Accessibility: enhance the Screen Options and Help tabs open/close, see #21326
git-svn-id: http://core.svn.wordpress.org/trunk@21457 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-06 04:26:37 +00:00
bumpbot
fc62ad5e57 Compress scripts/styles: 3.5-alpha-21443.
git-svn-id: http://core.svn.wordpress.org/trunk@21443 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-05 22:58:29 +00:00
azaozz
c368f0e6a1 Accessibility: fix the Skip to content link, show it on :focus, improve the styling of the skip links when shown, see #21310, see #21471
git-svn-id: http://core.svn.wordpress.org/trunk@21435 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-05 21:37:57 +00:00
bumpbot
506492de67 Compress scripts/styles: 3.5-alpha-21384.
git-svn-id: http://core.svn.wordpress.org/trunk@21384 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-01 06:58:20 +00:00
koopersmith
86b352faea Remove the ability to upload custom headers in the customizer. Properly handle selecting the correct first tab, and removing the control/section if no tabs exist. see #21355.
To check if the control has any potential tabs and headers, added:
* WP_Customize_Image_Control->prepare_control()
* WP_Customize_Header_Image_Control->prepare_control()
* WP_Customize_Header_Image_Control->default_headers
* WP_Customize_Header_Image_Control->uploaded_headers



git-svn-id: http://core.svn.wordpress.org/trunk@21383 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-01 06:45:54 +00:00
bumpbot
8167046e99 Compress scripts/styles: 3.5-alpha-21312.
git-svn-id: http://core.svn.wordpress.org/trunk@21312 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-07-24 00:58:22 +00:00
azaozz
6d556cbcdb Make it possible to tab out of the plugin and theme editors textareas by pressing Esc followed by Tab, fixes #21347
git-svn-id: http://core.svn.wordpress.org/trunk@21310 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-07-23 23:46:27 +00:00
bumpbot
63df9ad5e0 Compress scripts/styles: 3.5-alpha-21309.
git-svn-id: http://core.svn.wordpress.org/trunk@21309 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-07-23 22:58:26 +00:00
azaozz
3df1783276 Add "Skip to content" link to all screens in the admin, fixes #21361
git-svn-id: http://core.svn.wordpress.org/trunk@21305 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-07-23 22:00:06 +00:00
bumpbot
2e494f8e08 Compress scripts/styles: 3.5-alpha-21282.
git-svn-id: http://core.svn.wordpress.org/trunk@21282 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-07-18 22:58:20 +00:00
azaozz
3c0c21747a Widgets UI: make the whole "header" clickable to open/close the widget (same as postboxes), remove deprecated jQuery .live(), part props lessbloat, fixes #21247
git-svn-id: http://core.svn.wordpress.org/trunk@21281 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-07-18 22:41:43 +00:00
bumpbot
02192b7f71 Compress scripts/styles: 3.5-alpha-21220.
git-svn-id: http://core.svn.wordpress.org/trunk@21220 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-07-05 20:58:21 +00:00
azaozz
e7b985db6f Clarify that 'html' refers to the Text editor tab, see #20993
git-svn-id: http://core.svn.wordpress.org/trunk@21218 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-07-05 20:28:01 +00:00
markjaquith
fb0754d3d3 Increase the z-index of widgets so they don't appear behind menu portions while dragging. props jkudish. fixes #20300
git-svn-id: http://core.svn.wordpress.org/trunk@21214 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-07-05 19:24:57 +00:00
markjaquith
813ca40b2f 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: http://core.svn.wordpress.org/trunk@21212 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-07-05 15:28:13 +00:00
bumpbot
a81a68b862 Compress scripts/styles: 3.5-alpha-21210.
git-svn-id: http://core.svn.wordpress.org/trunk@21210 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-07-05 14:58:19 +00:00
markjaquith
57b977d781 Uncheck the "select all" checkbox when one of the child checkboxes is manually unchecked. props SergeyBiryukov. fixes #20261
git-svn-id: http://core.svn.wordpress.org/trunk@21209 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-07-05 14:08:20 +00:00
bumpbot
b624dd94d5 Compress scripts/styles: 3.5-alpha-21148.
git-svn-id: http://core.svn.wordpress.org/trunk@21148 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-06-26 21:50:58 +00:00
nacin
69112517ed Refresh nonces in the customizer. props koopersmith. see #20876.
git-svn-id: http://core.svn.wordpress.org/trunk@21135 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-06-26 18:48:18 +00:00
bumpbot
12e243bda4 Compress scripts/styles: 3.5-alpha-21092.
git-svn-id: http://core.svn.wordpress.org/trunk@21092 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-06-20 15:58:25 +00:00
azaozz
77cb52144e Respect user settings when auto-switching postbox columns on mobile devices, fixes #21005
git-svn-id: http://core.svn.wordpress.org/trunk@21091 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-06-20 05:03:08 +00:00
azaozz
5f973a17e2 Admin menu: reset sub-menus position on mouseleave so they don't break when auto-expanded, props phill_brown SergeyBiryukov, fixes #19562
git-svn-id: http://core.svn.wordpress.org/trunk@21090 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-06-20 01:46:05 +00:00
bumpbot
a10e86c351 Compress scripts/styles: 3.4-RC3-21072.
git-svn-id: http://core.svn.wordpress.org/trunk@21072 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-06-12 22:52:24 +00:00
ryan
2429659e9b Customize: If the preview is not logged in but the admin is, perform a front page request to setup any mapped domain cookies and then retry loading the preview.
Props nacin, koopersmith
fixes #20926


git-svn-id: http://core.svn.wordpress.org/trunk@21071 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-06-12 22:51:55 +00:00
bumpbot
b2024263ae Compress scripts/styles: 3.4-RC3-21066.
git-svn-id: http://core.svn.wordpress.org/trunk@21066 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-06-12 16:58:23 +00:00
koopersmith
4811176a7c Prevent hoverIntent from shifting open, expanded admin menus if the entire submenu is not visible. props SergeyBiryukov, fixes #20857.
git-svn-id: http://core.svn.wordpress.org/trunk@21065 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-06-12 16:36:32 +00:00
bumpbot
4e735c5227 Compress scripts/styles: 3.4-RC2-21038.
git-svn-id: http://core.svn.wordpress.org/trunk@21038 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-06-10 00:32:52 +00:00
ryan
808ce796ae * Introduce remove_header_image(), reset_header_image(), set_header_image(), and get_header_image_data() for Custom_Image_Header.
* Handle all set/get of header theme mod through these methods.
* Use these methods in the customizer.

Props kovshenin, nacin, SergeyBiryukov, koopersmith.
fixes #20871


git-svn-id: http://core.svn.wordpress.org/trunk@21037 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-06-10 00:32:19 +00:00
bumpbot
e04cfd76f5 Compress scripts/styles: 3.4-RC2-21034.
git-svn-id: http://core.svn.wordpress.org/trunk@21034 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-06-08 23:02:40 +00:00
koopersmith
6c273ba9e4 Theme Customizer: Separate message url from preview url in customizer JS Previewer and PreviewFrame objects. fixes #20892.
git-svn-id: http://core.svn.wordpress.org/trunk@21033 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-06-08 22:59:48 +00:00
bumpbot
82e9205d58 Compress scripts/styles: 3.4-RC2-21032.
git-svn-id: http://core.svn.wordpress.org/trunk@21032 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-06-08 19:40:31 +00:00
ryan
9115435213 Customizer: Gravefully handle cookie expipration. Prompt for log in in the preview. Props ocean90, koopersmith, nacin. fixes #20876
git-svn-id: http://core.svn.wordpress.org/trunk@21031 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-06-08 19:22:11 +00:00
bumpbot
dce23895de Compress scripts/styles: 3.4-RC2-21030.
git-svn-id: http://core.svn.wordpress.org/trunk@21030 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-06-08 18:58:24 +00:00
ryan
f826e49a72 Customizer: fix stuck urls and preview white screens after repeated save and activates. Props koopersmith. fixes #20868
git-svn-id: http://core.svn.wordpress.org/trunk@21029 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-06-08 18:52:44 +00:00
ryan
69ad7a68ff 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: http://core.svn.wordpress.org/trunk@21028 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-06-08 18:45:12 +00:00
bumpbot
3f729457f4 Compress scripts/styles: 3.4-RC2-21026.
git-svn-id: http://core.svn.wordpress.org/trunk@21026 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-06-07 22:58:22 +00:00
ryan
6e0e62a063 Customizer: Add keyup events to sync textarea values. Props koopersmith. fixes #20879
git-svn-id: http://core.svn.wordpress.org/trunk@21024 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-06-07 22:00:59 +00:00
bumpbot
882813ef82 Compress scripts/styles: 3.4-RC2-21023.
git-svn-id: http://core.svn.wordpress.org/trunk@21023 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-06-07 17:58:27 +00:00
koopersmith
00ccc5f790 Theme Customizer: Allow color control inputs to change the corresponding setting (use sync instead of link). fixes #20873.
git-svn-id: http://core.svn.wordpress.org/trunk@21022 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-06-07 17:25:00 +00:00
bumpbot
d356284803 Compress scripts/styles: 3.4-RC1-21017.
git-svn-id: http://core.svn.wordpress.org/trunk@21017 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-06-07 01:31:49 +00:00
ryan
07140847b2 Namespace the customize request arg to prevent collision with plugins and themes. Props nacin. fixes #20862
git-svn-id: http://core.svn.wordpress.org/trunk@21016 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-06-07 01:29:57 +00:00
bumpbot
d15f104e4b Compress scripts/styles: 3.4-RC1-21015.
git-svn-id: http://core.svn.wordpress.org/trunk@21015 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-06-06 21:51:13 +00:00
koopersmith
14f04132af 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: http://core.svn.wordpress.org/trunk@21014 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-06-06 21:45:17 +00:00
ryan
44dc454f53 Fix admin menu hover. Props koopersmith. fixes #20857
git-svn-id: http://core.svn.wordpress.org/trunk@21012 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-06-06 21:15:43 +00:00
bumpbot
e14451d9f6 Compress scripts/styles: 3.4-RC1-21005.
git-svn-id: http://core.svn.wordpress.org/trunk@21005 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-06-05 18:58:25 +00:00