Commit Graph

1617 Commits

Author SHA1 Message Date
Daryl Koopersmith 990d50661c Add a nonce to wp_ajax_save_attachment. see #21390, #21807.
git-svn-id: https://develop.svn.wordpress.org/trunk@22212 602fd350-edb4-49c9-b593-d223f7449a82
2012-10-12 16:02:45 +00:00
Andrew Nacin a6b7bda12f jQuery 1.9.0 final. see #21736.
git-svn-id: https://develop.svn.wordpress.org/trunk@22182 602fd350-edb4-49c9-b593-d223f7449a82
2012-10-11 03:34:19 +00:00
Andrew Nacin d275546925 Bump jQuery version in the script loader. see #21957.
git-svn-id: https://develop.svn.wordpress.org/trunk@22181 602fd350-edb4-49c9-b593-d223f7449a82
2012-10-11 03:29:02 +00:00
Daryl Koopersmith 04143f286a When editing a gallery, images can now be added from the media library.
Enables the "Add images from media library" button when editing. The UX has room for improvement, but it's a start.

see #21390, #21809.


git-svn-id: https://develop.svn.wordpress.org/trunk@22157 602fd350-edb4-49c9-b593-d223f7449a82
2012-10-10 09:30:22 +00:00
Daryl Koopersmith db21ce7189 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: https://develop.svn.wordpress.org/trunk@22155 602fd350-edb4-49c9-b593-d223f7449a82
2012-10-10 08:31:12 +00:00
Andrew Nacin 5ecb1e0d87 Pass the screen context directly to get_sample_permalink_html(). see #16379.
git-svn-id: https://develop.svn.wordpress.org/trunk@22129 602fd350-edb4-49c9-b593-d223f7449a82
2012-10-07 03:44:30 +00:00
Ryan Boren 3368f400e6 Better UI for doing "Page on Front".
Props SergeyBiryukov, lessbloat, nacin.

see #16379


git-svn-id: https://develop.svn.wordpress.org/trunk@22127 602fd350-edb4-49c9-b593-d223f7449a82
2012-10-06 15:19:29 +00:00
Daryl Koopersmith 2722e212aa Update underscore.js to version 1.4.0. fixes #22026.
git-svn-id: https://develop.svn.wordpress.org/trunk@22076 602fd350-edb4-49c9-b593-d223f7449a82
2012-09-27 23:38:47 +00:00
Daryl Koopersmith 1758d1aae3 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: https://develop.svn.wordpress.org/trunk@22072 602fd350-edb4-49c9-b593-d223f7449a82
2012-09-27 20:04:34 +00:00
Daryl Koopersmith 692d806fff 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: https://develop.svn.wordpress.org/trunk@22036 602fd350-edb4-49c9-b593-d223f7449a82
2012-09-27 04:09:43 +00:00
Andrew Nacin 4e9d8d363e New color picker, props mattwiebe. see #21206.
Replaces Farbtastic. May change further in response to user testing.



git-svn-id: https://develop.svn.wordpress.org/trunk@22030 602fd350-edb4-49c9-b593-d223f7449a82
2012-09-27 01:57:38 +00:00
Daryl Koopersmith 2fea9cef7e Apply localized strings to media modal. see #21390, #21808.
git-svn-id: https://develop.svn.wordpress.org/trunk@22029 602fd350-edb4-49c9-b593-d223f7449a82
2012-09-27 01:11:04 +00:00
Daryl Koopersmith 0dd940e0c1 First pass on TinyMCE attachment in-editor UI.
* Adds in-editor UI for image attachments. Most of this UI should be able to migrate to all images in a future commit.
* Removes the wpeditimage TinyMCE plugin from the default plugins array.
* Add `wp.media.fit`, a helper method to constrain dimensions based upon a maximum width and/or height.
* Add html attribute parsing and string generation utilities (currently stored in mce-views).
* Calling `remove` on a TinyMCE views now ensures that the the parent and references are removed as well.
* Fixes a bug where we weren't sending the full array of results to matches in wp.mce.view.

