Andrew Nacin
d0e4753aef
Widgets: Add click-to-add widgets to the bottom (not top) of the target sidebar.
...
fixes #25821 .
Built from https://develop.svn.wordpress.org/trunk@26696
git-svn-id: http://core.svn.wordpress.org/trunk@26586 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-05 22:27:11 +00:00
Andrew Nacin
b8882b3511
Widgets: Only scroll to the newly clicked-and-added widget if it is out of the viewport.
...
props shaunandrews.
see #25821 .
Built from https://develop.svn.wordpress.org/trunk@26695
git-svn-id: http://core.svn.wordpress.org/trunk@26585 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-05 22:22:11 +00:00
Andrew Nacin
0617feaa30
Final SVG painter fixes.
...
* wp.svgPainter and now moved to wp-admin.
* Restore !important background-image handling.
* Delay executing the IE9-specific base64 code if we don't need it.
* Make painted icons lose their color after hover at the same speed as dashicons (100ms).
props azaozz.
fixes #26333 .
Built from https://develop.svn.wordpress.org/trunk@26693
git-svn-id: http://core.svn.wordpress.org/trunk@26583 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-05 22:01:10 +00:00
Andrew Nacin
e509a66071
Themes: Only show author names during a search if it matches 3 or more characters.
...
props matveb.
fixes #26422 .
Built from https://develop.svn.wordpress.org/trunk@26686
git-svn-id: http://core.svn.wordpress.org/trunk@26576 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-05 19:57:11 +00:00
Andrew Nacin
462d342de1
Themes: when initiating a search, avoid triggering a reset event when it's not necessary.
...
props matveb.
fixes #26434 .
Built from https://develop.svn.wordpress.org/trunk@26685
git-svn-id: http://core.svn.wordpress.org/trunk@26575 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-05 19:15:11 +00:00
Andrew Nacin
21d946cf52
Define globals and add semicolons to wp-fullscreen.js.
...
`grunt jshint` now runs clean for WordPress core!
props mattwiebe.
fixes #26029 .
Built from https://develop.svn.wordpress.org/trunk@26667
git-svn-id: http://core.svn.wordpress.org/trunk@26557 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-05 16:05:11 +00:00
Andrew Nacin
11715a29b8
Themes: Disable collapse actions when showing only a single theme; improve the responsive layout.
...
props matveb.
fixes #25962 .
Built from https://develop.svn.wordpress.org/trunk@26660
git-svn-id: http://core.svn.wordpress.org/trunk@26550 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-05 04:57:10 +00:00
Andrew Nacin
a56aa77d67
Themes: When only one theme is available, show just the details view.
...
Only one theme may be available when no other themes are allowed (multisite), no other themes are installed, or when the user is denied the switch_themes capability but still has edit_theme_options.
props matveb, markjaquith.
see #25962 .
Built from https://develop.svn.wordpress.org/trunk@26652
git-svn-id: http://core.svn.wordpress.org/trunk@26542 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-05 00:16:10 +00:00
Andrew Ozz
b0a9fb217a
Widgets: on clicking Add, don't move the chooser out of the widget early as that makes is visible at the bottom of the screen. Remove the cloned copy of it instead. Part-props jeremyfelt, fixes #26417 .
...
Built from https://develop.svn.wordpress.org/trunk@26651
git-svn-id: http://core.svn.wordpress.org/trunk@26541 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-05 00:02:11 +00:00
Andrew Ozz
1ae48b7644
DFW: don't block the "keyup" event, fixes toggling the checkbox in the Link dialog with the spacebar. Fixes #25934 .
...
Built from https://develop.svn.wordpress.org/trunk@26649
git-svn-id: http://core.svn.wordpress.org/trunk@26539 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-04 23:51:10 +00:00
Andrew Nacin
e6f229c29b
Pinking shears. see #26086 props atimmer.
...
Built from https://develop.svn.wordpress.org/trunk@26627
git-svn-id: http://core.svn.wordpress.org/trunk@26517 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-04 19:34:09 +00:00
Andrew Nacin
7ac1f7916f
Return some semicolons. fixes #25594 .
...
Built from https://develop.svn.wordpress.org/trunk@26623
git-svn-id: http://core.svn.wordpress.org/trunk@26513 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-04 19:08:10 +00:00
Andrew Nacin
bfc16271ca
Nav Menus: Delegate click events for move links.
...
props ankit.gade.
fixes #25594 .
Built from https://develop.svn.wordpress.org/trunk@26613
git-svn-id: http://core.svn.wordpress.org/trunk@26503 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-04 17:10:11 +00:00
Andrew Ozz
e6dd5fbf48
Svg-painter:
...
- Clean up the JS, better names, etc.
- Convert the base64 encode/decode code from jQuery plugin to local use.
- Add missing icon colors for the default theme.
- Make it more error-proof.
Fixes #26333 .
Built from https://develop.svn.wordpress.org/trunk@26601
git-svn-id: http://core.svn.wordpress.org/trunk@26491 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-04 04:13:11 +00:00
Helen Hou-Sandí
1a3a45dcef
Auto-resize the Quick Draft textarea. props lessbloat, markjaquith, helen. fixes #26053 .
...
Built from https://develop.svn.wordpress.org/trunk@26564
git-svn-id: http://core.svn.wordpress.org/trunk@26455 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-03 17:35:09 +00:00
Andrew Ozz
fda55bd33b
Comments moderation screen:
...
- Don't resize the textarea when replying to long comments.
- Limit the resizing of the textarea when quick-editing long comments to 500px.
Props SergeyBiryukov, fixes #25746 .
Built from https://develop.svn.wordpress.org/trunk@26550
git-svn-id: http://core.svn.wordpress.org/trunk@26442 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-03 00:55:10 +00:00
Andrew Ozz
0f20e57329
Heartbeat:
...
- Bring back heartbeat.interval().
- Rename wp_disable_heartbeat_suspend() to wp_heartbeat_set_suspension().
- Rename the option for disabling suspension from options.suspend to options.suspension.
Fixes #25073 .
Built from https://develop.svn.wordpress.org/trunk@26549
git-svn-id: http://core.svn.wordpress.org/trunk@26441 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-03 00:45:10 +00:00
Andrew Nacin
710803793b
Simplify the color scheme profile saving JS. see #25858 .
...
Built from https://develop.svn.wordpress.org/trunk@26535
git-svn-id: http://core.svn.wordpress.org/trunk@26427 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-02 19:45:10 +00:00
Dion Hulse
c054cdad32
Themes: Bail if the search term matches the currently rendered themes, Fixes the events being clobbered. Props jblz. Fixes #26347
...
Built from https://develop.svn.wordpress.org/trunk@26521
git-svn-id: http://core.svn.wordpress.org/trunk@26414 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-02 07:16:10 +00:00
Dion Hulse
4829e81966
Themes: Make the Theme Detail view div use more of the available viewport, Fix the Header and Footer in the viewport and only scroll the theme details, Prefix some more theme CSS classes. Props shaunandrews for the initial viewport patch. Fixes #25961 , #26192
...
Built from https://develop.svn.wordpress.org/trunk@26519
git-svn-id: http://core.svn.wordpress.org/trunk@26412 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-02 07:12:09 +00:00
Andrew Ozz
830bcf9957
Make the responsive menu usable with a mouse, fix non-folded and :focus styles, toggle the submenus on touchend/click. Fixes #26086 .
...
Built from https://develop.svn.wordpress.org/trunk@26516
git-svn-id: http://core.svn.wordpress.org/trunk@26409 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-02 03:19:11 +00:00
Dion Hulse
f1f6cec5e8
Themes: For searches, replace the document hash, don't add a new history event for each keypress. See #25948
...
Built from https://develop.svn.wordpress.org/trunk@26515
git-svn-id: http://core.svn.wordpress.org/trunk@26408 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-02 01:51:09 +00:00
Dion Hulse
527efd828c
Themes: We no longer have a delete link on the multi-grid view. See #25948
...
Built from https://develop.svn.wordpress.org/trunk@26514
git-svn-id: http://core.svn.wordpress.org/trunk@26407 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-02 00:55:09 +00:00
Dion Hulse
707eca46ab
Themes: Fix the routing for Themes in a sub-directory (/wp-content/themes/prefix/theme-name/style.css) and navigate to hash-url's for searches. See #25948
...
Built from https://develop.svn.wordpress.org/trunk@26513
git-svn-id: http://core.svn.wordpress.org/trunk@26406 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-02 00:48:09 +00:00
Andrew Ozz
a6ac0bea23
Improve the admin color scheme picker:
...
- Easier to extend.
- Remove the "drop-down" look, show all choices inline.
- Some PHP and JS cleanup.
Props ryelle, fixes #26336 .
Built from https://develop.svn.wordpress.org/trunk@26506
git-svn-id: http://core.svn.wordpress.org/trunk@26400 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-01 19:50:09 +00:00
Dion Hulse
d37d97c9c0
Themes: In the detailed view, disable the next/previous buttons when there are no more items. Fixes #26314
...
Built from https://develop.svn.wordpress.org/trunk@26498
git-svn-id: http://core.svn.wordpress.org/trunk@26392 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-01 05:59:11 +00:00
Dominik Schilling
4d3fd06160
Themes: Add type="search" to search. fixes #26331 .
...
Built from https://develop.svn.wordpress.org/trunk@26481
git-svn-id: http://core.svn.wordpress.org/trunk@26378 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-29 22:20:10 +00:00
Dominik Schilling
326bb3dfea
Themes: Search the description too.
...
props dd32.
fixes #26309 .
Built from https://develop.svn.wordpress.org/trunk@26480
git-svn-id: http://core.svn.wordpress.org/trunk@26377 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-29 22:18:10 +00:00
Andrew Ozz
04d8ac5830
Widgets: highlight all drop zones (open and closed sidebars) on starting to drag a widget to indicate "droppability", fixes #26168 .
...
Built from https://develop.svn.wordpress.org/trunk@26474
git-svn-id: http://core.svn.wordpress.org/trunk@26372 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-29 17:58:10 +00:00
Dion Hulse
1a8b4dfced
Themes: Add a clearing <br/> to the end of .theme-browser.
...
This is needed to cause the browser to render .theme-browser's height as it's true height, previously the reported height was 1*.theme which caused the Theme scroller to kick in immediately (as the threshold was less than 0).
See #25981 See #25948
Built from https://develop.svn.wordpress.org/trunk@26468
git-svn-id: http://core.svn.wordpress.org/trunk@26366 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-29 05:17:11 +00:00
Dion Hulse
a2607efe8b
Themes: Use _.throttle() instead of a custom one. Props matveb. Fixes #25981
...
Built from https://develop.svn.wordpress.org/trunk@26467
git-svn-id: http://core.svn.wordpress.org/trunk@26365 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-29 05:14:09 +00:00
Dion Hulse
483824f8fb
Themes: Display Activated/Deleted messages below the H2, before the Themes. See #26305
...
Built from https://develop.svn.wordpress.org/trunk@26461
git-svn-id: http://core.svn.wordpress.org/trunk@26359 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-29 02:40:09 +00:00
Dion Hulse
3e094ca937
Themes: Remove a mp6 reference which is no longer needed. See #25948
...
Built from https://develop.svn.wordpress.org/trunk@26460
git-svn-id: http://core.svn.wordpress.org/trunk@26358 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-29 02:03:10 +00:00
Andrew Ozz
e5b13dfdf3
Dashboard: set containment for postboxes to "document" and give empty sortables some min-height so postboxes can be dropped there. Props lessbloat, fixes #26026 .
...
Built from https://develop.svn.wordpress.org/trunk@26429
git-svn-id: http://core.svn.wordpress.org/trunk@26329 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-27 02:03:10 +00:00
Andrew Ozz
29af7b55f3
Widgets: remove leftover debug bits and fix jshint warnings in widgets.js, see #25952 .
...
Built from https://develop.svn.wordpress.org/trunk@26427
git-svn-id: http://core.svn.wordpress.org/trunk@26327 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-27 01:42:09 +00:00
Andrew Ozz
f46e743343
Widgets: drop onto closed sidebars.
...
- Make dropping a widget easier by preventing the source sidebar from resizing while the widget is being dragged.
- Move widgets dropped on closed sidebars to the top. UI Sortable places them randomly near the bottom.
- Fix possible regression in wp_list_widget_controls(), add an optional argument to output the sidebar name inside the sortable container.
- Updated styles for sidebar description and widget-hover class.
Part props shaunandrews, fixes #25952 .
Built from https://develop.svn.wordpress.org/trunk@26426
git-svn-id: http://core.svn.wordpress.org/trunk@26326 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-27 01:30:10 +00:00
Sergey Biryukov
49a0254863
Fix the ability to save changes made to an image.
...
props markoheijnen.
fixes #26000 .
Built from https://develop.svn.wordpress.org/trunk@26425
git-svn-id: http://core.svn.wordpress.org/trunk@26325 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-26 23:31:10 +00:00
Andrew Ozz
758a07bfd3
Remove cloning of the search box with JS and move it to the bottom of the screen with CSS instead, see #26086
...
Built from https://develop.svn.wordpress.org/trunk@26421
git-svn-id: http://core.svn.wordpress.org/trunk@26321 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-26 22:19:14 +00:00
Andrew Ozz
b8984636c2
Clean up the sticky menu and responsive tweaks JS:
...
- More descriptive names.
- Share cached jQuery elements.
- Fix re-enabling of touch events on the admin menu.
- Fix disabling/enabling of UI Sortable.
Props tollmanz, props sanchothefat, see #26086 , fixes #26088 .
Built from https://develop.svn.wordpress.org/trunk@26402
git-svn-id: http://core.svn.wordpress.org/trunk@26302 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-26 08:57:10 +00:00
Helen Hou-Sandí
2c9af1367e
Dashboard columns:
...
* Improve responsive breakpoints for.
* Remove obsolete network admin option.
* Remove unnecessary JS.
props SergeyBiryukov, kraftbj, lessbloat. fixes #26074 .
Built from https://develop.svn.wordpress.org/trunk@26392
git-svn-id: http://core.svn.wordpress.org/trunk@26292 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-26 05:09:10 +00:00
Helen Hou-Sandí
e911c4272a
Dashboard JS cleanup. props kadamwhite, helen. see #25824 .
...
Built from https://develop.svn.wordpress.org/trunk@26390
git-svn-id: http://core.svn.wordpress.org/trunk@26290 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-26 04:38:09 +00:00
Helen Hou-Sandí
f9469c921d
Contain Dashboard widget dragging. props lessbloat. fixes #26026 .
...
Built from https://develop.svn.wordpress.org/trunk@26372
git-svn-id: http://core.svn.wordpress.org/trunk@26272 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-26 00:55:09 +00:00
Andrew Ozz
c944323a4f
Widgets:
...
- Don't deactivate "draggable" on the widget when the chooser is open. Makes it possible to still drag the "widget-in-question".
- Change the chooser's HTML id to a class to avoid collisions when cloning.
- Refresh the "sortable" positions when an open widget is dragged. Fixes problems moving the widget up or down in the same sidebar.
See #25821
Built from https://develop.svn.wordpress.org/trunk@26366
git-svn-id: http://core.svn.wordpress.org/trunk@26267 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-24 22:07:10 +00:00
Dominik Schilling
304e3aaa21
Update the Iris color picker to version 1.0.4, which fixes a jQuery-UI CSS conflict.
...
props mattheu, mattwiebe.
fixes #26097 .
Built from https://develop.svn.wordpress.org/trunk@26334
git-svn-id: http://core.svn.wordpress.org/trunk@26236 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-23 12:01:11 +00:00
Sergey Biryukov
8d5b038aa1
Fix thickbox positioning on Manage Themes screen. Adjust thickbox resizing code on various screens for new toolbar height.
...
see #26078 . fixes #26140 .
Built from https://develop.svn.wordpress.org/trunk@26323
git-svn-id: http://core.svn.wordpress.org/trunk@26226 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-22 08:06:09 +00:00
Dion Hulse
f392843074
Theme Installer: Fix the Theme Preview function, and bring the button handling/styling inline with the Customizer. Fixes #26129
...
Built from https://develop.svn.wordpress.org/trunk@26317
git-svn-id: http://core.svn.wordpress.org/trunk@26221 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-22 04:03:10 +00:00
Andrew Ozz
1aa122be5e
Widgets:
...
- Prevent dragging of the widget-in-question when the chooser is open.
- Don't show more than one spinner when saving widgets positions.
- Disable selecting of text in the widget title. Prevents selecting/highlighting most of the screen when dragging on slower devices.
See #25821 .
Built from https://develop.svn.wordpress.org/trunk@26306
git-svn-id: http://core.svn.wordpress.org/trunk@26210 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-21 19:28:10 +00:00
Sergey Biryukov
129aec7174
Use correct variable. props wet. fixes #26139 .
...
Built from https://develop.svn.wordpress.org/trunk@26303
git-svn-id: http://core.svn.wordpress.org/trunk@26208 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-21 09:46:10 +00:00
Sergey Biryukov
701cd7bf86
Fix JSHint errors in image-edit.js.
...
props dougwollison.
fixes #26000 .
Built from https://develop.svn.wordpress.org/trunk@26292
git-svn-id: http://core.svn.wordpress.org/trunk@26197 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-20 22:47:10 +00:00
Andrew Nacin
4f08cf2efa
Dash cleanup.
...
* Use wp_add_dashboard_widget() rather than add_meta_box().
* Use original functions like wp_dashboard_primary(), wp_dashboard_right_now(), wp_dashboard_quick_press() (where possible).
* Only include plugins section of the news widget when appropriate, which necessitates the set_current_screen() via the ajax action.
* Remove some debug cruft that was preventing caching and invalidation.
* Simplify lots of things where possible.
see #25824 .
Built from https://develop.svn.wordpress.org/trunk@26291
git-svn-id: http://core.svn.wordpress.org/trunk@26196 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-20 19:44:12 +00:00