Sergey Biryukov
60a28aa61a
Fix the ability to save changes made to an image.
...
props markoheijnen.
fixes #26000 .
git-svn-id: https://develop.svn.wordpress.org/trunk@26425 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-26 23:30:59 +00:00
Andrew Ozz
4ccea9a8f6
Remove cloning of the search box with JS and move it to the bottom of the screen with CSS instead, see #26086
...
git-svn-id: https://develop.svn.wordpress.org/trunk@26421 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-26 22:18:14 +00:00
Andrew Ozz
0329fb83e3
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 .
git-svn-id: https://develop.svn.wordpress.org/trunk@26402 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-26 08:56:11 +00:00
Helen Hou-Sandi
88bd8b4d87
Dashboard columns:
...
* Improve responsive breakpoints for.
* Remove obsolete network admin option.
* Remove unnecessary JS.
props SergeyBiryukov, kraftbj, lessbloat. fixes #26074 .
git-svn-id: https://develop.svn.wordpress.org/trunk@26392 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-26 05:08:37 +00:00
Helen Hou-Sandi
3d55dbb82f
Dashboard JS cleanup. props kadamwhite, helen. see #25824 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@26390 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-26 04:37:27 +00:00
Helen Hou-Sandi
25fd558a75
Contain Dashboard widget dragging. props lessbloat. fixes #26026 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@26372 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-26 00:54:07 +00:00
Andrew Ozz
89d0be9d3d
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
git-svn-id: https://develop.svn.wordpress.org/trunk@26366 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-24 22:06:13 +00:00
Dominik Schilling (ocean90)
e9b0911b2a
Update the Iris color picker to version 1.0.4, which fixes a jQuery-UI CSS conflict.
...
props mattheu, mattwiebe.
fixes #26097 .
git-svn-id: https://develop.svn.wordpress.org/trunk@26334 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-23 12:00:33 +00:00
Sergey Biryukov
2af4da91bb
Fix thickbox positioning on Manage Themes screen. Adjust thickbox resizing code on various screens for new toolbar height.
...
see #26078 . fixes #26140 .
git-svn-id: https://develop.svn.wordpress.org/trunk@26323 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-22 08:05:42 +00:00
Dion Hulse
2388095150
Theme Installer: Fix the Theme Preview function, and bring the button handling/styling inline with the Customizer. Fixes #26129
...
git-svn-id: https://develop.svn.wordpress.org/trunk@26317 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-22 04:02:37 +00:00
Andrew Ozz
3341352a3d
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 .
git-svn-id: https://develop.svn.wordpress.org/trunk@26306 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-21 19:27:47 +00:00
Sergey Biryukov
731d102afb
Use correct variable. props wet. fixes #26139 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@26303 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-21 09:45:22 +00:00
Sergey Biryukov
a25d658720
Fix JSHint errors in image-edit.js.
...
props dougwollison.
fixes #26000 .
git-svn-id: https://develop.svn.wordpress.org/trunk@26292 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-20 22:46:43 +00:00
Andrew Nacin
faee071ac0
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 .
git-svn-id: https://develop.svn.wordpress.org/trunk@26291 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-20 19:43:36 +00:00
Sergey Biryukov
863cec8252
Only show "Add New Theme" block on Manage Themes screen if not Multisite and the user can install themes.
...
props markoheijnen.
see #25948 .
git-svn-id: https://develop.svn.wordpress.org/trunk@26288 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-20 14:08:17 +00:00
Sergey Biryukov
09fa0c09bb
Fix JSHint errors in widgets.js.
...
props jorbin.
fixes #26127 .
git-svn-id: https://develop.svn.wordpress.org/trunk@26287 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-20 11:11:01 +00:00
Andrew Ozz
b31a5258cd
Widgets: split the sidebars in two containers so there are no empty spaces when they are shown in two columns and some are open, other closed. See #25952 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@26285 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-20 04:44:21 +00:00
Andrew Ozz
8da914b9ec
Widgets:
...
- Fix support for expanding (wide) widgets in the Inactive Widgets area.
- Remove resizing of the sidebars height.
- Stop removing unneeded "for" attributes from labels inside the widgets. Was a fix for IE6 odd behaviour.
See #26117 .
git-svn-id: https://develop.svn.wordpress.org/trunk@26277 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-20 01:34:41 +00:00
Andrew Ozz
e45ca7cc89
Widgets:
...
- Remove the !important styles that were overriding the widget width when expanded.
- Fix missing border-bottom from widgets when dragged and expanded.
Props shaunandrews, see #26117 .
git-svn-id: https://develop.svn.wordpress.org/trunk@26275 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-19 23:46:05 +00:00
Andrew Ozz
fdc08a857e
Widgets: move the chooser inside the selected widget so it inherits the width, add some keyboard shortcuts: tab to select, enter to append and escape to cancel. Props shaunandrews, see #25821
...
git-svn-id: https://develop.svn.wordpress.org/trunk@26271 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-19 18:02:14 +00:00
Sergey Biryukov
659b2758ff
Fix JSHint errors in gallery.js.
...
props dougwollison.
fixes #25999 .
git-svn-id: https://develop.svn.wordpress.org/trunk@26269 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-19 11:09:01 +00:00
Andrew Nacin
9cf1790265
Fix JShint errors in user-profile.js.
...
props dougwollison.
fixes #26016 .
git-svn-id: https://develop.svn.wordpress.org/trunk@26266 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-19 04:39:05 +00:00
Andrew Nacin
114e544ffb
JSHint fixes for inline-edit-tax.js.
...
props dougwollison.
fixes #26002 .
git-svn-id: https://develop.svn.wordpress.org/trunk@26265 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-19 04:34:29 +00:00
Andrew Nacin
010fbd7866
JShint fixes for inline-edit-post.js.
...
props dougwollison.
fixes #26001 .
git-svn-id: https://develop.svn.wordpress.org/trunk@26264 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-19 04:31:42 +00:00
Andrew Nacin
7a08bc4b70
JSHint fixes for user-suggest.js.
...
props dougwollison.
fixes #26017 .
git-svn-id: https://develop.svn.wordpress.org/trunk@26238 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-16 20:40:04 +00:00
Sergey Biryukov
9a8ec07996
Fix replacement regex in wp-admin/js/nav-menu.js.
...
props rzen, jeremyfelt.
fixes #26047 .
git-svn-id: https://develop.svn.wordpress.org/trunk@26233 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-16 07:41:01 +00:00
Andrew Nacin
3d0c903bfd
Fix JSHint errors in three files.
...
props tommcfarlin.
fixes #25942 , #25943 , #25944 .
git-svn-id: https://develop.svn.wordpress.org/trunk@26232 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-15 23:18:18 +00:00
Andrew Nacin
f000be8af3
More dash updates.
...
* Shuffle around some pixels.
* Rename some things that weren't caught in [26220].
* Revert default-widgets.php change from [26144].
props lessbloat.
see #25824 .
git-svn-id: https://develop.svn.wordpress.org/trunk@26230 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-15 22:22:43 +00:00
Andrew Ozz
961a2a89e9
JSHint fixes for editor.js. Props dougwollison, fixes #25947
...
git-svn-id: https://develop.svn.wordpress.org/trunk@26224 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-15 21:02:56 +00:00
Andrew Nacin
9a936eb7d0
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 .
git-svn-id: https://develop.svn.wordpress.org/trunk@26220 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-15 20:14:44 +00:00
Andrew Nacin
6597d9d43e
Fix JSHint errors in theme-install.js.
...
props kovshenin.
fixes #26045 .
git-svn-id: https://develop.svn.wordpress.org/trunk@26210 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-15 14:15:39 +00:00
Andrew Nacin
92f9cc1d5f
JSHint fixes for word-count.js and wp-mediaelement.js. see #25187 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@26209 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-15 06:51:23 +00:00
Andrew Nacin
3999d50cea
Residual JSHint fixes in common.js and edit-comments.js.
...
see #25912 , #25979 .
git-svn-id: https://develop.svn.wordpress.org/trunk@26208 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-15 06:36:17 +00:00
Andrew Nacin
0a315a3ff6
Fix JSHint errors in customize-controls.js.
...
props jorbin.
fixes #25917 .
git-svn-id: https://develop.svn.wordpress.org/trunk@26206 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-15 06:07:21 +00:00
Andrew Nacin
1337df1724
Fix JSHint errors in post.js.
...
props atimmer.
fixes #25994 .
git-svn-id: https://develop.svn.wordpress.org/trunk@26204 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-15 05:34:14 +00:00
Andrew Nacin
daf448ae0c
Fix JSHint errors in 5 files.
...
props seanchayes.
fixes #26015 , #26020 , #26019 , #26034 , #26022 .
git-svn-id: https://develop.svn.wordpress.org/trunk@26200 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-15 05:15:06 +00:00
Andrew Nacin
46a5e7a863
Fix JSHint errors in 3 files.
...
props atimmer.
fixes #25990 , #25993 , #26008 .
git-svn-id: https://develop.svn.wordpress.org/trunk@26199 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-15 05:11:10 +00:00
Andrew Nacin
f25abde28f
Fix JSHint errors in tags.js.
...
props atimmer.
fixes #26009 .
git-svn-id: https://develop.svn.wordpress.org/trunk@26198 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-15 05:01:34 +00:00
Andrew Nacin
5a2af56620
Fix JSHint errors in media-upload.js.
...
props iblamefish.
fixes #26023 .
git-svn-id: https://develop.svn.wordpress.org/trunk@26196 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-15 04:52:12 +00:00
Andrew Nacin
c137a8979a
JSHint and coding style fixes for xfn.js.
...
props dougwollison.
fixes #26030 .
git-svn-id: https://develop.svn.wordpress.org/trunk@26174 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-14 21:57:11 +00:00
Andrew Ozz
8dc91f3646
Heartbeat: clean up code style, better naming, better code structure. Props carldanley, props evansolomon.
...
Changes:
- Add connectNow() public method to trigger a connection immediately.
- Remove the "skipping" when no data to send.
- Change the default interval to 60 sec.
- Fix resetting the next connection time when changing the interval.
See #25073 .
git-svn-id: https://develop.svn.wordpress.org/trunk@26169 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-14 18:40:03 +00:00
Andrew Nacin
cf748f9c6d
Fix JSHint errors in postbox.js.
...
props atimmer.
fixes #26006 .
git-svn-id: https://develop.svn.wordpress.org/trunk@26167 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-14 18:09:27 +00:00
Andrew Nacin
3b3bb985fa
Fix JSHint errors in nav-menu.js.
...
props atimmer.
fixes #25953 .
git-svn-id: https://develop.svn.wordpress.org/trunk@26163 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-14 06:08:11 +00:00
Andrew Nacin
c22a544c89
Fix JSHint errors (again) for revisions.js.
...
props adamsilverstein.
fixes #25955 .
git-svn-id: https://develop.svn.wordpress.org/trunk@26162 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-14 05:55:46 +00:00
Andrew Nacin
efe54a3ac6
Fix JSHint errors in custom-header.js and custom-background.js.
...
props jorbin.
fixes #25915 , #25916 .
git-svn-id: https://develop.svn.wordpress.org/trunk@26158 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-14 05:39:28 +00:00
Andrew Nacin
1e02e255eb
JSHint: Make commentReply a declared global from elsewhere.
...
props adamsilverstein.
see #25979 , [26156].
git-svn-id: https://develop.svn.wordpress.org/trunk@26157 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-14 05:29:01 +00:00
Andrew Nacin
01f59af277
Avoid jshint errors in edit-comment.js.
...
props adamsilverstein.
fixes #25979 .
git-svn-id: https://develop.svn.wordpress.org/trunk@26156 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-14 05:09:46 +00:00
Andrew Nacin
3b82749eba
Merge the new dashboard design into core.
...
Merges https://github.com/growthdesigner/wp-dash .
props lessbloat, joen, helen, dbernar1, kraftbj, ryelle, tillkruess, grapplerulrich, markjaquith.
see #25824 .
git-svn-id: https://develop.svn.wordpress.org/trunk@26144 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-13 22:08:47 +00:00
Andrew Nacin
12ccb6d136
Update the Themes screen, merging THX into core.
...
* Name: THX38
* Description: Update the Themes screen with a new design and experience.
* Tags: visually-focused, bigger-screenshots, fast, mobile-friendly, backbone-driven
* Author: matveb, shaunandrews, melchoyce, designsimply, shelob9
* URI: http://wordpress.org/plugins/thx38/
fixes #25948
git-svn-id: https://develop.svn.wordpress.org/trunk@26141 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-13 20:57:29 +00:00
Matt Thomas
e00060118b
Bring in the widgets component of MP6. See #25858 .
...
* A cleaner UI, with a simpler design for available and inactive widgets, and more emphasis on your sidebars.
* Available widgets and sidebars expand to two columns at larger screen sizes making it easier to manage sites with lots of sidebars.
* New dropzone indicator for empty sidebars.
Props shaunandrews, joen, iammattthomas.
git-svn-id: https://develop.svn.wordpress.org/trunk@26140 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-13 20:05:51 +00:00