see #21390, #21812, #21813.



git-svn-id: https://develop.svn.wordpress.org/trunk@22012 602fd350-edb4-49c9-b593-d223f7449a82
2012-09-26 14:12:54 +00:00
Daryl Koopersmith c133581a81 Add JavaScript methods for handling shortcodes.
Adds `wp.shortcode`, a set of methods used for parsing shortcodes out of content. Also adds a default set of shortcode properties to `wp.mce.view`.

fixes #21996, see #21812, #21813, #21815.


git-svn-id: https://develop.svn.wordpress.org/trunk@22004 602fd350-edb4-49c9-b593-d223f7449a82
2012-09-26 01:00:08 +00:00
Daryl Koopersmith 0a0732f9ab Makes custom TinyMCE views easier to implement.
For details and examples, see the ticket.

props azaozz, fixes #21812.


git-svn-id: https://develop.svn.wordpress.org/trunk@21961 602fd350-edb4-49c9-b593-d223f7449a82
2012-09-24 00:13:18 +00:00
Daryl Koopersmith 1cc9c42bc4 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: https://develop.svn.wordpress.org/trunk@21814 602fd350-edb4-49c9-b593-d223f7449a82
2012-09-11 16:55:58 +00:00
Daryl Koopersmith 3ef72a1dee First pass at integrating featured images with the new media workflow.
Updates the featured image when the publish/update button is clicked (rather than instantly). Uses the existing post_thumbnail_meta_box() function. Does not remove the old featured image meta box JS, ajax handler, or CSS.

see #21776, #21390.


git-svn-id: https://develop.svn.wordpress.org/trunk@21770 602fd350-edb4-49c9-b593-d223f7449a82
2012-09-06 08:49:35 +00:00
Andrew Nacin a7bc84096f Load the meta box sortables JS on the Edit Comment screen. props SergeyBiryukov. fixes #21499.
git-svn-id: https://develop.svn.wordpress.org/trunk@21697 602fd350-edb4-49c9-b593-d223f7449a82
2012-09-03 15:39:06 +00:00
Andrew Nacin 903479fb96 Replace multiple wp_enqueue_script() calls in nav-menus.php with dependencies. props SergeyBiryukov. fixes #21777.
git-svn-id: https://develop.svn.wordpress.org/trunk@21696 602fd350-edb4-49c9-b593-d223f7449a82
2012-09-03 15:35:22 +00:00
Daryl Koopersmith 83cb763ff1 jQuery 1.8.1 final. Also restores jQuery.noConflict(). props ocean90, fixes #21736.
git-svn-id: https://develop.svn.wordpress.org/trunk@21695 602fd350-edb4-49c9-b593-d223f7449a82
2012-09-01 20:47:07 +00:00
Daryl Koopersmith 5a4a17687a Add new media workflow scripts, styles, and templates.
Please note that this commit does not integrate media into the existing UI. If you would like to see the new UI, navigate to the post editor and run the following in your browser's Javascript console:

	new wp.media.controller.Workflow().render().modal.open();


The Javascript is broken up into two files, with the slugs media-models and media-views.

* media-models: The models are UI agnostic, and can be used independent of the views. If you'd like to create custom UIs, this is the script for you.

* media-views: This is the Media Experience. The views (and controllers) depend on the models (which are listed as a dependency and will automatically be included thanks to wp_enqueue_script). The views also require the media templates, media-view styles, and the plupload bridge settings. Perhaps we should create a function to include the whole shebang, but in the meantime...

To include media-views in the admin, run the following PHP in or after 'admin_enqueue_scripts':

	wp_enqueue_script( 'media-views' );
	wp_enqueue_style( 'media-views' );
	wp_plupload_default_settings();
	add_action( 'admin_footer', 'wp_print_media_templates' );

see #21390.



