Commit Graph

1535 Commits

Author SHA1 Message Date
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