Commit Graph

1650 Commits

Author SHA1 Message Date
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
Andrew Ozz 6bb6916409 Admin bar: change the tabbing to behave as if the admin bar menus were click-to-open (Tab to select, Enter to open/close), fixes #19088
git-svn-id: https://develop.svn.wordpress.org/trunk@19458 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-28 00:31:11 +00:00
Andrew Ozz 1eaf098637 Few more RTL and IE7 fixes, see #19042
git-svn-id: https://develop.svn.wordpress.org/trunk@19446 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-24 00:40:31 +00:00
Dion Hulse d70ddc49f9 Switch to sanitize_title_for_query() for Query sanitization (allows for pre-3.3 page slugs to be viewable), Don't update page slugs to new slug-types when the slug is not being changed, Don't issue a XHR if the page slug hasn't changed. Group effort props xknown, markjaquith, nacin. See #19292
git-svn-id: https://develop.svn.wordpress.org/trunk@19444 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-24 00:20:21 +00:00
Daryl Koopersmith 073e1df1f0 Remove help tab from credits page, tweak about page CSS. props chexee, see #18742.
git-svn-id: https://develop.svn.wordpress.org/trunk@19443 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-23 23:49:33 +00:00
Andrew Ozz 32e46ee3b1 Tweak the active help tab padding to line it up, see #19020
git-svn-id: https://develop.svn.wordpress.org/trunk@19440 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-23 23:23:05 +00:00
Daryl Koopersmith 02ff30d4e5 In expanded admin menus, block the shadow when hovering over a childless item. see #18382.
git-svn-id: https://develop.svn.wordpress.org/trunk@19439 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-23 23:19:12 +00:00
Daryl Koopersmith dbe3d24b39 In the collapsed admin menu, retain the arrow when hovering over a childless item. see #18382.
git-svn-id: https://develop.svn.wordpress.org/trunk@19433 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-23 22:50:46 +00:00
Daryl Koopersmith d18820448a   is the new bump.
git-svn-id: https://develop.svn.wordpress.org/trunk@19431 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-23 22:21:15 +00:00
Daryl Koopersmith 3150c3cf4e Remove help sidebar background when no sidebar exists. props chrisbliss18, see #18197, [19361].
git-svn-id: https://develop.svn.wordpress.org/trunk@19430 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-23 22:14:03 +00:00
Daryl Koopersmith 81d35742c3 Allow access to any admin bar menu level by tabbing. fixes #19088.
git-svn-id: https://develop.svn.wordpress.org/trunk@19427 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-23 21:29:33 +00:00
Andrew Ozz ee152e18c9 DOn't show flyouts on tabbing for now (not accessible), fixes #19191
git-svn-id: https://develop.svn.wordpress.org/trunk@19426 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-23 21:17:20 +00:00
Andrew Ozz 79462f00a1 jQuery 1.7.1, fixes #19326
git-svn-id: https://develop.svn.wordpress.org/trunk@19423 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-23 19:36:15 +00:00
Jon Cave fd0985cd65 Fix about.php RTL issues and image vertical alignment. Props chexee. See #18742.
git-svn-id: https://develop.svn.wordpress.org/trunk@19422 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-23 19:23:59 +00:00
Daryl Koopersmith 476f618f40 RTL styles for pointers. props helenyhou, fixes #19335.
git-svn-id: https://develop.svn.wordpress.org/trunk@19419 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-23 18:53:11 +00:00
Andrew Nacin 4d89846637 Change show/hide storage mechanism for show_welcome_panel. 0 = hide, 1 = show, 2 = show if the multisite owner. Make welcome panel dismissable without JS (openable too via the URL). fixes #19338, fixes #19127.
git-svn-id: https://develop.svn.wordpress.org/trunk@19418 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-23 18:30:45 +00:00
Daryl Koopersmith 219f03e83d Center left/right pointer arrows, so arrows appear correctly cross-browser. see #18693.
git-svn-id: https://develop.svn.wordpress.org/trunk@19416 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-23 17:28:16 +00:00
Andrew Ozz ccb56ab0b3 Admin bar: lighter search icon, props chexee, fixes #19151
git-svn-id: https://develop.svn.wordpress.org/trunk@19413 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-22 23:36:58 +00:00
Jon Cave bc671426cb Further tweaks to What's New layout and content. Props chexee. See #18742.
git-svn-id: https://develop.svn.wordpress.org/trunk@19409 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-22 21:47:28 +00:00
Andrew Ozz d75699834b RTL fix for Login screen, props SergeyBiryukov, fixes #19316
git-svn-id: https://develop.svn.wordpress.org/trunk@19404 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-22 20:54:41 +00:00
Daryl Koopersmith d8a471b3ea Tighten admin bar submenu shadows. fixes #19186.
git-svn-id: https://develop.svn.wordpress.org/trunk@19403 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-22 20:52:17 +00:00
Andrew Ozz 7ba3b5df8f Admin bar: min-width same as on admin body, see #81197
git-svn-id: https://develop.svn.wordpress.org/trunk@19401 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-22 18:46:32 +00:00
Jon Cave 045df49a8c Revert r18875. Sorting arrows should be displayed when the screen is too narrow. See #15993.
git-svn-id: https://develop.svn.wordpress.org/trunk@19400 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-22 17:11:06 +00:00
Andrew Nacin 8ab205ada4 Hide admin notices on the about/credits/freedoms screens. props devinreams, fixes #19237.
git-svn-id: https://develop.svn.wordpress.org/trunk@19393 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-22 04:07:34 +00:00
Dion Hulse 03decd1a22 Add some height to the Login button in Chrome/IE. Props SergeyBiryukov. Fixes #19319
git-svn-id: https://develop.svn.wordpress.org/trunk@19392 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-22 03:23:48 +00:00
Daryl Koopersmith cca15369b5 Center the admin bar search item horizontally. see #18197.
git-svn-id: https://develop.svn.wordpress.org/trunk@19391 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-22 01:00:10 +00:00
Andrew Nacin 3a5d241fd5 Make hoverIntent available outside of the admin. fixes #19318.
git-svn-id: https://develop.svn.wordpress.org/trunk@19382 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-21 19:14:22 +00:00
Andrew Ozz 9a9893a87d Help tabs RTL fixes, props helenyhou, see #19042
git-svn-id: https://develop.svn.wordpress.org/trunk@19371 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-21 03:40:56 +00:00
Andrew Ozz ad8536247f Admin bar: re-center the search box, see #81197
git-svn-id: https://develop.svn.wordpress.org/trunk@19370 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-21 03:34:23 +00:00
Andrew Ozz 114083df17 Change the drop target border color, props ocean90, fixes #19298
git-svn-id: https://develop.svn.wordpress.org/trunk@19367 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-20 19:16:35 +00:00
Andrew Nacin a5a82ec053 Undo clever gradient backgrounds for the WP welcome badge. Doesn't degrade well in Android and possibly other browsers. props Chexee, see #11651.
git-svn-id: https://develop.svn.wordpress.org/trunk@19366 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-20 18:59:49 +00:00
Andrew Ozz 569841dc02 Improve RTL for Welcome panel, refresh css files, see #19271
git-svn-id: https://develop.svn.wordpress.org/trunk@19363 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-20 02:10:10 +00:00
Andrew Ozz 50a35b02b6 Fix return value in Plupload when using the html4 runtime, fixes #19302
git-svn-id: https://develop.svn.wordpress.org/trunk@19362 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-20 01:10:50 +00:00
Daryl Koopersmith 2ac5299c17 Help tabs: remove scrollbar and max-height. see #19155.
git-svn-id: https://develop.svn.wordpress.org/trunk@19361 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-20 01:03:17 +00:00
Andrew Ozz 406f5d8f87 Update RTL bullet alignment on New Install Dashboard Welcome Area, props chexee, see #19271
git-svn-id: https://develop.svn.wordpress.org/trunk@19351 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-19 04:33:51 +00:00
Andrew Ozz 4ded511eff Uploader: show the progress bars as soon as files are queued, attempt to make the progress bar more precise, see #19228
git-svn-id: https://develop.svn.wordpress.org/trunk@19346 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-19 03:15:42 +00:00
Andrew Ozz f69b9abfb0 Welcome Screen: remove white space, make the second dismiss link work, see #11651
git-svn-id: https://develop.svn.wordpress.org/trunk@19345 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-19 00:42:22 +00:00
Daryl Koopersmith 8f2769c5dd Center admin menu img icons. props trepmal, fixes #19133.
git-svn-id: https://develop.svn.wordpress.org/trunk@19343 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-19 00:32:15 +00:00
Daryl Koopersmith 8ada86e942 Shift welcome panel columns below WP badge. Improve column grid. props chexee, see #11651.
git-svn-id: https://develop.svn.wordpress.org/trunk@19342 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-18 23:33:11 +00:00
Ryan Boren a320cb7f46 Welcome Screen styling. Props chexee. see #11651
git-svn-id: https://develop.svn.wordpress.org/trunk@19339 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-18 18:58:46 +00:00
Andrew Ozz c68fe3c461 Fix admin bar in iOS5 iPads, props georgestephanis, fixes #18654
git-svn-id: https://develop.svn.wordpress.org/trunk@19338 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-18 17:16:26 +00:00
Andrew Ozz fd354a3d35 Tweak install.php CSS to better fit translations, props SergeyBiryukov, fixes #19281
git-svn-id: https://develop.svn.wordpress.org/trunk@19331 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-18 01:56:50 +00:00
Andrew Ozz 9007ab3e75 When queueing too large files in the multi-file uploader in IE or Opera, show error message and remove the file from the queue, fixes #19228
git-svn-id: https://develop.svn.wordpress.org/trunk@19329 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-18 01:10:25 +00:00
Daryl Koopersmith b9e3cf466a Allow linkless items in the admin bar. Improve non-jQuery admin bar tabbing. fixes #19277, #19149, #19164, #15519. see #18197, #19088.
git-svn-id: https://develop.svn.wordpress.org/trunk@19328 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-18 00:12:57 +00:00
Ryan Boren 67600b73a3 Change Close tab in Welcome Screen to a Dismiss link. Aligh bullets with paragraphs. Props georgestephanis, chexee. fixes #19271
git-svn-id: https://develop.svn.wordpress.org/trunk@19326 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-17 20:48:40 +00:00
Daryl Koopersmith 914a945108 Add reset CSS (clear) to the admin bar. props scribu. fixes #19260, see #18179.
git-svn-id: https://develop.svn.wordpress.org/trunk@19320 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-17 16:55:44 +00:00
Andrew Ozz 70ad3cf297 mode == 'tmce' || mode == 'tinymce', see #17144
git-svn-id: https://develop.svn.wordpress.org/trunk@19319 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-17 15:50:01 +00:00
Jon Cave 38d61c55ed Thickbox cache busting. Fixes #19240.
git-svn-id: https://develop.svn.wordpress.org/trunk@19318 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-17 12:36:51 +00:00
Andrew Ozz 5c6cebe6a4 Make switchEditors.go() fully back-compat, see #17144
git-svn-id: https://develop.svn.wordpress.org/trunk@19316 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-17 02:44:28 +00:00
Mark Jaquith 9ce7a82a23 Fix various login form and password strength meter CSS issues. fixes #18740. see #19201. props Sergey Biryukov.
git-svn-id: https://develop.svn.wordpress.org/trunk@19313 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-16 21:58:20 +00:00
Andrew Nacin a82a7458bd Allow enter to trigger a new custom link on nav-menus.php. props mattwiebe, fixes #18255.
git-svn-id: https://develop.svn.wordpress.org/trunk@19310 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-16 01:45:11 +00:00
Andrew Ozz 7d663ff161 More RTL fixes, props rosshanney, see #19042
git-svn-id: https://develop.svn.wordpress.org/trunk@19307 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-15 21:58:42 +00:00
Andrew Ozz 1ccfd1739c Workaround for WebKit bug when previewing posts, props SergeyBiryukov, fixes #18341
git-svn-id: https://develop.svn.wordpress.org/trunk@19299 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-15 18:48:55 +00:00
Jon Cave e4ed02d6ae Allow "Approve and Reply" background-color animation to complete on the Dashboard. Props ocean90. Fixes #18349.
git-svn-id: https://develop.svn.wordpress.org/trunk@19298 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-15 17:57:53 +00:00
Andrew Ozz 0b8d97f135 Fix styling for the installation screens, props chexee, fixes #18576
git-svn-id: https://develop.svn.wordpress.org/trunk@19297 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-15 15:47:07 +00:00
Andrew Ozz 5ca57a6fac Prevent errors in QTags.closeAllTags(), make it remove button states but not modify the content (as that often is wrong anyways), fixes #15911
git-svn-id: https://develop.svn.wordpress.org/trunk@19290 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-15 01:15:10 +00:00
Andrew Ozz 3d33362b52 Add big-file-upload-warning for IE and Opera, left-align the percentage in the progress bar, see #19228
git-svn-id: https://develop.svn.wordpress.org/trunk@19286 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-14 23:21:16 +00:00
Daryl Koopersmith 65f2e58900 Fix folded flyout overlaps for current items. props trepmal. fixes #19119.
git-svn-id: https://develop.svn.wordpress.org/trunk@19279 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-14 21:03:14 +00:00
Andrew Nacin b52ab851ec ALIGN ALL THE THINGS. fixes #19242.
git-svn-id: https://develop.svn.wordpress.org/trunk@19278 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-14 20:40:31 +00:00
Daryl Koopersmith 36e585dc7a Fix off-by-one pixel error in folded admin menus. see #18382.
git-svn-id: https://develop.svn.wordpress.org/trunk@19277 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-14 20:10:14 +00:00
Daryl Koopersmith 0ebb52f9a3 More admin bar markup improvements. Make primary and secondary submenu groups siblings (and prevent ul nesting issues). see #18197.
git-svn-id: https://develop.svn.wordpress.org/trunk@19270 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-14 11:05:37 +00:00
Daryl Koopersmith 4bc2fdb619 New pointer styles. Arrows are currently optimized to point upward. props georgestephanis, chexee. see #18693.
git-svn-id: https://develop.svn.wordpress.org/trunk@19269 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-14 10:30:14 +00:00
Andrew Ozz 82f5175bf7 Media Lib: fix displaying file headers in IE7, delegate the Show/Hide JS, prevent displaying upload error for the same file twice, see #19228
git-svn-id: https://develop.svn.wordpress.org/trunk@19268 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-13 18:37:30 +00:00
Andrew Ozz 3e06696012 Add error message when a big file fails to upload, expose the XHR request in plipload and abort() it, see #19228
git-svn-id: https://develop.svn.wordpress.org/trunk@19266 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-13 02:01:13 +00:00
Andrew Ozz 0620dbb5eb Uploader: fix file-size-exceeded error handling, see #18206
git-svn-id: https://develop.svn.wordpress.org/trunk@19262 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-12 00:52:26 +00:00
Daryl Koopersmith 161ee6a46d Improve admin bar markup. Un-nest top level secondary menu. Remove unnecessary span. see #18197.
git-svn-id: https://develop.svn.wordpress.org/trunk@19261 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-12 00:26:55 +00:00
Andrew Ozz 93e5c50ad8 Send the 'wp-remove-post-lock' XHR only when the main window is unloaded (unloading the Thickbox iframe triggers it too), see #18515
git-svn-id: https://develop.svn.wordpress.org/trunk@19258 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-11 19:52:12 +00:00
Andrew Ozz 7334506df0 Bring back the multi-file/html uploader switching, see #19228
git-svn-id: https://develop.svn.wordpress.org/trunk@19257 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-11 19:40:23 +00:00