git-svn-id: https://develop.svn.wordpress.org/trunk@21683 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-31 04:54:23 +00:00
Andrew Nacin 8b903f365f jQuery 1.8.1-not-quite-final. fixes #21736.
git-svn-id: https://develop.svn.wordpress.org/trunk@21658 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-30 02:05:08 +00:00
Andrew Nacin 7710b20d72 jQuery UI 1.9 RC.
Adds Tooltip, Menu, and Spinner.
Autocomplete depends on Menu.
Renames Effects files.

1.9 final is expected next week.
see #21736.



git-svn-id: https://develop.svn.wordpress.org/trunk@21657 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-30 01:49:47 +00:00
Andrew Nacin f20a84795e Remove Jcrop non-minified files. see #20728.
git-svn-id: https://develop.svn.wordpress.org/trunk@21648 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-28 18:03:52 +00:00
Andrew Nacin 48a3353f5e Set jQuery Color to be a dependency for wp-lists, rather than enqueueing it everywhere.
Any plugin wishing to use jQuery color animations must set jquery-color as a dependency
(or enqueue it).

Remove the un-minified version of jQuery Color.

props scribu.
fixes #21692.



git-svn-id: https://develop.svn.wordpress.org/trunk@21646 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-28 17:51:35 +00:00
Andrew Nacin ac2285f65e Update Jcrop to 0.9.10. Includes touch support. fixes #20728.
git-svn-id: https://develop.svn.wordpress.org/trunk@21633 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-27 23:37:03 +00:00
Andrew Nacin e985e703a1 Update jQuery Color Animations plugin to 2.1.0. Props gnarf. fixes #21692.
git-svn-id: https://develop.svn.wordpress.org/trunk@21632 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-27 23:27:14 +00:00
Andrew Nacin 64caad03e7 Remove Prototype and script.aculo.us from core.
Continue to register them, pulling from ajax.googleapis.com. This is only being done for backwards compatibility;
libraries in use will continue to be local sources.

In the process, update to the latest versions of Prototype (1.7.1, June 5) and script.aculo.us (1.9.0, from 2010).

props helenyhou.
fixes #21661, #16664, #16665.



git-svn-id: https://develop.svn.wordpress.org/trunk@21593 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-23 00:51:08 +00:00
Andrew Nacin db981a3b27 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: https://develop.svn.wordpress.org/trunk@21592 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-23 00:04:18 +00:00
Daryl Koopersmith a4cc64d712 Please welcome Underscore.js and Backbone.js to core. fixes #21664.
git-svn-id: https://develop.svn.wordpress.org/trunk@21591 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-22 22:24:20 +00:00
Ryan Boren 5e642a211d jQuery 1.8.0 and jQuery UI 1.8.23. Props c3mdigital. see #21532
git-svn-id: https://develop.svn.wordpress.org/trunk@21590 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-22 21:20:15 +00:00
Dion Hulse 2c0adebab9 Fix the plupload script enqueue, props SergeyBiryukov, Fixes #21467. See #20683.
git-svn-id: https://develop.svn.wordpress.org/trunk@21421 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-05 12:16:16 +00:00
Andrew Nacin b57365f7ff If a plugin triggers the WP_Scripts constructor prior to init, fire wp_default_scripts()
then and again on init.

Only add our localized strings once we've fired init, in case we do have the situation
where we fire wp_default_scripts() twice.

Fixes issues where plugins or themes try to enqueue a default script handle prior to
init. Does not allow #19959 to regress.

see #20971 for trunk.



git-svn-id: https://develop.svn.wordpress.org/trunk@21132 602fd350-edb4-49c9-b593-d223f7449a82
2012-06-26 05:33:19 +00:00
Ryan Boren ab8deebae3 Customizer: Gravefully handle cookie expipration. Prompt for log in in the preview. Props ocean90, koopersmith, nacin. fixes #20876
git-svn-id: https://develop.svn.wordpress.org/trunk@21031 602fd350-edb4-49c9-b593-d223f7449a82
2012-06-08 19:22:11 +00:00
Andrew Nacin 245b0655d2 Remove user/site suggestions (autocompletion) from search inputs, as the UX isn't proper.
* Removes all instances of site-search, so away it goes. Sidesteps a number of bugs with site-search.
 * Renames user-search to user-suggest, which means it better describes the current behavior (autocompletion) while allowing for future behavior (instant search).
 * Ties user suggestions to a single .wp-suggest-user class.

