Andrew Ozz
f184243aa3
DFW: fix closing only the wpLink or media modal when pressing Esc.
...
Built from https://develop.svn.wordpress.org/trunk@28455
git-svn-id: http://core.svn.wordpress.org/trunk@28282 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-05-16 18:17:14 +00:00
Sergey Biryukov
abc830ca9d
DFW: Properly handle Esc key when the content is focused or when switching browser tabs.
...
props avryl.
fixes #28279 .
Built from https://develop.svn.wordpress.org/trunk@28443
git-svn-id: http://core.svn.wordpress.org/trunk@28270 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-05-16 10:43:14 +00:00
Andrew Nacin
962e8113ab
Customizer: Only tie header button action events to the header controls.
...
props danielbachhuber.
fixes #28046 . see #27848 .
Built from https://develop.svn.wordpress.org/trunk@28269
git-svn-id: http://core.svn.wordpress.org/trunk@28097 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-05-06 04:30:23 +00:00
Sergey Biryukov
13cbcc92cf
Fix closing tag in image editor.
...
props t4k1s.
fixes #28130 .
Built from https://develop.svn.wordpress.org/trunk@28255
git-svn-id: http://core.svn.wordpress.org/trunk@28083 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-05-05 10:17:19 +00:00
Sergey Biryukov
db4423c5cd
Avoid displaying a negative number of plugin updates in admin menu.
...
fixes #28073 .
Built from https://develop.svn.wordpress.org/trunk@28254
git-svn-id: http://core.svn.wordpress.org/trunk@28082 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-05-05 09:39:17 +00:00
Dominik Schilling
e6644720f9
Color Picker: Close color picker when clicking outside of them and when opening another one.
...
props mattwiebe.
fixes #25539 .
Built from https://develop.svn.wordpress.org/trunk@28239
git-svn-id: http://core.svn.wordpress.org/trunk@28067 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-05-02 11:18:15 +00:00
Dominik Schilling
8e7e53b22e
Widgets: Toggle widget arrow when widget is open/closed.
...
props MikeHansenMe.
fixes #26748 .
Built from https://develop.svn.wordpress.org/trunk@28235
git-svn-id: http://core.svn.wordpress.org/trunk@28063 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-05-01 14:09:16 +00:00
Andrew Ozz
46bdcce0eb
Ensure the editor height is saved properly, props jupiterwise, see #28000 , for trunk.
...
Built from https://develop.svn.wordpress.org/trunk@28193
git-svn-id: http://core.svn.wordpress.org/trunk@28023 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-04-24 04:11:15 +00:00
Andrew Nacin
f5c0ad0115
Theme Installer: Properly call router navigation.
...
props gcorne.
see #27055 .
Built from https://develop.svn.wordpress.org/trunk@28147
git-svn-id: http://core.svn.wordpress.org/trunk@27978 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-04-16 03:06:16 +00:00
Andrew Nacin
dbca0c5e15
Widgets: Remove create_function() from the customizer class.
...
props westonruter.
fixes #27805 .
Built from https://develop.svn.wordpress.org/trunk@28143
git-svn-id: http://core.svn.wordpress.org/trunk@27974 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-04-16 00:11:35 +00:00
Andrew Nacin
d46037e0b5
Theme Installer: Fixes for browsers without pushState.
...
props gcorne.
see #27055 .
Built from https://develop.svn.wordpress.org/trunk@28141
git-svn-id: http://core.svn.wordpress.org/trunk@27972 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-04-16 00:04:15 +00:00
Andrew Nacin
9f81d0526e
Theme Installer: Revert to proxying through PHP for WordPress.org API requests.
...
This is to ensure we have valid installation nonces, though we've run into this as a problem previously (see #27639 , #27581 , #27055 ).
A tad slower, but we gained speed in 3.9 by simplifying the request made to the API.
props ocean90.
fixes #27798 .
Built from https://develop.svn.wordpress.org/trunk@28126
git-svn-id: http://core.svn.wordpress.org/trunk@27957 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-04-15 01:16:14 +00:00
Andrew Nacin
6b579e0d59
Customizer: Properly handle widget settings when activating a previewed theme.
...
props westonruter, ocean90, gcorne.
fixes #27767 .
Built from https://develop.svn.wordpress.org/trunk@28124
git-svn-id: http://core.svn.wordpress.org/trunk@27955 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-04-14 22:46:16 +00:00
Andrew Nacin
f911d99902
Theme installer: Improve route handling and make ?theme= work.
...
props matveb.
fixes #27708 .
Built from https://develop.svn.wordpress.org/trunk@28123
git-svn-id: http://core.svn.wordpress.org/trunk@27954 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-04-14 22:06:15 +00:00
Andrew Ozz
3de93ccba3
DFW:
...
- Add background color and remove the top border from the status bar (at the bottom).
- Fix spinner to always be next to the Save button.
- Remove width: auto; from .mce-fixed-width.
Fixes #27709
Built from https://develop.svn.wordpress.org/trunk@28116
git-svn-id: http://core.svn.wordpress.org/trunk@27947 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-04-14 08:15:16 +00:00
Andrew Nacin
cd5f8d517c
Theme install: Set a timeout and error message for API responses.
...
props ocean90.
fixes #27708 .
Built from https://develop.svn.wordpress.org/trunk@28105
git-svn-id: http://core.svn.wordpress.org/trunk@27936 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-04-13 19:02:14 +00:00
Andrew Nacin
c593fe63d3
Don't auto-resize Quick Draft textarea in IE < 9. Avoids IE8 crash.
...
props morganestes.
fixes #27761 .
Built from https://develop.svn.wordpress.org/trunk@28103
git-svn-id: http://core.svn.wordpress.org/trunk@27934 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-04-13 18:25:15 +00:00
Andrew Nacin
a2924c6be0
Custom header: Fix image ordering.
...
props ehg.
see #21785 . fixes #27791 .
Built from https://develop.svn.wordpress.org/trunk@28102
git-svn-id: http://core.svn.wordpress.org/trunk@27933 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-04-13 18:22:14 +00:00
Andrew Ozz
dea2eaa1e3
Fix typo in var definition in [28069], see #27750
...
Built from https://develop.svn.wordpress.org/trunk@28070
git-svn-id: http://core.svn.wordpress.org/trunk@27901 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-04-10 22:14:15 +00:00
Andrew Ozz
8072976c06
Fix tabbing out of the title field on Media -> Edit Media screen, fixes #27750
...
Built from https://develop.svn.wordpress.org/trunk@28069
git-svn-id: http://core.svn.wordpress.org/trunk@27900 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-04-10 22:10:15 +00:00
Andrew Ozz
cc694bac21
Fix TinyMCE Views in IE8 and 7:
...
- Add fallback background images for dashicons.
- Fix hiding the clipboard while still allowing the contents to be selected.
- Work around lack of border-box in gallery styles.
(Includes precommit cleanup for theme.js)
Props gcorne, fixes 27546
Built from https://develop.svn.wordpress.org/trunk@28062
git-svn-id: http://core.svn.wordpress.org/trunk@27894 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-04-09 00:58:15 +00:00
Andrew Nacin
b631825414
Theme installer keyboard fixes. Updates [28033] and [28036].
...
props matveb.
see #27521 .
Built from https://develop.svn.wordpress.org/trunk@28049
git-svn-id: http://core.svn.wordpress.org/trunk@27879 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-04-08 16:24:14 +00:00
Dominik Schilling
f2d874e3db
Theme Installer: Prevent default events for "Upload Theme" and "Browse" buttons.
...
see #27055 .
Built from https://develop.svn.wordpress.org/trunk@28047
git-svn-id: http://core.svn.wordpress.org/trunk@27877 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-04-08 12:35:18 +00:00
Andrew Ozz
fd0ae7e406
Precommit cleanup for theme.js, editor.css amd wpdialogs/plugin.js, See #27055 , #26907 , #16284
...
Built from https://develop.svn.wordpress.org/trunk@28045
git-svn-id: http://core.svn.wordpress.org/trunk@27875 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-04-08 08:29:14 +00:00
Dominik Schilling
3f3a1380d2
Widget Customizer: Fix widget filtering.
...
props westonruter.
fixes #27451 .
Built from https://develop.svn.wordpress.org/trunk@28044
git-svn-id: http://core.svn.wordpress.org/trunk@27874 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-04-08 08:12:15 +00:00
Andrew Ozz
268092761d
DFW:
...
- Move the word count and "Just Write" to a fixed bar at the bottom.
- Fix responsive mode to 480px. Narrower screens will have a scroll bar.
- Hide the Help button on screens < 480px, move the Save button to the right, make it bigger to match the others, and other responsive mode fixes.
Fixes #26907 , see #27709
Built from https://develop.svn.wordpress.org/trunk@28043
git-svn-id: http://core.svn.wordpress.org/trunk@27873 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-04-08 07:49:14 +00:00
Andrew Nacin
9a82e9070e
Theme Installer: Show 'Preview' button for installed themes.
...
props adamsilverstein.
see #27055 , see #27708 .
Built from https://develop.svn.wordpress.org/trunk@28038
git-svn-id: http://core.svn.wordpress.org/trunk@27868 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-04-08 04:38:15 +00:00
Andrew Nacin
640d9cb1a1
Theme Installer: Left/right arrow keys in the overlay.
...
props adamsilverstein.
see #27521 .
Built from https://develop.svn.wordpress.org/trunk@28036
git-svn-id: http://core.svn.wordpress.org/trunk@27866 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-04-08 04:13:30 +00:00
Andrew Nacin
93d2e831cb
Theme Installer: Use 'browse' instead of 'sort' for routes.
...
see #27055 .
Built from https://develop.svn.wordpress.org/trunk@28035
git-svn-id: http://core.svn.wordpress.org/trunk@27865 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-04-08 04:13:16 +00:00
Andrew Nacin
5ea061ef8d
Widget Customizer: Fix incorrect replacement in [27995].
...
props westonruter.
fixes #27690 .
Built from https://develop.svn.wordpress.org/trunk@28034
git-svn-id: http://core.svn.wordpress.org/trunk@27864 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-04-08 04:03:14 +00:00
Andrew Nacin
658032c9f9
Theme Installer: Disable prev/next buttons on first/last themes, add Esc handling, use IDs.
...
props adamsilverstein, DH-Shredder.
fixes #27521 .
Built from https://develop.svn.wordpress.org/trunk@28033
git-svn-id: http://core.svn.wordpress.org/trunk@27863 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-04-08 03:57:15 +00:00
Andrew Nacin
c870767d98
Header Images: Add suggested dimensions to the media workflow.
...
This updates [28030] to the latest patch.
props gcorne.
see #21785 .
Built from https://develop.svn.wordpress.org/trunk@28031
git-svn-id: http://core.svn.wordpress.org/trunk@27861 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-04-08 01:57:16 +00:00
Andrew Nacin
6b41f728d4
Header Images: Add suggested dimensions to the media workflow.
...
props ehg, gcorne.
see #21785 .
Built from https://develop.svn.wordpress.org/trunk@28030
git-svn-id: http://core.svn.wordpress.org/trunk@27860 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-04-08 01:55:15 +00:00
Andrew Nacin
56c1deba7c
Theme Installer: Handle currently installed themes, add search route, let prev/next refresh collections.
...
props matveb.
see #27055 . fixes #27695 .
Built from https://develop.svn.wordpress.org/trunk@28025
git-svn-id: http://core.svn.wordpress.org/trunk@27855 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-04-07 23:04:15 +00:00
Dominik Schilling
f69f3d3d18
Widget Customizer: Cleanup wp.customize.Widgets.SidebarControl
.
...
see #27690 .
Built from https://develop.svn.wordpress.org/trunk@27995
git-svn-id: http://core.svn.wordpress.org/trunk@27825 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-04-07 20:00:16 +00:00
Dominik Schilling
5bd1e16992
Widget Customizer: Cleanup wp.customize.Widgets.WidgetControl
.
...
see #27690 .
Built from https://develop.svn.wordpress.org/trunk@27988
git-svn-id: http://core.svn.wordpress.org/trunk@27818 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-04-07 16:32:15 +00:00
Dominik Schilling
5f76bf3b0d
Widget Customizer: Make the available widgets panel a Backbone view.
...
see #27690 .
Built from https://develop.svn.wordpress.org/trunk@27986
git-svn-id: http://core.svn.wordpress.org/trunk@27816 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-04-07 14:10:14 +00:00
Dominik Schilling
fabc65b787
Widget Customizer: Move WidgetCustomizer
to wp.customize.Widgets
. First pass.
...
see #27690 .
Built from https://develop.svn.wordpress.org/trunk@27985
git-svn-id: http://core.svn.wordpress.org/trunk@27815 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-04-07 09:04:14 +00:00
Dominik Schilling
0c5d4db466
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 .
Built from https://develop.svn.wordpress.org/trunk@27969
git-svn-id: http://core.svn.wordpress.org/trunk@27799 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-04-06 19:06:14 +00:00
Andrew Nacin
7cd04f4829
Theme Installer: Separate API from an event handler to avoid issues where a false return value stops the event.
...
see #27055 .
Built from https://develop.svn.wordpress.org/trunk@27963
git-svn-id: http://core.svn.wordpress.org/trunk@27793 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-04-05 20:46:15 +00:00
Andrew Nacin
9fc1d41ec1
Theme Installer: Use JSONP for api.wordpress.org requests.
...
fixes #27639 .
Built from https://develop.svn.wordpress.org/trunk@27961
git-svn-id: http://core.svn.wordpress.org/trunk@27791 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-04-05 20:28:14 +00:00
Andrew Nacin
e36c1cbf9e
Theme Installer: Fix displaying of errors.
...
props SergeyBiryukov.
fixes #27640 .
Built from https://develop.svn.wordpress.org/trunk@27958
git-svn-id: http://core.svn.wordpress.org/trunk@27788 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-04-05 19:26:14 +00:00
Andrew Ozz
2194145373
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
...
Built from https://develop.svn.wordpress.org/trunk@27951
git-svn-id: http://core.svn.wordpress.org/trunk@27781 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-04-05 01:29:14 +00:00
Andrew Nacin
5e79b94d81
Header images: Handle cropping failures.
...
props ehg.
see #21785 .
Built from https://develop.svn.wordpress.org/trunk@27946
git-svn-id: http://core.svn.wordpress.org/trunk@27776 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-04-04 15:48:16 +00:00
Andrew Ozz
d4755ebea3
TinyMCE: add image backgrounds for more and nextpage tags (also jshint fix for theme.js). Fixes #27106
...
Built from https://develop.svn.wordpress.org/trunk@27944
git-svn-id: http://core.svn.wordpress.org/trunk@27774 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-04-04 05:23:14 +00:00
Andrew Ozz
2d0ce517e8
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
...
Built from https://develop.svn.wordpress.org/trunk@27941
git-svn-id: http://core.svn.wordpress.org/trunk@27771 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-04-04 01:31:15 +00:00
Andrew Nacin
0163a95d79
Theme Installer: Fix sorting, counts, keyboard navigation; add prev/next to previews.
...
props matveb.
see #27055 .
Built from https://develop.svn.wordpress.org/trunk@27937
git-svn-id: http://core.svn.wordpress.org/trunk@27767 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-04-03 23:53:15 +00:00
Dominik Schilling
158597a5e3
Widget Customizer: Restore deferral of previewer-loading
class removal until preview is synced.
...
props westonruter.
fixes #27635 .
Built from https://develop.svn.wordpress.org/trunk@27913
git-svn-id: http://core.svn.wordpress.org/trunk@27744 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-04-02 19:25:15 +00:00
Dominik Schilling
944fba8e2f
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 .
Built from https://develop.svn.wordpress.org/trunk@27909
git-svn-id: http://core.svn.wordpress.org/trunk@27740 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-04-02 18:20:16 +00:00
Dominik Schilling
cde6d602ea
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 .
Built from https://develop.svn.wordpress.org/trunk@27907
git-svn-id: http://core.svn.wordpress.org/trunk@27738 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-04-02 17:04:14 +00:00
Andrew Nacin
d330c402c8
Theme Installer fixes:
...
* Better more filters section. props sonjanyc for some mockups.
* Better handling of no results.
* Use # for hrefs.
props matveb.
see #27055 .
Built from https://develop.svn.wordpress.org/trunk@27896
git-svn-id: http://core.svn.wordpress.org/trunk@27727 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-04-01 22:20:14 +00:00
Dominik Schilling
dc5effa8cc
Cleanup [27892].
...
Built from https://develop.svn.wordpress.org/trunk@27893
git-svn-id: http://core.svn.wordpress.org/trunk@27724 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-04-01 15:30:16 +00:00
Dominik Schilling
ae1f4e146f
Widget Customizer: Use postMessage to highlight widgets in preview or sections/controls in Customizer.
...
fixes #27622 .
Built from https://develop.svn.wordpress.org/trunk@27892
git-svn-id: http://core.svn.wordpress.org/trunk@27723 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-04-01 15:26:15 +00:00
Dominik Schilling
404fe8710d
Widget Customizer: Remove WidgetCustomizer.showFirstSidebarIfRequested().
...
It's currently unused and needs another iteration.
see #27290 .
Built from https://develop.svn.wordpress.org/trunk@27891
git-svn-id: http://core.svn.wordpress.org/trunk@27722 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-04-01 12:38:15 +00:00
Dominik Schilling
6528b7804b
Revert [27654] for strings.
...
props westonruter.
fixes #27485 .
Built from https://develop.svn.wordpress.org/trunk@27890
git-svn-id: http://core.svn.wordpress.org/trunk@27721 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-04-01 11:08:16 +00:00
Andrew Ozz
bfaf007e97
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
Built from https://develop.svn.wordpress.org/trunk@27857
git-svn-id: http://core.svn.wordpress.org/trunk@27688 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-03-29 23:58:14 +00:00
Andrew Nacin
495c73fc1c
Theme Installer: Avoid race condition during pagination.
...
props matveb.
see #27055 .
Built from https://develop.svn.wordpress.org/trunk@27845
git-svn-id: http://core.svn.wordpress.org/trunk@27679 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-03-29 09:09:14 +00:00
Andrew Nacin
6531ed1efc
Theme Installer: Remove unused variables and undesired commas.
...
see #27055 .
Built from https://develop.svn.wordpress.org/trunk@27843
git-svn-id: http://core.svn.wordpress.org/trunk@27677 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-03-29 08:53:16 +00:00
Andrew Nacin
3c1cdaa362
Restyle the image editor so it looks way less hideous.
...
props avryl.
see #27544 .
Built from https://develop.svn.wordpress.org/trunk@27842
git-svn-id: http://core.svn.wordpress.org/trunk@27676 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-03-29 08:51:14 +00:00
Andrew Nacin
e96b783f69
Theme Installer: Caching and paginating of API requests.
...
props matveb.
see #27055 .
Built from https://develop.svn.wordpress.org/trunk@27830
git-svn-id: http://core.svn.wordpress.org/trunk@27664 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-03-28 21:49:14 +00:00
Dominik Schilling
c2f839b7b6
Widget Customizer: Simplify nonces.
...
see #27534 .
Built from https://develop.svn.wordpress.org/trunk@27819
git-svn-id: http://core.svn.wordpress.org/trunk@27653 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-03-28 15:35:15 +00:00
Andrew Ozz
eb146fd12d
Make DFW usable on touch devices: change the toolbar to two rows and keep it and borders visible. See #26907
...
Built from https://develop.svn.wordpress.org/trunk@27806
git-svn-id: http://core.svn.wordpress.org/trunk@27640 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-03-28 04:40:14 +00:00
Helen Hou-Sandí
3c72ba4282
Bring keyboard accessibility to the theme install screen and theme action buttons. props jorbin. see #27521 .
...
Built from https://develop.svn.wordpress.org/trunk@27804
git-svn-id: http://core.svn.wordpress.org/trunk@27638 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-03-28 03:16:15 +00:00
Dominik Schilling
e1e09075d4
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 .
Built from https://develop.svn.wordpress.org/trunk@27798
git-svn-id: http://core.svn.wordpress.org/trunk@27633 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-03-27 23:13:14 +00:00
Andrew Nacin
68bfa704cf
Remove unused JS variables after [27770]. see #27013 .
...
Built from https://develop.svn.wordpress.org/trunk@27783
git-svn-id: http://core.svn.wordpress.org/trunk@27619 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-03-27 17:31:14 +00:00
Andrew Nacin
ce1ace6347
Fix flyout menus on most mobile devices.
...
props ocean90.
fixes #26482 .
Built from https://develop.svn.wordpress.org/trunk@27775
git-svn-id: http://core.svn.wordpress.org/trunk@27612 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-03-27 06:30:14 +00:00
Andrew Ozz
15549e75f3
Remove containment of scrolling inside the editor for now. See #27013
...
Built from https://develop.svn.wordpress.org/trunk@27770
git-svn-id: http://core.svn.wordpress.org/trunk@27607 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-03-27 02:35:14 +00:00
Andrew Nacin
2133c89e8f
Remove select and input from wpautop()'s HTML blocks list.
...
props rachelbaker, DH-Shredder.
fixes #22230 .
Built from https://develop.svn.wordpress.org/trunk@27761
git-svn-id: http://core.svn.wordpress.org/trunk@27598 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-03-27 00:01:15 +00:00
Scott Taylor
d4e46e3f8d
Fix double avatars and JS errors when spamming/trashing comments.
...
Props avryl, SergeyBiryukov.
Fixes #27329 .
Built from https://develop.svn.wordpress.org/trunk@27759
git-svn-id: http://core.svn.wordpress.org/trunk@27596 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-03-26 23:14:15 +00:00
Dominik Schilling
d67790d44e
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 .
Built from https://develop.svn.wordpress.org/trunk@27757
git-svn-id: http://core.svn.wordpress.org/trunk@27594 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-03-26 22:56:29 +00:00
Andrew Nacin
84a4d86536
Themes screens: Bump to 20 items per page so it fills a high resolution display. see #26968 .
...
Built from https://develop.svn.wordpress.org/trunk@27744
git-svn-id: http://core.svn.wordpress.org/trunk@27581 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-03-26 17:46:16 +00:00
Andrew Ozz
339a33bb45
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
...
Built from https://develop.svn.wordpress.org/trunk@27728
git-svn-id: http://core.svn.wordpress.org/trunk@27565 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-03-25 22:22:14 +00:00
Dominik Schilling
b7d77cd8bf
Widget Customizer: Fix shift+click issue in Firefox to open a widget.
...
props westonruter.
see #27358 .
Built from https://develop.svn.wordpress.org/trunk@27701
git-svn-id: http://core.svn.wordpress.org/trunk@27540 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-03-25 11:23:15 +00:00
Scott Taylor
d85ac5b841
Let us pass jshint:core
.
...
Built from https://develop.svn.wordpress.org/trunk@27693
git-svn-id: http://core.svn.wordpress.org/trunk@27532 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-03-24 23:02:13 +00:00
Dominik Schilling
290e5e5271
Widget Customizer: Use Underscores indexOf
for IE8 compatibility.
...
props adamsilverstein.
see #27485 .
Built from https://develop.svn.wordpress.org/trunk@27654
git-svn-id: http://core.svn.wordpress.org/trunk@27497 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-03-22 21:22:13 +00:00
Dominik Schilling
21158f33f7
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 .
Built from https://develop.svn.wordpress.org/trunk@27653
git-svn-id: http://core.svn.wordpress.org/trunk@27496 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-03-22 21:04:15 +00:00
Dominik Schilling
9b0ec406d1
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 .
Built from https://develop.svn.wordpress.org/trunk@27652
git-svn-id: http://core.svn.wordpress.org/trunk@27495 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-03-22 20:55:18 +00:00
Dominik Schilling
3da04163cf
Widget Customizer: Improve widget search.
...
* Removes jQuery.liveFilter dependency
* Filters widget collection directly
* Widget's name, ID and description will be searched
fixes #27451 .
Built from https://develop.svn.wordpress.org/trunk@27650
git-svn-id: http://core.svn.wordpress.org/trunk@27493 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-03-21 21:13:15 +00:00
Dominik Schilling
1b2bb74f76
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 .
Built from https://develop.svn.wordpress.org/trunk@27649
git-svn-id: http://core.svn.wordpress.org/trunk@27492 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-03-21 21:04:15 +00:00
Andrew Ozz
4e30461545
Editing image file: properly refresh the view after restoring the original image or rescaling the image. Props gcorne, see #21811
...
Built from https://develop.svn.wordpress.org/trunk@27644
git-svn-id: http://core.svn.wordpress.org/trunk@27487 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-03-20 23:25:14 +00:00
Scott Taylor
4ad3972f74
Fixes for jshint
...
Built from https://develop.svn.wordpress.org/trunk@27643
git-svn-id: http://core.svn.wordpress.org/trunk@27486 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-03-20 22:27:15 +00:00
Andrew Nacin
3c15a9c9f2
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 .
Built from https://develop.svn.wordpress.org/trunk@27636
git-svn-id: http://core.svn.wordpress.org/trunk@27479 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-03-20 04:20:15 +00:00
Dominik Schilling
64af78ca43
Widget Customizer: Restore highlighting of widgets in preview.
...
props westonruter.
see #27358 .
Built from https://develop.svn.wordpress.org/trunk@27584
git-svn-id: http://core.svn.wordpress.org/trunk@27427 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-03-18 15:21:15 +00:00
John Blackbourn
181c2d091e
Remove the "See more" toggle from the At a Glance dashboard widget. Fixes #26614 .
...
Built from https://develop.svn.wordpress.org/trunk@27583
git-svn-id: http://core.svn.wordpress.org/trunk@27426 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-03-18 12:56:14 +00:00
Andrew Ozz
513b6992e5
Restyle the plugin install details modal to match the rest of the admin. Props avryl and paulwilde for initial mockup, see #26952
...
Built from https://develop.svn.wordpress.org/trunk@27559
git-svn-id: http://core.svn.wordpress.org/trunk@27402 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-03-16 18:28:17 +00:00
Andrew Nacin
0f32a52afa
Themes screens: Lose search input focus when pressing enter.
...
This allows the keyboard to close on iOS, for example.
props matveb.
fixes #27233 .
Built from https://develop.svn.wordpress.org/trunk@27555
git-svn-id: http://core.svn.wordpress.org/trunk@27398 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-03-15 05:14:15 +00:00
Dominik Schilling
574c2967b5
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 .
Built from https://develop.svn.wordpress.org/trunk@27540
git-svn-id: http://core.svn.wordpress.org/trunk@27383 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-03-14 19:16:14 +00:00
John Blackbourn
184dc2bc33
figcaption
should not be treated as a block-level element by wpautop()
. See #25646 . Props oso96_2000.
...
Built from https://develop.svn.wordpress.org/trunk@27527
git-svn-id: http://core.svn.wordpress.org/trunk@27370 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-03-13 21:51:16 +00:00
Dominik Schilling
f46a085f7c
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 .
Built from https://develop.svn.wordpress.org/trunk@27524
git-svn-id: http://core.svn.wordpress.org/trunk@27367 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-03-13 18:38:14 +00:00
Andrew Nacin
8e6ec4f72c
Use correct variable in themes JS, fixes themes.php.
...
props SergeyBiryukov.
fixes #27360 .
Built from https://develop.svn.wordpress.org/trunk@27509
git-svn-id: http://core.svn.wordpress.org/trunk@27352 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-03-12 00:29:15 +00:00
Andrew Nacin
9aca2a65f8
Bring the theme browsing experience from 3.8 to the theme installer. First pass.
...
props matveb with assists from me and gcorne.
see #27055 .
Built from https://develop.svn.wordpress.org/trunk@27499
git-svn-id: http://core.svn.wordpress.org/trunk@27341 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-03-11 07:47:15 +00:00
Andrew Nacin
69ccc8b53d
JS linting for [27497].
...
see #21785 .
Built from https://develop.svn.wordpress.org/trunk@27498
git-svn-id: http://core.svn.wordpress.org/trunk@27340 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-03-11 04:20:14 +00:00
Andrew Nacin
a589d9d757
Add header image uploads with cropping to the customizer.
...
props mcsf, ehg, gcorne.
see #21785 .
Built from https://develop.svn.wordpress.org/trunk@27497
git-svn-id: http://core.svn.wordpress.org/trunk@27339 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-03-11 04:13:16 +00:00
Helen Hou-Sandí
4bb7e03548
At long last, a first pass at bringing the image editor into the media modal. props gcorne, DH-Shredder, tomauger. see #21811 .
...
Built from https://develop.svn.wordpress.org/trunk@27445
git-svn-id: http://core.svn.wordpress.org/trunk@27292 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-03-06 22:55:14 +00:00
Scott Taylor
01c0b48822
Make widget customizer code pass JSHint.
...
Fixes #27298 .
Built from https://develop.svn.wordpress.org/trunk@27436
git-svn-id: http://core.svn.wordpress.org/trunk@27283 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-03-06 16:45:15 +00:00
Andrew Nacin
e853a9cc57
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 .
Built from https://develop.svn.wordpress.org/trunk@27419
git-svn-id: http://core.svn.wordpress.org/trunk@27266 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-03-05 20:41:14 +00:00
Andrew Ozz
7121bb490d
Restyles the modal for attaching media to posts, take II (also some autoprefixer and imagemin). Props avryl, see #26952 .
...
Built from https://develop.svn.wordpress.org/trunk@27403
git-svn-id: http://core.svn.wordpress.org/trunk@27250 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-03-05 03:54:15 +00:00
Andrew Ozz
19efb78b48
Restyles the modal for attaching media to posts, props avryl, see #26952
...
Built from https://develop.svn.wordpress.org/trunk@27401
git-svn-id: http://core.svn.wordpress.org/trunk@27248 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-03-04 23:11:13 +00:00
Andrew Ozz
2ccc89edfd
DFW: revert adding the 'image' button, images are edited in the media modal. See #24067 .
...
Built from https://develop.svn.wordpress.org/trunk@27391
git-svn-id: http://core.svn.wordpress.org/trunk@27239 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-03-04 04:08:14 +00:00
Andrew Ozz
cab6362f2b
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
...
Built from https://develop.svn.wordpress.org/trunk@27368
git-svn-id: http://core.svn.wordpress.org/trunk@27218 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-03-03 02:34:14 +00:00
Andrew Nacin
7481fd46d0
Themes screen: Clicking back through history should properly close the overlay.
...
props gcorne.
fixes #27198 .
Built from https://develop.svn.wordpress.org/trunk@27306
git-svn-id: http://core.svn.wordpress.org/trunk@27159 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-02-27 00:18:13 +00:00
Andrew Nacin
0406d292c9
Remove title attributes on the fly when [27280] makes them incorrect. see #17703 .
...
Built from https://develop.svn.wordpress.org/trunk@27281
git-svn-id: http://core.svn.wordpress.org/trunk@27137 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-02-26 07:37:14 +00:00
Andrew Nacin
13e868ac55
Decrement update count bubbles as plugins/themes are updated, live.
...
props gcorne, mitchoyoshitaka.
fixes #17703 .
Built from https://develop.svn.wordpress.org/trunk@27280
git-svn-id: http://core.svn.wordpress.org/trunk@27136 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-02-26 06:55:14 +00:00
Andrew Nacin
2abdda257c
Remove unused routing code in revisions.
...
props adamsilverstein.
fixes #26565 .
Built from https://develop.svn.wordpress.org/trunk@27273
git-svn-id: http://core.svn.wordpress.org/trunk@27129 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-02-25 20:07:14 +00:00
Mark Jaquith
acb65e13c3
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.
Built from https://develop.svn.wordpress.org/trunk@27268
git-svn-id: http://core.svn.wordpress.org/trunk@27124 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-02-25 19:22:13 +00:00
Sergey Biryukov
51d07be5fc
Fix thickbox positioning if toolbar is not present.
...
fixes #26745 .
Built from https://develop.svn.wordpress.org/trunk@27248
git-svn-id: http://core.svn.wordpress.org/trunk@27105 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-02-25 00:26:13 +00:00
Andrew Nacin
6adabc6e4d
Various JSHint fixes. see #26446 .
...
Built from https://develop.svn.wordpress.org/trunk@27131
git-svn-id: http://core.svn.wordpress.org/trunk@26998 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-02-08 00:52:12 +00:00
Andrew Nacin
d4f8de5c92
Revisions browser: The back button should return to the post you were editing (use replaceState instead of pushState).
...
props adamsilverstein.
fixes #26997 .
Built from https://develop.svn.wordpress.org/trunk@27114
git-svn-id: http://core.svn.wordpress.org/trunk@26981 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-02-06 23:28:12 +00:00
Andrew Nacin
12a64b39db
Fix the conditional enqueueing/printing of colors stylesheets, without breaking dependencies.
...
fixes #18380 .
see #20729 which should properly fix this.
Built from https://develop.svn.wordpress.org/trunk@27111
git-svn-id: http://core.svn.wordpress.org/trunk@26978 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-02-06 22:16:11 +00:00
Andrew Ozz
5ea367cfe1
Fix scrolling inside the Visual editor on MacOS, add the same functionality to the Text editor, see #27013
...
Built from https://develop.svn.wordpress.org/trunk@27110
git-svn-id: http://core.svn.wordpress.org/trunk@26977 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-02-06 19:34:12 +00:00
Andrew Ozz
93d3e3efb6
Minor cleanup (jshint) of wp-fullscreen.js and /wordpress/plugin.js, see #24067
...
Built from https://develop.svn.wordpress.org/trunk@27085
git-svn-id: http://core.svn.wordpress.org/trunk@26958 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-02-03 21:31:13 +00:00
Andrew Ozz
2f6d9d37cc
Consolidate "close on Escape" in the media modal, DFW, wpLink and Thickbox. Props kovshenin, fixes #26854 .
...
Built from https://develop.svn.wordpress.org/trunk@27080
git-svn-id: http://core.svn.wordpress.org/trunk@26953 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-02-03 05:31:14 +00:00
Andrew Ozz
87c3c8adc0
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 .
...
Built from https://develop.svn.wordpress.org/trunk@27079
git-svn-id: http://core.svn.wordpress.org/trunk@26952 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-02-02 23:50:13 +00:00
Scott Taylor
0347a8944e
Update the versions of several devDependencies
in package.json
. grunt-cssjanus
has been updated to 0.2.2
, we no longer need the fork. Run npm install
to receive updates for node_modules
in the project root.
...
Props yoavf, TobiasBg.
Fixes #26073 .
Built from https://develop.svn.wordpress.org/trunk@27053
git-svn-id: http://core.svn.wordpress.org/trunk@26927 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-01-29 04:43:30 +00:00
Helen Hou-Sandí
291ed370b4
Autocomplete for the new site admin email. Better than trying to remember which email address you used.
...
fixes #25348 .
Built from https://develop.svn.wordpress.org/trunk@27046
git-svn-id: http://core.svn.wordpress.org/trunk@26920 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-01-27 23:10:12 +00:00
Andrew Ozz
864ab9ae56
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 .
Built from https://develop.svn.wordpress.org/trunk@27038
git-svn-id: http://core.svn.wordpress.org/trunk@26914 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-01-27 00:28:13 +00:00
Andrew Ozz
61540893f3
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 .
...
Built from https://develop.svn.wordpress.org/trunk@27035
git-svn-id: http://core.svn.wordpress.org/trunk@26911 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-01-26 03:07:16 +00:00
Andrew Nacin
ab733945b5
Properly detect line height of Quick Draft textarea.
...
props batmoo.
fixes #26915 for trunk.
Built from https://develop.svn.wordpress.org/trunk@27021
git-svn-id: http://core.svn.wordpress.org/trunk@26897 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-01-23 18:03:12 +00:00
Andrew Ozz
4d531835a8
Autosave: don't set "submit" buttons to disabled right before submitting the form. They are not sent with the form data, see #25272 .
...
Built from https://develop.svn.wordpress.org/trunk@27015
git-svn-id: http://core.svn.wordpress.org/trunk@26892 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-01-22 21:26:10 +00:00
Andrew Nacin
e18a013956
Themes screen: Add aria-describedby attributes to provide better information to screen readers.
...
props joedolson for initial patch.
fixes #26602 for trunk.
Built from https://develop.svn.wordpress.org/trunk@27012
git-svn-id: http://core.svn.wordpress.org/trunk@26889 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-01-22 21:00:11 +00:00
Andrew Ozz
33c41db77a
Improve keyboard accessibility for the admin menu when in responsive mode, props SergeyBiryukov, fixes #26639 for trunk.
...
Built from https://develop.svn.wordpress.org/trunk@27011
git-svn-id: http://core.svn.wordpress.org/trunk@26888 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-01-22 20:08:11 +00:00
Andrew Ozz
97afd9c251
Autosave: don't disable the buttons on previewing a post, see #25272 .
...
Built from https://develop.svn.wordpress.org/trunk@27003
git-svn-id: http://core.svn.wordpress.org/trunk@26880 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-01-22 17:58:12 +00:00
Andrew Ozz
335add2573
Autosave: refactor autosave.js, use heartbeat for transport and move all "Add/Edit Post" related functionality to post.js. See #25272 .
...
Built from https://develop.svn.wordpress.org/trunk@26995
git-svn-id: http://core.svn.wordpress.org/trunk@26872 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-01-22 04:56:16 +00:00
Andrew Ozz
920af73acd
DFW: fix reference to off() when pressing Esc. Props kovshenin, see #24067 .
...
Built from https://develop.svn.wordpress.org/trunk@26966
git-svn-id: http://core.svn.wordpress.org/trunk@26845 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-01-17 00:13:11 +00:00
Andrew Ozz
71101bc9e2
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 .
...
Built from https://develop.svn.wordpress.org/trunk@26945
git-svn-id: http://core.svn.wordpress.org/trunk@26824 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-01-14 23:35:11 +00:00
Andrew Nacin
9e942606c8
Keyboard navigation friendliness for themes.php.
...
props matveb, azaozz, jorbin.
see #26527 .
Built from https://develop.svn.wordpress.org/trunk@26922
git-svn-id: http://core.svn.wordpress.org/trunk@26803 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-01-08 21:35:09 +00:00
Andrew Nacin
56e3b1f46e
Themes: Search the theme's slug too.
...
props matveb.
see #26730 for trunk.
Built from https://develop.svn.wordpress.org/trunk@26921
git-svn-id: http://core.svn.wordpress.org/trunk@26802 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-01-08 21:29:10 +00:00
Andrew Ozz
87c75ab93a
DFW: fix buttons and the title width, make the fade out/in when opening and closing a bit faster. See #24067 .
...
Built from https://develop.svn.wordpress.org/trunk@26896
git-svn-id: http://core.svn.wordpress.org/trunk@26779 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-01-02 04:18:10 +00:00
Andrew Ozz
2a68f85fa1
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 .
Built from https://develop.svn.wordpress.org/trunk@26889
git-svn-id: http://core.svn.wordpress.org/trunk@26772 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-01-02 00:11:14 +00:00
Sergey Biryukov
db094e0f30
Add missing id attribute to "Search Installed Themes" input.
...
fixes #26599 for trunk.
Built from https://develop.svn.wordpress.org/trunk@26885
git-svn-id: http://core.svn.wordpress.org/trunk@26768 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-31 10:44:11 +00:00
Andrew Ozz
855889f7aa
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 .
Built from https://develop.svn.wordpress.org/trunk@26876
git-svn-id: http://core.svn.wordpress.org/trunk@26759 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-28 23:53:15 +00:00
Drew Jaynes
cd8cedc40d
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 .
Built from https://develop.svn.wordpress.org/trunk@26868
git-svn-id: http://core.svn.wordpress.org/trunk@26754 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-24 18:57:12 +00:00
Ryan Boren
07c16fd23c
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.
Built from https://develop.svn.wordpress.org/trunk@26851
git-svn-id: http://core.svn.wordpress.org/trunk@26738 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-11 19:49:11 +00:00
Andrew Ozz
4f44dc74b1
Themes: fix overlays and buttons in responsive mode, props matveb, fixes #26481 .
...
Built from https://develop.svn.wordpress.org/trunk@26838
git-svn-id: http://core.svn.wordpress.org/trunk@26725 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-09 19:38:10 +00:00
Andrew Nacin
87265a374b
Themes: use explicit 'search installed themes' label and placeholder.
...
fixes #26496 .
Built from https://develop.svn.wordpress.org/trunk@26827
git-svn-id: http://core.svn.wordpress.org/trunk@26714 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-09 07:41:10 +00:00
Andrew Nacin
2530fbbfba
Themes: Avoid a JS error in the keyup event handler when the overlay is not yet initialized.
...
fixes #26497 .
Built from https://develop.svn.wordpress.org/trunk@26826
git-svn-id: http://core.svn.wordpress.org/trunk@26713 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-09 07:07:10 +00:00
Andrew Ozz
3bdfaafaa0
Fix error in postbox.js attempting to change screen columns on mobile devices orientation changes, fixes #26493 .
...
Built from https://develop.svn.wordpress.org/trunk@26822
git-svn-id: http://core.svn.wordpress.org/trunk@26709 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-09 04:21:10 +00:00
Andrew Nacin
6d226fb454
Don't set the theme overlay active state in the Theme view, as it overwrites the same work in the Details view.
...
fixes #26481 .
Built from https://develop.svn.wordpress.org/trunk@26815
git-svn-id: http://core.svn.wordpress.org/trunk@26702 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-09 01:27:10 +00:00
Matt Thomas
cd465575f1
Expand the Quick Draft section by default. Fixes #26463 , props bassgang.
...
Built from https://develop.svn.wordpress.org/trunk@26813
git-svn-id: http://core.svn.wordpress.org/trunk@26700 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-09 00:43:11 +00:00
Andrew Ozz
95a02fbe43
Fake a "non-responsive" window width for IE < 9 when folding/unfolding the menu (old IE doesn't support @media), fixes #26458 .
...
Built from https://develop.svn.wordpress.org/trunk@26785
git-svn-id: http://core.svn.wordpress.org/trunk@26672 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-07 18:46:11 +00:00
Andrew Nacin
71fa7d8e6c
Fix JSHint errors and remove unreachable code. props adamsilverstein. see #25963 .
...
Built from https://develop.svn.wordpress.org/trunk@26778
git-svn-id: http://core.svn.wordpress.org/trunk@26665 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-07 07:52:11 +00:00
Andrew Nacin
c09252b950
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 .
Built from https://develop.svn.wordpress.org/trunk@26776
git-svn-id: http://core.svn.wordpress.org/trunk@26663 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-07 07:46:21 +00:00
Ryan Boren
b07b8d4fe8
Make the Backbone routes pushSTate capable with ?theme=themename type urls instead of hashes. Same applies to search queries.
...
Props adamsilverstein, nacin
fixes #25963
Built from https://develop.svn.wordpress.org/trunk@26767
git-svn-id: http://core.svn.wordpress.org/trunk@26655 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-07 03:11:10 +00:00
Andrew Nacin
51a89c8ae6
Themes: Ensure the image returns a width before checking that it is less than 300px.
...
see #26459 .
Built from https://develop.svn.wordpress.org/trunk@26765
git-svn-id: http://core.svn.wordpress.org/trunk@26653 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-07 01:59:10 +00:00
Matt Thomas
e0957c8eb7
Adding autosave for color schemes and removing RTL handling. See #26387 , props ryelle.
...
Built from https://develop.svn.wordpress.org/trunk@26746
git-svn-id: http://core.svn.wordpress.org/trunk@26634 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-06 21:26:10 +00:00
Andrew Ozz
2da2559d26
Responsive menu: fix calculation of the responsive trigger width from JS. It is affected by a vertical scrollbar width in some browsers. See #26458 .
...
Built from https://develop.svn.wordpress.org/trunk@26743
git-svn-id: http://core.svn.wordpress.org/trunk@26632 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-06 20:50:10 +00:00
Andrew Nacin
3964c1f132
Themes: If a theme only has a very-old-school 300px-wide screenshot (or narrower), don't stretch it.
...
props matveb.
fixes #26459 .
Built from https://develop.svn.wordpress.org/trunk@26738
git-svn-id: http://core.svn.wordpress.org/trunk@26627 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-06 19:42:11 +00:00
Matt Thomas
41b8584cd2
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.
Built from https://develop.svn.wordpress.org/trunk@26737
git-svn-id: http://core.svn.wordpress.org/trunk@26626 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-06 19:36:11 +00:00
Andrew Nacin
32736c45ff
Remove screenshotGallery. see #25948 .
...
Built from https://develop.svn.wordpress.org/trunk@26728
git-svn-id: http://core.svn.wordpress.org/trunk@26617 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-06 17:11:10 +00:00
Andrew Nacin
df48cebeb4
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 .
Built from https://develop.svn.wordpress.org/trunk@26726
git-svn-id: http://core.svn.wordpress.org/trunk@26615 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-06 16:11:10 +00:00