Andrew Nacin
b47c6d0746
Theme Installer: Disable prev/next buttons on first/last themes, add Esc handling, use IDs.
...
props adamsilverstein, DH-Shredder.
fixes #27521 .
git-svn-id: https://develop.svn.wordpress.org/trunk@28033 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-08 03:57:01 +00:00
Andrew Nacin
9875f51f1f
Header Images: Add suggested dimensions to the media workflow.
...
This updates [28030] to the latest patch.
props gcorne.
see #21785 .
git-svn-id: https://develop.svn.wordpress.org/trunk@28031 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-08 01:56:42 +00:00
Andrew Nacin
d29a5cee5f
Header Images: Add suggested dimensions to the media workflow.
...
props ehg, gcorne.
see #21785 .
git-svn-id: https://develop.svn.wordpress.org/trunk@28030 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-08 01:54:44 +00:00
Andrew Nacin
bcc41afd37
Theme Installer: Handle currently installed themes, add search route, let prev/next refresh collections.
...
props matveb.
see #27055 . fixes #27695 .
git-svn-id: https://develop.svn.wordpress.org/trunk@28025 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-07 23:03:05 +00:00
Dominik Schilling (ocean90)
6e3b6066e5
Widget Customizer: Cleanup wp.customize.Widgets.SidebarControl
.
...
see #27690 .
git-svn-id: https://develop.svn.wordpress.org/trunk@27995 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-07 19:59:49 +00:00
Dominik Schilling (ocean90)
ce4961c9f7
Widget Customizer: Cleanup wp.customize.Widgets.WidgetControl
.
...
see #27690 .
git-svn-id: https://develop.svn.wordpress.org/trunk@27988 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-07 16:31:52 +00:00
Dominik Schilling (ocean90)
18d485fb32
Widget Customizer: Make the available widgets panel a Backbone view.
...
see #27690 .
git-svn-id: https://develop.svn.wordpress.org/trunk@27986 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-07 14:09:53 +00:00
Dominik Schilling (ocean90)
da677f34aa
Widget Customizer: Move WidgetCustomizer
to wp.customize.Widgets
. First pass.
...
see #27690 .
git-svn-id: https://develop.svn.wordpress.org/trunk@27985 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-07 09:03:18 +00:00
Dominik Schilling (ocean90)
ab8f7f7afd
Widgets: Trigger jQuery events for widget updates.
...
* `widget-added` when a widget is added to a sidebar
* `widget-updated` when a widget is updated
A jQuery object of the widget is passed along to the event handler. Same events are used in the Widget Customizer, see [27909].
fixes #19675 .
git-svn-id: https://develop.svn.wordpress.org/trunk@27969 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-06 19:05:03 +00:00
Andrew Nacin
12f66b9859
Theme Installer: Separate API from an event handler to avoid issues where a false return value stops the event.
...
see #27055 .
git-svn-id: https://develop.svn.wordpress.org/trunk@27963 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-05 20:45:37 +00:00
Andrew Nacin
ba9e3d2bc3
Theme Installer: Use JSONP for api.wordpress.org requests.
...
fixes #27639 .
git-svn-id: https://develop.svn.wordpress.org/trunk@27961 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-05 20:27:56 +00:00
Andrew Nacin
c4d09e4736
Theme Installer: Fix displaying of errors.
...
props SergeyBiryukov.
fixes #27640 .
git-svn-id: https://develop.svn.wordpress.org/trunk@27958 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-05 19:25:20 +00:00
Andrew Ozz
30cdc10180
When autosaving a new post for the first time after a title was typed, cancel the autosave if the user is submitting the form. (Includes a precommit fix for customize-controls.css.) Props Nessworthy, davidmarichal, fixes #27657
...
git-svn-id: https://develop.svn.wordpress.org/trunk@27951 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-05 01:28:35 +00:00
Andrew Nacin
96e15acb2e
Header images: Handle cropping failures.
...
props ehg.
see #21785 .
git-svn-id: https://develop.svn.wordpress.org/trunk@27946 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-04 15:47:43 +00:00
Andrew Ozz
48269a7c29
TinyMCE: add image backgrounds for more and nextpage tags (also jshint fix for theme.js). Fixes #27106
...
git-svn-id: https://develop.svn.wordpress.org/trunk@27944 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-04 05:22:47 +00:00
Andrew Ozz
ec18e88dee
TinyMCE: better calculation for editor height when switching Text to Visual and back. Add stopping of editor resizing when the mouse leaves the browser window. See #27279
...
git-svn-id: https://develop.svn.wordpress.org/trunk@27941 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-04 01:30:11 +00:00
Andrew Nacin
b29ccb5656
Theme Installer: Fix sorting, counts, keyboard navigation; add prev/next to previews.
...
props matveb.
see #27055 .
git-svn-id: https://develop.svn.wordpress.org/trunk@27937 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-03 23:52:45 +00:00
Dominik Schilling (ocean90)
63a83c88f8
Widget Customizer: Restore deferral of previewer-loading
class removal until preview is synced.
...
props westonruter.
fixes #27635 .
git-svn-id: https://develop.svn.wordpress.org/trunk@27913 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-02 19:24:18 +00:00
Dominik Schilling (ocean90)
9f3976baf2
Widget Customizer: Improve support for dynamically-created inputs.
...
* Re-work how and when widget forms get updated.
* Replace ad hoc hooks system with jQuery events,
* Add `widget-updated`/`widget-synced` events for widget soft/hard updates.
* Enter into a non-live form update mode, where the Apply button is restored when a sanitized form does not have the same fields as currently in the form, and so the fields cannot be easily updated to their sanitized values without doing a complete form replacement. Also restores live update mode if sanitized fields are aligned with the existing fields again.
Note: jQuery events are *not* final yet, see #19675 .
props westonruter.
see #27491 .
git-svn-id: https://develop.svn.wordpress.org/trunk@27909 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-02 18:20:00 +00:00
Dominik Schilling (ocean90)
b5780fa7b8
Widget Customizer: Improve plugin compatibility.
...
Some plugins are using custom scripts and styles for there widgets. These are available on the Widgets screens, but not in the Customizer yet.
Scripts and styles can be enqueued via:
* `admin_enqueue_scripts`
* `admin_print_scripts` and `admin_print_scripts-widgets.php`
* `admin_print_styles` and `admin_print_styles-widgets.php`
* `admin_print_footer_scripts` and `admin_footer-widgets.php`
All this hooks are now called in the Customizer too.
Previously we have add the `#widgets-right` ID to a container div via jQuery. Remember: `#widgets-right` exists on the Widgets screen and is used by many plugins to do event delegation from that element.
But since our script files are loaded in the footer, the JavaScript way is a bit late for some plugins.
We have decided to add a `div#widgets-right` container element to customizer. "Less hacky hack."
props westonruter, ocean90. Thanks dpe415 for testing.
fixes #27619 .
git-svn-id: https://develop.svn.wordpress.org/trunk@27907 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-02 17:03:14 +00:00
Andrew Nacin
5b4287b991
Theme Installer fixes:
...
* Better more filters section. props sonjanyc for some mockups.
* Better handling of no results.
* Use # for hrefs.
props matveb.
see #27055 .
git-svn-id: https://develop.svn.wordpress.org/trunk@27896 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-01 22:19:51 +00:00
Dominik Schilling (ocean90)
3046451bf7
Cleanup [27892].
...
git-svn-id: https://develop.svn.wordpress.org/trunk@27893 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-01 15:29:34 +00:00
Dominik Schilling (ocean90)
11f6751d51
Widget Customizer: Use postMessage to highlight widgets in preview or sections/controls in Customizer.
...
fixes #27622 .
git-svn-id: https://develop.svn.wordpress.org/trunk@27892 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-01 15:25:56 +00:00
Dominik Schilling (ocean90)
bb7c7e06c0
Widget Customizer: Remove WidgetCustomizer.showFirstSidebarIfRequested().
...
It's currently unused and needs another iteration.
see #27290 .
git-svn-id: https://develop.svn.wordpress.org/trunk@27891 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-01 12:37:43 +00:00
Dominik Schilling (ocean90)
ab5b649243
Revert [27654] for strings.
...
props westonruter.
fixes #27485 .
git-svn-id: https://develop.svn.wordpress.org/trunk@27890 602fd350-edb4-49c9-b593-d223f7449a82
2014-04-01 11:07:59 +00:00
Andrew Ozz
d6e6560980
Editor:
...
- Use standard button styles for the Quicktags buttons.
- Better style for the TinyMCE buttons (hover/focus/active/disabled).
- Move the fullscreen (DFW) button to the right.
- Better style for the Visual/Text buttons in DFW.
Props avryl, see #27279
git-svn-id: https://develop.svn.wordpress.org/trunk@27857 602fd350-edb4-49c9-b593-d223f7449a82
2014-03-29 23:57:13 +00:00
Andrew Nacin
3b11bb9e36
Theme Installer: Avoid race condition during pagination.
...
props matveb.
see #27055 .
git-svn-id: https://develop.svn.wordpress.org/trunk@27845 602fd350-edb4-49c9-b593-d223f7449a82
2014-03-29 09:08:16 +00:00
Andrew Nacin
aff33c3bca
Theme Installer: Remove unused variables and undesired commas.
...
see #27055 .
git-svn-id: https://develop.svn.wordpress.org/trunk@27843 602fd350-edb4-49c9-b593-d223f7449a82
2014-03-29 08:52:30 +00:00
Andrew Nacin
1c3f9e542b
Restyle the image editor so it looks way less hideous.
...
props avryl.
see #27544 .
git-svn-id: https://develop.svn.wordpress.org/trunk@27842 602fd350-edb4-49c9-b593-d223f7449a82
2014-03-29 08:50:57 +00:00
Andrew Nacin
363c2b4810
Theme Installer: Caching and paginating of API requests.
...
props matveb.
see #27055 .
git-svn-id: https://develop.svn.wordpress.org/trunk@27830 602fd350-edb4-49c9-b593-d223f7449a82
2014-03-28 21:48:52 +00:00
Dominik Schilling (ocean90)
814b798b0d
Widget Customizer: Simplify nonces.
...
see #27534 .
git-svn-id: https://develop.svn.wordpress.org/trunk@27819 602fd350-edb4-49c9-b593-d223f7449a82
2014-03-28 15:34:17 +00:00
Andrew Ozz
e50f30640e
Make DFW usable on touch devices: change the toolbar to two rows and keep it and borders visible. See #26907
...
git-svn-id: https://develop.svn.wordpress.org/trunk@27806 602fd350-edb4-49c9-b593-d223f7449a82
2014-03-28 04:39:04 +00:00
Helen Hou-Sandi
90d45acbf7
Bring keyboard accessibility to the theme install screen and theme action buttons. props jorbin. see #27521 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@27804 602fd350-edb4-49c9-b593-d223f7449a82
2014-03-28 03:15:30 +00:00
Dominik Schilling (ocean90)
4d57b96fb2
Widget Customizer: Improve behavior of bigger widgets.
...
* Support widgets which are higher than browsers viewport.
* Use widgets width as max-width.
* Don't animate the width of wide widgets to make them visible, instead fade them in/out.
* Fix Chrome flickerings while updating wide widgets.
props adamsilverstein, westonruter, ocean90.
see #27348 .
git-svn-id: https://develop.svn.wordpress.org/trunk@27798 602fd350-edb4-49c9-b593-d223f7449a82
2014-03-27 23:12:25 +00:00
Andrew Nacin
ccf21196cb
Remove unused JS variables after [27770]. see #27013 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@27783 602fd350-edb4-49c9-b593-d223f7449a82
2014-03-27 17:31:00 +00:00
nacin
06603dc6cc
Fix flyout menus on most mobile devices.
...
props ocean90.
fixes #26482 .
git-svn-id: https://develop.svn.wordpress.org/trunk@27775 602fd350-edb4-49c9-b593-d223f7449a82
2014-03-27 06:29:03 +00:00
Andrew Ozz
1c0d6827f5
Remove containment of scrolling inside the editor for now. See #27013
...
git-svn-id: https://develop.svn.wordpress.org/trunk@27770 602fd350-edb4-49c9-b593-d223f7449a82
2014-03-27 02:34:25 +00:00
Andrew Nacin
28663b08e8
Remove select and input from wpautop()'s HTML blocks list.
...
props rachelbaker, DH-Shredder.
fixes #22230 .
git-svn-id: https://develop.svn.wordpress.org/trunk@27761 602fd350-edb4-49c9-b593-d223f7449a82
2014-03-27 00:00:17 +00:00
Scott Taylor
4b21dcc825
Fix double avatars and JS errors when spamming/trashing comments.
...
Props avryl, SergeyBiryukov.
Fixes #27329 .
git-svn-id: https://develop.svn.wordpress.org/trunk@27759 602fd350-edb4-49c9-b593-d223f7449a82
2014-03-26 23:13:43 +00:00
Dominik Schilling (ocean90)
c6c9eae522
Customizer: Improve accessibility.
...
Prevent the form only from saving when enter is pressed on a select element or an input, which hasn't the button type.
props westonruter, ocean90.
fixes #26633 .
git-svn-id: https://develop.svn.wordpress.org/trunk@27757 602fd350-edb4-49c9-b593-d223f7449a82
2014-03-26 22:55:46 +00:00
Andrew Nacin
ed0b146180
Themes screens: Bump to 20 items per page so it fills a high resolution display. see #26968 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@27744 602fd350-edb4-49c9-b593-d223f7449a82
2014-03-26 17:45:28 +00:00
Andrew Ozz
f2c1fcbb65
Autosave: don't create the temporary permalink if the title field had focus (the user was typing a title) at the time of the last autosave. Fixes #27503
...
git-svn-id: https://develop.svn.wordpress.org/trunk@27728 602fd350-edb4-49c9-b593-d223f7449a82
2014-03-25 22:21:24 +00:00
Dominik Schilling (ocean90)
e54fff3bb1
Widget Customizer: Fix shift+click issue in Firefox to open a widget.
...
props westonruter.
see #27358 .
git-svn-id: https://develop.svn.wordpress.org/trunk@27701 602fd350-edb4-49c9-b593-d223f7449a82
2014-03-25 11:22:13 +00:00
Scott Taylor
98921c5ca0
Let us pass jshint:core
.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@27693 602fd350-edb4-49c9-b593-d223f7449a82
2014-03-24 23:01:15 +00:00
Dominik Schilling (ocean90)
7ad1e0f1bb
Widget Customizer: Use Underscores indexOf
for IE8 compatibility.
...
props adamsilverstein.
see #27485 .
git-svn-id: https://develop.svn.wordpress.org/trunk@27654 602fd350-edb4-49c9-b593-d223f7449a82
2014-03-22 21:21:36 +00:00
Dominik Schilling (ocean90)
2a1899e319
Widget Customizer: Fix 'WidgetCustomizerPreview' is undefined error in IE8/9.
...
* Move `WidgetCustomizerPreview` to `wp.customize.WidgetCustomizerPreview`
* Move `WidgetCustomizerPreview_exports` to export_preview_data()
* Use `_wpWidgetCustomizerPreviewSettings` to transfer settings to `wp.customize.WidgetCustomizerPreview`
see #27485 .
git-svn-id: https://develop.svn.wordpress.org/trunk@27653 602fd350-edb4-49c9-b593-d223f7449a82
2014-03-22 21:03:18 +00:00
Dominik Schilling (ocean90)
429a018b9c
Widget Customizer: Improve error handling. First pass.
...
* Replace Widget_Customizer_Exception with WP_Error
* Call Previewer.cheatin() to show the cheating message if a user can't change widgets
* Call Previewer.login() to show the login form if a user is logged out
* Show a generic error message on failures
see #27419 .
git-svn-id: https://develop.svn.wordpress.org/trunk@27652 602fd350-edb4-49c9-b593-d223f7449a82
2014-03-22 20:54:17 +00:00
Dominik Schilling (ocean90)
686896998d
Widget Customizer: Improve widget search.
...
* Removes jQuery.liveFilter dependency
* Filters widget collection directly
* Widget's name, ID and description will be searched
fixes #27451 .
git-svn-id: https://develop.svn.wordpress.org/trunk@27650 602fd350-edb4-49c9-b593-d223f7449a82
2014-03-21 21:12:32 +00:00
Dominik Schilling (ocean90)
f0abc9b7e0
Themes: Improve RegExp pattern for search.
...
* The replacement of spaces is now done globally.
* The search term is now escaped for RegExp meta characters.
props westonruter for the hint.
fixes #27479 .
git-svn-id: https://develop.svn.wordpress.org/trunk@27649 602fd350-edb4-49c9-b593-d223f7449a82
2014-03-21 21:03:59 +00:00
Andrew Ozz
4b760ff840
Editing image file: properly refresh the view after restoring the original image or rescaling the image. Props gcorne, see #21811
...
git-svn-id: https://develop.svn.wordpress.org/trunk@27644 602fd350-edb4-49c9-b593-d223f7449a82
2014-03-20 23:24:43 +00:00
Scott Taylor
39197965e4
Fixes for jshint
...
git-svn-id: https://develop.svn.wordpress.org/trunk@27643 602fd350-edb4-49c9-b593-d223f7449a82
2014-03-20 22:26:53 +00:00
Andrew Nacin
3217fa545b
Theme installer:
...
* Restore the feature filter.
* Improve responsiveness.
* Router updates, fixes.
* Make "Upload Theme" button more consistent with the admin.
* Avoid theme-count causing filters to jump.
props matveb.
see #27055 .
git-svn-id: https://develop.svn.wordpress.org/trunk@27636 602fd350-edb4-49c9-b593-d223f7449a82
2014-03-20 04:19:55 +00:00
Dominik Schilling (ocean90)
c2a4665966
Widget Customizer: Restore highlighting of widgets in preview.
...
props westonruter.
see #27358 .
git-svn-id: https://develop.svn.wordpress.org/trunk@27584 602fd350-edb4-49c9-b593-d223f7449a82
2014-03-18 15:20:38 +00:00
John Blackbourn
d91dd88edc
Remove the "See more" toggle from the At a Glance dashboard widget. Fixes #26614 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@27583 602fd350-edb4-49c9-b593-d223f7449a82
2014-03-18 12:55:42 +00:00
Andrew Ozz
6d13e3e1ff
Restyle the plugin install details modal to match the rest of the admin. Props avryl and paulwilde for initial mockup, see #26952
...
git-svn-id: https://develop.svn.wordpress.org/trunk@27559 602fd350-edb4-49c9-b593-d223f7449a82
2014-03-16 18:27:38 +00:00
Andrew Nacin
ad650e283b
Themes screens: Lose search input focus when pressing enter.
...
This allows the keyboard to close on iOS, for example.
props matveb.
fixes #27233 .
git-svn-id: https://develop.svn.wordpress.org/trunk@27555 602fd350-edb4-49c9-b593-d223f7449a82
2014-03-15 05:13:23 +00:00
Dominik Schilling (ocean90)
cecef45157
Customizer: Introduce a processing state.
...
The processing state will prevent a save when it doesn't return 0.
Widget Customizer will use the state to prevent a save while a widget is updating, which is an asynchronous process.
props westonruter.
fixes #27390 .
git-svn-id: https://develop.svn.wordpress.org/trunk@27540 602fd350-edb4-49c9-b593-d223f7449a82
2014-03-14 19:15:04 +00:00
John Blackbourn
110e19a6a0
figcaption
should not be treated as a block-level element by wpautop()
. See #25646 . Props oso96_2000.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@27527 602fd350-edb4-49c9-b593-d223f7449a82
2014-03-13 21:50:17 +00:00
Dominik Schilling (ocean90)
91fbdbbcc4
Widget Customizer: Use ?wp_customize=on.
...
Let _wp_customize_include() handle customizer initialisation.
Sets also the priority for the Add Widget and Reorder buttons and removes debug cruft.
props westonruter.
fixes #27291 .
git-svn-id: https://develop.svn.wordpress.org/trunk@27524 602fd350-edb4-49c9-b593-d223f7449a82
2014-03-13 18:37:24 +00:00
Andrew Nacin
3a126c0452
Use correct variable in themes JS, fixes themes.php.
...
props SergeyBiryukov.
fixes #27360 .
git-svn-id: https://develop.svn.wordpress.org/trunk@27509 602fd350-edb4-49c9-b593-d223f7449a82
2014-03-12 00:28:26 +00:00
Andrew Nacin
96176b269d
Bring the theme browsing experience from 3.8 to the theme installer. First pass.
...
props matveb with assists from me and gcorne.
see #27055 .
git-svn-id: https://develop.svn.wordpress.org/trunk@27499 602fd350-edb4-49c9-b593-d223f7449a82
2014-03-11 07:46:27 +00:00
Andrew Nacin
a9b6b9339f
JS linting for [27497].
...
see #21785 .
git-svn-id: https://develop.svn.wordpress.org/trunk@27498 602fd350-edb4-49c9-b593-d223f7449a82
2014-03-11 04:19:25 +00:00
Andrew Nacin
6f2544944f
Add header image uploads with cropping to the customizer.
...
props mcsf, ehg, gcorne.
see #21785 .
git-svn-id: https://develop.svn.wordpress.org/trunk@27497 602fd350-edb4-49c9-b593-d223f7449a82
2014-03-11 04:12:17 +00:00
Helen Hou-Sandi
55e1b4c982
At long last, a first pass at bringing the image editor into the media modal. props gcorne, DH-Shredder, tomauger. see #21811 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@27445 602fd350-edb4-49c9-b593-d223f7449a82
2014-03-06 22:54:32 +00:00
Scott Taylor
2862cb85d8
Make widget customizer code pass JSHint.
...
Fixes #27298 .
git-svn-id: https://develop.svn.wordpress.org/trunk@27436 602fd350-edb4-49c9-b593-d223f7449a82
2014-03-06 16:44:56 +00:00
Andrew Nacin
f12d7bb35c
Add widget management to the customizer.
...
This brings in the Widget Customizer plugin: https://wordpress.org/plugins/widget-customizer/ .
props westonruter, shaunandrews, michael-arestad, johnregan3, akeda, topher1kenobe, topquarky, bobbravo2, ricardocorreia. And for good measure, props westonruter.
see #27112 .
git-svn-id: https://develop.svn.wordpress.org/trunk@27419 602fd350-edb4-49c9-b593-d223f7449a82
2014-03-05 20:40:36 +00:00
Andrew Ozz
6beddbe7de
Restyles the modal for attaching media to posts, take II (also some autoprefixer and imagemin). Props avryl, see #26952 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@27403 602fd350-edb4-49c9-b593-d223f7449a82
2014-03-05 03:53:19 +00:00
Andrew Ozz
ce69c629ff
Restyles the modal for attaching media to posts, props avryl, see #26952
...
git-svn-id: https://develop.svn.wordpress.org/trunk@27401 602fd350-edb4-49c9-b593-d223f7449a82
2014-03-04 23:10:35 +00:00
Andrew Ozz
f0c491968a
DFW: revert adding the 'image' button, images are edited in the media modal. See #24067 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@27391 602fd350-edb4-49c9-b593-d223f7449a82
2014-03-04 04:07:31 +00:00
Andrew Ozz
957beec4de
Editor: throttle scrolling of the main window when the editor is active and is being scrolled with the mouse wheel or a trackpad, see #27013
...
git-svn-id: https://develop.svn.wordpress.org/trunk@27368 602fd350-edb4-49c9-b593-d223f7449a82
2014-03-03 02:33:22 +00:00
Andrew Nacin
c1c57d5bcc
Themes screen: Clicking back through history should properly close the overlay.
...
props gcorne.
fixes #27198 .
git-svn-id: https://develop.svn.wordpress.org/trunk@27306 602fd350-edb4-49c9-b593-d223f7449a82
2014-02-27 00:17:38 +00:00
Andrew Nacin
0fe3ffaf59
Remove title attributes on the fly when [27280] makes them incorrect. see #17703 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@27281 602fd350-edb4-49c9-b593-d223f7449a82
2014-02-26 07:36:05 +00:00
Andrew Nacin
9ddf03c0bb
Decrement update count bubbles as plugins/themes are updated, live.
...
props gcorne, mitchoyoshitaka.
fixes #17703 .
git-svn-id: https://develop.svn.wordpress.org/trunk@27280 602fd350-edb4-49c9-b593-d223f7449a82
2014-02-26 06:54:26 +00:00
Andrew Nacin
ee39026c2d
Remove unused routing code in revisions.
...
props adamsilverstein.
fixes #26565 .
git-svn-id: https://develop.svn.wordpress.org/trunk@27273 602fd350-edb4-49c9-b593-d223f7449a82
2014-02-25 20:06:04 +00:00
Mark Jaquith
43e78ac29a
Improve pushState, replaceState and routing for Themes page
...
* Uses `pushState()` generally
* Uses `replaceState()` when updating a search query (so no history cruft from typing)
fixes #27198 . props gcorne, adamsilverstein.
git-svn-id: https://develop.svn.wordpress.org/trunk@27268 602fd350-edb4-49c9-b593-d223f7449a82
2014-02-25 19:21:58 +00:00
Sergey Biryukov
b197472a5c
Fix thickbox positioning if toolbar is not present.
...
fixes #26745 .
git-svn-id: https://develop.svn.wordpress.org/trunk@27248 602fd350-edb4-49c9-b593-d223f7449a82
2014-02-25 00:25:58 +00:00
Andrew Nacin
522670cef2
Various JSHint fixes. see #26446 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@27131 602fd350-edb4-49c9-b593-d223f7449a82
2014-02-08 00:51:14 +00:00
Andrew Nacin
3dbd4f8dcb
Revisions browser: The back button should return to the post you were editing (use replaceState instead of pushState).
...
props adamsilverstein.
fixes #26997 .
git-svn-id: https://develop.svn.wordpress.org/trunk@27114 602fd350-edb4-49c9-b593-d223f7449a82
2014-02-06 23:27:47 +00:00
Andrew Nacin
1304fb3463
Fix the conditional enqueueing/printing of colors stylesheets, without breaking dependencies.
...
fixes #18380 .
see #20729 which should properly fix this.
git-svn-id: https://develop.svn.wordpress.org/trunk@27111 602fd350-edb4-49c9-b593-d223f7449a82
2014-02-06 22:15:25 +00:00
Andrew Ozz
4d7d68b565
Fix scrolling inside the Visual editor on MacOS, add the same functionality to the Text editor, see #27013
...
git-svn-id: https://develop.svn.wordpress.org/trunk@27110 602fd350-edb4-49c9-b593-d223f7449a82
2014-02-06 19:33:13 +00:00
Andrew Ozz
840423ea10
Minor cleanup (jshint) of wp-fullscreen.js and /wordpress/plugin.js, see #24067
...
git-svn-id: https://develop.svn.wordpress.org/trunk@27085 602fd350-edb4-49c9-b593-d223f7449a82
2014-02-03 21:30:25 +00:00
Andrew Ozz
9fd8c54ef9
Consolidate "close on Escape" in the media modal, DFW, wpLink and Thickbox. Props kovshenin, fixes #26854 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@27080 602fd350-edb4-49c9-b593-d223f7449a82
2014-02-03 05:30:12 +00:00
Andrew Ozz
33b079b036
Open previews of different posts in different windows/tabs. Prevent confusion when using a former preview window again if the user navigated to edit another post. If the first post is still being edited, clicking Preview there will use the current window to show the preview. Props ippetkov, fixes #20233 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@27079 602fd350-edb4-49c9-b593-d223f7449a82
2014-02-02 23:49:05 +00:00
Helen Hou-Sandi
91b0e15ef8
Autocomplete for the new site admin email. Better than trying to remember which email address you used.
...
fixes #25348 .
git-svn-id: https://develop.svn.wordpress.org/trunk@27046 602fd350-edb4-49c9-b593-d223f7449a82
2014-01-27 23:09:08 +00:00
Andrew Ozz
70ca581b67
Autosave:
...
- Move the 'Saving post' and 'Draft saved at...' strings from autosaveL10n to postL10n as they are used only there.
- Use the custom jQuery events 'before-autosave' and 'after-autosave' to show these messages.
- Separate autosave.suspend() for local and server so local autosaves can continue while server autosaves are suspended.
- Remove the recently added autosave.server.disable() and use autosave.server.suspend() instead.
- Bring back .button.disabled, button-primary.disabled and use .disabled to prevent multiple form submissions.
See #25272 .
git-svn-id: https://develop.svn.wordpress.org/trunk@27038 602fd350-edb4-49c9-b593-d223f7449a82
2014-01-27 00:27:42 +00:00
Andrew Ozz
01faa993ac
Fix tabbing order when opening/closing post status and visibility in the Publish postbox and cache some of the jQuery selectors. Part-props atimmer, fixes #25460 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@27035 602fd350-edb4-49c9-b593-d223f7449a82
2014-01-26 03:06:52 +00:00
Andrew Nacin
f70f020c54
Properly detect line height of Quick Draft textarea.
...
props batmoo.
fixes #26915 for trunk.
git-svn-id: https://develop.svn.wordpress.org/trunk@27021 602fd350-edb4-49c9-b593-d223f7449a82
2014-01-23 18:02:06 +00:00
Andrew Ozz
b29b5b21e4
Autosave: don't set "submit" buttons to disabled right before submitting the form. They are not sent with the form data, see #25272 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@27015 602fd350-edb4-49c9-b593-d223f7449a82
2014-01-22 21:25:05 +00:00
Andrew Nacin
b663efb313
Themes screen: Add aria-describedby attributes to provide better information to screen readers.
...
props joedolson for initial patch.
fixes #26602 for trunk.
git-svn-id: https://develop.svn.wordpress.org/trunk@27012 602fd350-edb4-49c9-b593-d223f7449a82
2014-01-22 20:59:29 +00:00
Andrew Ozz
92d2f34d4f
Improve keyboard accessibility for the admin menu when in responsive mode, props SergeyBiryukov, fixes #26639 for trunk.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@27011 602fd350-edb4-49c9-b593-d223f7449a82
2014-01-22 20:07:16 +00:00
azaozz
db64b3d951
Autosave: don't disable the buttons on previewing a post, see #25272 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@27003 602fd350-edb4-49c9-b593-d223f7449a82
2014-01-22 17:57:13 +00:00
Andrew Ozz
9aba880b53
Autosave: refactor autosave.js, use heartbeat for transport and move all "Add/Edit Post" related functionality to post.js. See #25272 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@26995 602fd350-edb4-49c9-b593-d223f7449a82
2014-01-22 04:55:37 +00:00
Andrew Ozz
32b9c649cf
DFW: fix reference to off() when pressing Esc. Props kovshenin, see #24067 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@26966 602fd350-edb4-49c9-b593-d223f7449a82
2014-01-17 00:12:21 +00:00
Andrew Ozz
de5ad05a48
TinyMCE: fix send_to_editor()
. It no longer needs to replace shortcode strings with html placeholers before inserting them in the editor. This is handled properly by the editor's 'BeforeSetContent'
event callbacks. See #24067 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@26945 602fd350-edb4-49c9-b593-d223f7449a82
2014-01-14 23:34:23 +00:00
Andrew Nacin
972b6ef466
Keyboard navigation friendliness for themes.php.
...
props matveb, azaozz, jorbin.
see #26527 .
git-svn-id: https://develop.svn.wordpress.org/trunk@26922 602fd350-edb4-49c9-b593-d223f7449a82
2014-01-08 21:34:03 +00:00
Andrew Nacin
5447a6ab72
Themes: Search the theme's slug too.
...
props matveb.
see #26730 for trunk.
git-svn-id: https://develop.svn.wordpress.org/trunk@26921 602fd350-edb4-49c9-b593-d223f7449a82
2014-01-08 21:28:15 +00:00
Andrew Ozz
17f36f016a
DFW: fix buttons and the title width, make the fade out/in when opening and closing a bit faster. See #24067 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@26896 602fd350-edb4-49c9-b593-d223f7449a82
2014-01-02 04:17:28 +00:00
Andrew Ozz
608cd6de80
Comment moderation shortcuts:
...
- Fix "toggle checkboxes" (shift+x).
- Add noDisable selector and use it to stop disabling the shortcuts when a select-comment checkbox is focused.
See #26755 .
git-svn-id: https://develop.svn.wordpress.org/trunk@26889 602fd350-edb4-49c9-b593-d223f7449a82
2014-01-02 00:10:20 +00:00
Sergey Biryukov
d0b542ffac
Add missing id attribute to "Search Installed Themes" input.
...
fixes #26599 for trunk.
git-svn-id: https://develop.svn.wordpress.org/trunk@26885 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-31 10:43:39 +00:00
Andrew Ozz
14ace125ee
TinyMCE 4.0.12, first run.
...
- Removes wp-tinymce-schema.js and mark-loaded.js, no longer needed.
- Removes the inlinepopups and most of the wpdialogs plugins; wpdialog.js is moved to wp-includes/js.
- Adds charmap, compat3x, image, link and textcolor plugins, previously contained in /themes/advanced.
- Updates the wordpress, wpeditimage, wpfullscreen, wpgallery and wplink plugins.
- Updates DFW, wp-admin/js/wp-fullscreen.js.
See #24067 .
git-svn-id: https://develop.svn.wordpress.org/trunk@26876 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-28 23:52:04 +00:00
Drew Jaynes
bd39e26032
First there were two, and now there are three -- in the @since versions that came before and that shall be. And so it will be, says nacin.
...
Props JustinSainton, SergeyBiryukov, DrewAPicture.
Fixes #26713 .
git-svn-id: https://develop.svn.wordpress.org/trunk@26868 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-24 18:56:05 +00:00
Ryan Boren
cfd5c395bb
The Pinking Shears stir from their slumber, awakened by what may seem, to those
...
innocent in the ways of The Shears, a triviality, a nothing-of-consequence. But there are consequences indeed for recklessly trailing your whitespace. Naturally, they a dire!
One, two! One, two! And through and through
The Pinking Shears went snicker-snack!
They plucked your tail and with your space
They went sniksnuking back.
Let me tell you, that can be uncomfortable, so always pre-sniksnuk your trailing whites. May The Shears be with you.
git-svn-id: https://develop.svn.wordpress.org/trunk@26851 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-11 19:48:29 +00:00
Andrew Ozz
8f581ae3dc
Themes: fix overlays and buttons in responsive mode, props matveb, fixes #26481 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@26838 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-09 19:37:36 +00:00
Andrew Nacin
0fff0660b4
Themes: use explicit 'search installed themes' label and placeholder.
...
fixes #26496 .
git-svn-id: https://develop.svn.wordpress.org/trunk@26827 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-09 07:40:56 +00:00
Andrew Nacin
98824e94de
Themes: Avoid a JS error in the keyup event handler when the overlay is not yet initialized.
...
fixes #26497 .
git-svn-id: https://develop.svn.wordpress.org/trunk@26826 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-09 07:06:15 +00:00
Andrew Ozz
572e5bc710
Fix error in postbox.js attempting to change screen columns on mobile devices orientation changes, fixes #26493 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@26822 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-09 04:20:26 +00:00
Andrew Nacin
e2c2f6a402
Don't set the theme overlay active state in the Theme view, as it overwrites the same work in the Details view.
...
fixes #26481 .
git-svn-id: https://develop.svn.wordpress.org/trunk@26815 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-09 01:26:26 +00:00
Matt Thomas
9439bb7b4f
Expand the Quick Draft section by default. Fixes #26463 , props bassgang.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@26813 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-09 00:42:56 +00:00
Andrew Ozz
76d75b7d22
Fake a "non-responsive" window width for IE < 9 when folding/unfolding the menu (old IE doesn't support @media), fixes #26458 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@26785 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-07 18:45:37 +00:00
Andrew Nacin
b08c4c109d
Fix JSHint errors and remove unreachable code. props adamsilverstein. see #25963 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@26778 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-07 07:51:35 +00:00
Andrew Nacin
e41692153c
Core updates for the new color schemes.
...
* Update about page, there's now 8.
* Display them four wide, not three, and ensure adequate spacing.
* Use a dedicated nonce.
* Push Light to the front in addition to Default.
* Use user-profile.js on about.php. A few extra things are initialized but they are harmless.
see #26468 , #26387 .
git-svn-id: https://develop.svn.wordpress.org/trunk@26776 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-07 07:45:57 +00:00
Ryan Boren
85d5a58809
Make the Backbone routes pushSTate capable with ?theme=themename type urls instead of hashes. Same applies to search queries.
...
Props adamsilverstein, nacin
fixes #25963
git-svn-id: https://develop.svn.wordpress.org/trunk@26767 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-07 03:10:44 +00:00
Andrew Nacin
08c059e8d0
Themes: Ensure the image returns a width before checking that it is less than 300px.
...
see #26459 .
git-svn-id: https://develop.svn.wordpress.org/trunk@26765 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-07 01:58:23 +00:00
Matt Thomas
b9893b491c
Adding autosave for color schemes and removing RTL handling. See #26387 , props ryelle.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@26746 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-06 21:25:31 +00:00
Andrew Ozz
98b9246261
Responsive menu: fix calculation of the responsive trigger width from JS. It is affected by a vertical scrollbar width in some browsers. See #26458 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@26743 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-06 20:49:46 +00:00
Andrew Nacin
63ad0a71d4
Themes: If a theme only has a very-old-school 300px-wide screenshot (or narrower), don't stretch it.
...
props matveb.
fixes #26459 .
git-svn-id: https://develop.svn.wordpress.org/trunk@26738 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-06 19:41:19 +00:00
Matt Thomas
79cb3cf3ce
Updates to the About page:
...
* A live color scheme preview
* Replace the hard-coded version number
* Copy edits
* New screenshots
* Size adjustments to the header and WP badge
* Capitalize 'Open Sans'
See #26387 , props markoheijnen, ryelle, siobhan, melchoyce.
git-svn-id: https://develop.svn.wordpress.org/trunk@26737 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-06 19:35:25 +00:00
Andrew Nacin
195465ce38
Remove screenshotGallery. see #25948 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@26728 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-06 17:10:38 +00:00
Andrew Nacin
b9cb349dc0
No-JavaScript and no-Customizer support for the new Themes screen.
...
JavaScript is rarely disabled, but graceful degradation is still important. For example, syntax errors can occur, usually with major WP updates that overhaul entire experiences and update external libraries combined with themes or plugins doing weird or old things. If this error is due to their current theme, a user needs to be able to access the themes screen to switch away from the theme. A more subtle issue could make things painful to diagnose.
This commit renders the grid in PHP (the template is duplicated, but it lightweight, fairly mundane, and easy to sync). On Backbone render, the grid is then re-rendered from JavaScript so searches can occur. Customize and Live Preview is disabled if JS fails to kick in. If JS is disabled, old-school "Preview" links are displayed.
No-Customizer support: The customizer is only supported when the browser supports postMessage (IE8+), and if the frontend is a different domain, CORS (IE10+). We use the .hide-if-no-customize class for this. Pre-customize "Preview" links should use .hide-if-customize.
The .load-customize class should be used to declare a link that opens the customizer. This enables customize-loader.js to intercept this link and load the customizer on top of the current window, making for a smoother experience.
fixes #25964 .
git-svn-id: https://develop.svn.wordpress.org/trunk@26726 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-06 16:10:25 +00:00
Andrew Ozz
5454336667
Widgets: jshint cleanup of widgets.js, see #25821 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@26703 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-05 23:13:22 +00:00
Andrew Nacin
3831c95a04
Widgets: Add click-to-add widgets to the bottom (not top) of the target sidebar.
...
fixes #25821 .
git-svn-id: https://develop.svn.wordpress.org/trunk@26696 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-05 22:26:45 +00:00
Andrew Nacin
ddc9ed51e8
Widgets: Only scroll to the newly clicked-and-added widget if it is out of the viewport.
...
props shaunandrews.
see #25821 .
git-svn-id: https://develop.svn.wordpress.org/trunk@26695 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-05 22:21:15 +00:00
Andrew Nacin
aa65527319
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 .
git-svn-id: https://develop.svn.wordpress.org/trunk@26693 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-05 22:00:17 +00:00
Andrew Nacin
e98d56fab4
Themes: Only show author names during a search if it matches 3 or more characters.
...
props matveb.
fixes #26422 .
git-svn-id: https://develop.svn.wordpress.org/trunk@26686 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-05 19:56:16 +00:00
Andrew Nacin
dc7082fbc7
Themes: when initiating a search, avoid triggering a reset event when it's not necessary.
...
props matveb.
fixes #26434 .
git-svn-id: https://develop.svn.wordpress.org/trunk@26685 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-05 19:14:59 +00:00
Andrew Nacin
1ac4bceecd
Define globals and add semicolons to wp-fullscreen.js.
...
`grunt jshint` now runs clean for WordPress core!
props mattwiebe.
fixes #26029 .
git-svn-id: https://develop.svn.wordpress.org/trunk@26667 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-05 16:04:59 +00:00
Andrew Nacin
f883e31e3c
Themes: Disable collapse actions when showing only a single theme; improve the responsive layout.
...
props matveb.
fixes #25962 .
git-svn-id: https://develop.svn.wordpress.org/trunk@26660 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-05 04:56:48 +00:00
Andrew Nacin
e75582f9c8
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 .
git-svn-id: https://develop.svn.wordpress.org/trunk@26652 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-05 00:15:59 +00:00
Andrew Ozz
f90e3dc450
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 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@26651 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-05 00:01:42 +00:00
Andrew Ozz
2d254241c7
DFW: don't block the "keyup" event, fixes toggling the checkbox in the Link dialog with the spacebar. Fixes #25934 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@26649 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-04 23:50:05 +00:00
Andrew Nacin
bda43fd107
Pinking shears. see #26086 props atimmer.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@26627 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-04 19:33:45 +00:00
Andrew Nacin
fe7bfcdf9c
Return some semicolons. fixes #25594 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@26623 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-04 19:07:40 +00:00
Andrew Nacin
1913b4c665
Nav Menus: Delegate click events for move links.
...
props ankit.gade.
fixes #25594 .
git-svn-id: https://develop.svn.wordpress.org/trunk@26613 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-04 17:09:20 +00:00
Andrew Ozz
93a5bff7a7
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 .
git-svn-id: https://develop.svn.wordpress.org/trunk@26601 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-04 04:12:41 +00:00
Helen Hou-Sandi
6c3f6cad42
Auto-resize the Quick Draft textarea. props lessbloat, markjaquith, helen. fixes #26053 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@26564 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-03 17:34:46 +00:00
Andrew Ozz
ba4643f76e
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 .
git-svn-id: https://develop.svn.wordpress.org/trunk@26550 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-03 00:54:42 +00:00
Andrew Ozz
75ac2cf131
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 .
git-svn-id: https://develop.svn.wordpress.org/trunk@26549 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-03 00:44:22 +00:00
Andrew Nacin
16b6b6b8e4
Simplify the color scheme profile saving JS. see #25858 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@26535 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-02 19:44:50 +00:00
Dion Hulse
63a4a1b10c
Themes: Bail if the search term matches the currently rendered themes, Fixes the events being clobbered. Props jblz. Fixes #26347
...
git-svn-id: https://develop.svn.wordpress.org/trunk@26521 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-02 07:15:14 +00:00
Dion Hulse
919b03d9ce
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
...
git-svn-id: https://develop.svn.wordpress.org/trunk@26519 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-02 07:11:43 +00:00
Andrew Ozz
eb2767a578
Make the responsive menu usable with a mouse, fix non-folded and :focus styles, toggle the submenus on touchend/click. Fixes #26086 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@26516 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-02 03:18:40 +00:00
Dion Hulse
8eedbe32ac
Themes: For searches, replace the document hash, don't add a new history event for each keypress. See #25948
...
git-svn-id: https://develop.svn.wordpress.org/trunk@26515 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-02 01:50:24 +00:00
Dion Hulse
c6e661e84d
Themes: We no longer have a delete link on the multi-grid view. See #25948
...
git-svn-id: https://develop.svn.wordpress.org/trunk@26514 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-02 00:54:27 +00:00
Dion Hulse
e3d4717077
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
...
git-svn-id: https://develop.svn.wordpress.org/trunk@26513 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-02 00:47:49 +00:00
Andrew Ozz
e5304e8470
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 .
git-svn-id: https://develop.svn.wordpress.org/trunk@26506 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-01 19:49:55 +00:00
Dion Hulse
056c99305b
Themes: In the detailed view, disable the next/previous buttons when there are no more items. Fixes #26314
...
git-svn-id: https://develop.svn.wordpress.org/trunk@26498 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-01 05:58:42 +00:00
Dominik Schilling (ocean90)
510aa812ca
Themes: Add type="search" to search. fixes #26331 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@26481 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-29 22:19:08 +00:00
Dominik Schilling (ocean90)
2d74676237
Themes: Search the description too.
...
props dd32.
fixes #26309 .
git-svn-id: https://develop.svn.wordpress.org/trunk@26480 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-29 22:17:28 +00:00
Andrew Ozz
28da4145a6
Widgets: highlight all drop zones (open and closed sidebars) on starting to drag a widget to indicate "droppability", fixes #26168 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@26474 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-29 17:57:05 +00:00
Dion Hulse
59ecd28d2e
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
git-svn-id: https://develop.svn.wordpress.org/trunk@26468 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-29 05:17:00 +00:00