with help from markjaquith, helenyhou, wonderboymusic. 
fixes #20835.



git-svn-id: https://develop.svn.wordpress.org/trunk@21003 602fd350-edb4-49c9-b593-d223f7449a82
2012-06-05 18:51:33 +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
Daryl Koopersmith d49df83c8c Theme Customizer: Improve activate and publish flow, make customizer states easier to track. fixes #20743, see #19910.
git-svn-id: https://develop.svn.wordpress.org/trunk@20899 602fd350-edb4-49c9-b593-d223f7449a82
2012-05-25 17:42:06 +00:00
Ryan Boren 34e5357ab9 "Save & Activate" for customize controls localization. see #20692 #19910
git-svn-id: https://develop.svn.wordpress.org/trunk@20878 602fd350-edb4-49c9-b593-d223f7449a82
2012-05-24 15:20:33 +00:00
Daryl Koopersmith 5c77fcc30b Theme Customizer: Properly change state when theme is switched. fixes #20610, see #19910.
* Causes the Manage Themes page to refresh if the customizer is closed after the active theme is switched.
* Changes the text of the 'Save and Activate' button once the theme has been activated.
* Improves the naming of the customize control settings.
* Add events to customize.Loader and make callbacks more flexible.
* Makes the customize-loader l10n compatible with non-admin settings.
* Adds WP_Customize->is_current_theme_active().
* Minor style corrections, including jQuery.attr/prop changes.



git-svn-id: https://develop.svn.wordpress.org/trunk@20802 602fd350-edb4-49c9-b593-d223f7449a82
2012-05-16 05:55:54 +00:00
Andrew Nacin e531502231 Add version numbers to Plupload in the script-loader.
git-svn-id: https://develop.svn.wordpress.org/trunk@20732 602fd350-edb4-49c9-b593-d223f7449a82
2012-05-07 04:43:30 +00:00
Andrew Ozz b8c71ce2ad Update jQuery UI version strings in script-loader, props niallkennedy, fixes #20611
git-svn-id: https://develop.svn.wordpress.org/trunk@20721 602fd350-edb4-49c9-b593-d223f7449a82
2012-05-04 01:11:28 +00:00
Andrew Nacin 3cd8e8300f Update jQuery imgAreaSelect plugin to 0.9.8. props ocean90. fixes #19881.
git-svn-id: https://develop.svn.wordpress.org/trunk@20602 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-25 21:49:57 +00:00
Andrew Nacin 9cd594ef4f Remove touch-punch.dev.js, as .js is appropriate for an external, unmodified script. see #20014.
git-svn-id: https://develop.svn.wordpress.org/trunk@20599 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-25 21:17:55 +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
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
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
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
Daryl Koopersmith 6685c0fd9d Theme Customizer: RTL styles. props ocean90. see #19910.
git-svn-id: https://develop.svn.wordpress.org/trunk@20456 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-12 21:53:19 +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
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
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
Ryan Boren 485e7bc261 Allow selecting custom header and background images from the media library. Props aaroncampbell, sabreuse, greuben. fixes #19840
git-svn-id: https://develop.svn.wordpress.org/trunk@20358 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-05 00:20:28 +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
Andrew Ozz 790f4e47f9 Rename back the handle for the editor CSS, props nacin, fixes #19843
git-svn-id: https://develop.svn.wordpress.org/trunk@20334 602fd350-edb4-49c9-b593-d223f7449a82
2012-03-31 16:32:47 +00:00
Andrew Nacin f0a12b86ea Move editor-buttons.css to editor.css to reflect its current use. see #19843.
git-svn-id: https://develop.svn.wordpress.org/trunk@20283 602fd350-edb4-49c9-b593-d223f7449a82
2012-03-24 13:43:52 +00:00
Mark Jaquith 461e24643c Autocomplete site names in Network Admin. More user completion areas. props Japh, DrewAPicture. see #19810.
git-svn-id: https://develop.svn.wordpress.org/trunk@20279 602fd350-edb4-49c9-b593-d223f7449a82
2012-03-24 04:54:58 +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
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
Ryan Boren 7df5a5294d Introduce jQuery Masonry. Use it to arrange header thumbnails on custom header screen. Props aaroncampbell. fixes #17242
git-svn-id: https://develop.svn.wordpress.org/trunk@20060 602fd350-edb4-49c9-b593-d223f7449a82
2012-03-01 18:57:28 +00:00
Daryl Koopersmith 9f29c06954 Introduce new theme customizer to replace theme preview. Rough first pass. props koopersmith, ocean90. see #19910.
Merges in http://plugins.svn.wordpress.org/gandalf/branches/dev/ rev 510148.

git-svn-id: https://develop.svn.wordpress.org/trunk@19995 602fd350-edb4-49c9-b593-d223f7449a82
2012-02-25 04:12:43 +00:00
Andrew Nacin eecaca2457 Add jQuery postMessage v 0.2. Dual licensed MIT/GPL. see #19910.
git-svn-id: https://develop.svn.wordpress.org/trunk@19992 602fd350-edb4-49c9-b593-d223f7449a82
2012-02-25 02:04:17 +00:00
Andrew Nacin f5e87e48af Allow counting by characters in lieu of a word count, for East Asian languages. First pass. see #8759.
git-svn-id: https://develop.svn.wordpress.org/trunk@19966 602fd350-edb4-49c9-b593-d223f7449a82
2012-02-21 15:35:05 +00:00
Mark Jaquith 54ab38d9ed Autocomplete for add-user screens in multisite. props boonebgorges, Japh, DrewAPicture, PeteMall, nacin, koopersmith, markjaquith. see #19810.
git-svn-id: https://develop.svn.wordpress.org/trunk@19897 602fd350-edb4-49c9-b593-d223f7449a82
2012-02-10 08:45:17 +00:00
Andrew Nacin 092808ead8 Allow localized commas to be used as tag separators. see #7897.
git-svn-id: https://develop.svn.wordpress.org/trunk@19853 602fd350-edb4-49c9-b593-d223f7449a82
2012-02-07 18:06:12 +00:00
Andrew Nacin ddf13f09d1 This format isn't that strange.
git-svn-id: https://develop.svn.wordpress.org/trunk@19688 602fd350-edb4-49c9-b593-d223f7449a82
2012-01-05 20:59:30 +00:00
Ryan Boren f1ec82c3a7 Update some @since. Props dgwyer. fixes #19638
git-svn-id: https://develop.svn.wordpress.org/trunk@19673 602fd350-edb4-49c9-b593-d223f7449a82
2012-01-04 19:03:33 +00:00
Andrew Nacin 91c8097b3a Remove individual version numbers for core scripts and styles. Fall back to the WP version (well, that already happens). $wp_version should now be bumped (and soon will occur automatically). see #19592.
git-svn-id: https://develop.svn.wordpress.org/trunk@19621 602fd350-edb4-49c9-b593-d223f7449a82
2011-12-21 05:40:09 +00:00
Andrew Nacin 660ee2f9a0 Bump.
git-svn-id: https://develop.svn.wordpress.org/trunk@19606 602fd350-edb4-49c9-b593-d223f7449a82
2011-12-20 20:57:46 +00:00
Andrew Nacin 8f50557a1b Hover state for the Add New admin bar icon. props johnjamesjacoby. fixes #19475.
git-svn-id: https://develop.svn.wordpress.org/trunk@19578 602fd350-edb4-49c9-b593-d223f7449a82
2011-12-09 19:20:47 +00:00
Ryan Boren fd6da21752 RTL fixes for the about page. Props helenyhou, SergeyBiryukov. fixes #19477
git-svn-id: https://develop.svn.wordpress.org/trunk@19575 602fd350-edb4-49c9-b593-d223f7449a82
2011-12-08 22:50:17 +00:00
Andrew Ozz 1e9cdbab06 Toolbar fix bg color in IE8 & 9 folded search box and IE7 search box size, see #19424
git-svn-id: https://develop.svn.wordpress.org/trunk@19566 602fd350-edb4-49c9-b593-d223f7449a82
2011-12-07 01:18:23 +00:00
Andrew Nacin 194efdce56 Compress and bump colors.
git-svn-id: https://develop.svn.wordpress.org/trunk@19565 602fd350-edb4-49c9-b593-d223f7449a82
2011-12-07 01:06:02 +00:00
Andrew Ozz 0c987903ca Fix position of icons in Opera RTL, see #19424
git-svn-id: https://develop.svn.wordpress.org/trunk@19561 602fd350-edb4-49c9-b593-d223f7449a82
2011-12-06 22:37:28 +00:00
Andrew Nacin 4f52e31eb0 Copy xit.gif to wp-includes/images for work with pointers CSS. fixes #19441.
git-svn-id: https://develop.svn.wordpress.org/trunk@19557 602fd350-edb4-49c9-b593-d223f7449a82
2011-12-06 02:39:53 +00:00
Ryan Boren f4e523da79 Add missing comma to selector. Props nacin. fixes #19436
git-svn-id: https://develop.svn.wordpress.org/trunk@19553 602fd350-edb4-49c9-b593-d223f7449a82
2011-12-05 20:56:45 +00:00
Ryan Boren bfbe65d2b1 Remove separator from appearance group. Props koopersmith. fixes #19351
git-svn-id: https://develop.svn.wordpress.org/trunk@19550 602fd350-edb4-49c9-b593-d223f7449a82
2011-12-05 20:49:51 +00:00
Andrew Ozz 9a25719b36 Make the Add new Category fields up to 260px wide, fixes #19339
git-svn-id: https://develop.svn.wordpress.org/trunk@19546 602fd350-edb4-49c9-b593-d223f7449a82
2011-12-02 21:49:37 +00:00
Andrew Nacin 9d6b2c72a4 Don't restrict width of the Parent Taxonomy dropdown. props jgadbois, fixes #19339.
git-svn-id: https://develop.svn.wordpress.org/trunk@19544 602fd350-edb4-49c9-b593-d223f7449a82
2011-12-02 20:32:45 +00:00
Andrew Nacin bbfbdeaad0 CSS for the about.php point release changelog. props chexee, fixes #19346.
git-svn-id: https://develop.svn.wordpress.org/trunk@19542 602fd350-edb4-49c9-b593-d223f7449a82
2011-12-02 17:21:24 +00:00
Andrew Nacin ace5cce282 Admin bar styling: Ensure text next to icon stays visible on focus when jQuery is not loaded. props koopersmith, linuxologos, fixes #19410.
git-svn-id: https://develop.svn.wordpress.org/trunk@19540 602fd350-edb4-49c9-b593-d223f7449a82
2011-12-02 17:15:02 +00:00
Daryl Koopersmith c6003cf37b In toolbar, move search item to the right of the account menu and make it icon-only. fixes #19370, #19406.
git-svn-id: https://develop.svn.wordpress.org/trunk@19518 602fd350-edb4-49c9-b593-d223f7449a82
2011-12-01 03:03:12 +00:00
Daryl Koopersmith c47ea8d881 Update icons in toolbar: WP logo, comments, update, add new. props empireoflight, JohnONolan, fixes #19404.
git-svn-id: https://develop.svn.wordpress.org/trunk@19516 602fd350-edb4-49c9-b593-d223f7449a82
2011-12-01 02:53:44 +00:00
Andrew Ozz 70dadbd5e8 When tabbing: on Enter open the current submenu and close other submenus if open, see #19394
git-svn-id: https://develop.svn.wordpress.org/trunk@19505 602fd350-edb4-49c9-b593-d223f7449a82
2011-12-01 00:43:18 +00:00
Daryl Koopersmith cc83fb57bc Begin to generalize toolbar icon CSS. see #19404.
git-svn-id: https://develop.svn.wordpress.org/trunk@19500 602fd350-edb4-49c9-b593-d223f7449a82
2011-12-01 00:16:17 +00:00
Daryl Koopersmith 1e4740ae48 Optimize about pages for a lovely 960px semi-fluid grid. props helenyhou, fixes #19386.
git-svn-id: https://develop.svn.wordpress.org/trunk@19495 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-30 21:19:39 +00:00
Andrew Ozz 291a5ed05b Fix css selectors mismatch in Press This, see #19341
git-svn-id: https://develop.svn.wordpress.org/trunk@19492 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-30 17:51:34 +00:00
Andrew Nacin e729204a30 Remove margin from h3's in press this. fixes #19341.
git-svn-id: https://develop.svn.wordpress.org/trunk@19491 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-30 16:44:36 +00:00
Andrew Ozz 2ea24cca39 When the submenu is too long to fit on the screen, place the top if it under the admin bar (the rest is scrollable with a wheel mouse), fixes #19323
git-svn-id: https://develop.svn.wordpress.org/trunk@19487 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-30 03:37:15 +00:00
Andrew Ozz f7dbae661c Add tabbing JS to the admin menu, same functionality as the top menu, see #19394
git-svn-id: https://develop.svn.wordpress.org/trunk@19485 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-30 02:15:24 +00:00
Andrew Ozz 83aa770282 Fix the tabbing JS to work as described in the W3 ARIA draft: Tab to select, Enter to show submenu, Esc to close submenu, return to top menu and focus it. See #19394
git-svn-id: https://develop.svn.wordpress.org/trunk@19483 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-30 01:21:38 +00:00
Daryl Koopersmith dfc7eb6125 Don't open a pointer when the target element is hidden. fixes #19357.
git-svn-id: https://develop.svn.wordpress.org/trunk@19482 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-29 19:43:24 +00:00
Andrew Nacin 3118dd18d7 Call preventDefault() on pointer 'Dismiss'. props SergeyBiryukov, johnbillion, fixes #19361.
git-svn-id: https://develop.svn.wordpress.org/trunk@19481 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-29 18:56:13 +00:00
Daryl Koopersmith 666e76c5dc Prevent misshapen background from appearing when admin-bar user info item is focused. props duck_, fixes #19356.
git-svn-id: https://develop.svn.wordpress.org/trunk@19480 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-29 18:49:30 +00:00
Daryl Koopersmith cb67dee04e Optimize about screen for 960px width. props chexee, fixes #19386.
git-svn-id: https://develop.svn.wordpress.org/trunk@19479 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-29 18:40:34 +00:00
Andrew Nacin e455e2691b Fix tags suggest for bulk edit, for post_type post and taxonomy post_tag. Address all non-hierarchical taxonomies in 3.4. fixes #19716, props scottbasgaard.
git-svn-id: https://develop.svn.wordpress.org/trunk@19478 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-29 18:25:49 +00:00
Andrew Ozz b8a1940ac7 Prevent error in autosave for CPTs without title or editor, props sorich87, fixes #18227
git-svn-id: https://develop.svn.wordpress.org/trunk@19476 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-29 18:06:56 +00:00
Andrew Nacin 447d1d7b96 Don't open a pointer when the target element is hidden. see #19357.
git-svn-id: https://develop.svn.wordpress.org/trunk@19467 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-28 17:50:49 +00:00
Andrew Nacin 2c62b87783 RTL for 'Dismiss' on the welcome panel. props rasheed, SergeyBiryukov, fixes #19376.
git-svn-id: https://develop.svn.wordpress.org/trunk@19465 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-28 16:47:11 +00:00
Andrew Nacin 9ec00c3d9f preventDefault() for link popup 'Cancel'. props ocean90, SergeyBiryukov, fixes #19369.
git-svn-id: https://develop.svn.wordpress.org/trunk@19460 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-28 16:37:46 +00:00