Ella Iseulde Van Dorpe
fd95002b2a
Editor: restructure word count
...
* The WordCounter should only do one thing: count words. This makes it also easier to test.
* Add some really basic unit tests.
* Instead of only refreshing the count on enter and delete, refresh the count when the user stops typing. Also look at paste and content changes in TinyMCE.
* Use `match` instead of `replace` when it is appropriate.
* More readable code.
See #30966 . Fixes #26620 .
Built from https://develop.svn.wordpress.org/trunk@32856
git-svn-id: http://core.svn.wordpress.org/trunk@32827 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-06-19 10:35:26 +00:00
Dominik Schilling
f5fa907f77
Customizer: Improve accessibility of Add Menu Items button and its panel.
...
props afercia, ocean90.
fixes #32682 .
Built from https://develop.svn.wordpress.org/trunk@32848
git-svn-id: http://core.svn.wordpress.org/trunk@32819 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-06-18 20:52:24 +00:00
Konstantin Obenland
c1a9c4b7b8
Semanticize Help and Screen Options toggle.
...
Links used as UI controls that are not real links but act as buttons, should be buttons.
Props afercia.
Fixes #32494 .
Built from https://develop.svn.wordpress.org/trunk@32844
git-svn-id: http://core.svn.wordpress.org/trunk@32815 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-06-18 16:36:25 +00:00
Andrew Ozz
bc2630e099
Press This: Check the embeds list against all of the oembed providers.
...
Props stephdau. Fixes #32069 .
Built from https://develop.svn.wordpress.org/trunk@32828
git-svn-id: http://core.svn.wordpress.org/trunk@32799 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-06-18 00:12:26 +00:00
Dominik Schilling
5864a7ad44
Customizer: Fix keyboard events for the menu items search field.
...
Replace the `change` event with `keyup`, see https://core.trac.wordpress.org/ticket/26600#comment:59 for background.
props tywayne.
fixes #32677 .
Built from https://develop.svn.wordpress.org/trunk@32824
git-svn-id: http://core.svn.wordpress.org/trunk@32795 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-06-17 21:37:27 +00:00
Ella Iseulde Van Dorpe
1a4c6ad45d
JSHint after [32806]
...
See #32576 .
Built from https://develop.svn.wordpress.org/trunk@32815
git-svn-id: http://core.svn.wordpress.org/trunk@32786 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-06-17 04:15:26 +00:00
Dominik Schilling
ac33d71623
Fix a typo in [32806].
...
see #32576 .
Built from https://develop.svn.wordpress.org/trunk@32808
git-svn-id: http://core.svn.wordpress.org/trunk@32779 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-06-16 23:09:25 +00:00
Dominik Schilling
62e3a0c15c
Add menu management to the Customizer.
...
This brings in the Menu Customizer plugin: https://wordpress.org/plugins/menu-customizer/ .
props celloexpressions, westonruter, valendesigns, voldemortensen, ocean90, adamsilverstein, kucrut, jorbin, designsimply, afercia, davidakennedy, obenland.
see #32576 .
Built from https://develop.svn.wordpress.org/trunk@32806
git-svn-id: http://core.svn.wordpress.org/trunk@32777 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-06-16 22:08:26 +00:00
Dion Hulse
629545aaf5
Updates: When an update fails (and it's not during the credential form) allow further updates to continue, with the assumption that the error only affects a single plugin.
...
Props magicroundabout. Fixes #32110 for trunk.
Built from https://develop.svn.wordpress.org/trunk@32780
git-svn-id: http://core.svn.wordpress.org/trunk@32751 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-06-15 04:28:25 +00:00
Dion Hulse
6eef8a8ff2
Updates: Display the failure reason in addition to 'Update Failed', allows for debugging by site owners.
...
Fixes #32435 , #32473
Built from https://develop.svn.wordpress.org/trunk@32779
git-svn-id: http://core.svn.wordpress.org/trunk@32750 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-06-15 03:48:28 +00:00
Dion Hulse
04325cd834
Updates: Better handling when the credential form is long (such as when SSH is active). This adds scrolling to the dialogue, and hides the SSH-specific fields when not using the SSH handler.
...
See #32435
Built from https://develop.svn.wordpress.org/trunk@32777
git-svn-id: http://core.svn.wordpress.org/trunk@32748 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-06-15 03:20:28 +00:00
Dion Hulse
a4b4918377
Updates: When a connection failure occurs, and no credential form is present client side, allow it to fall through to the normal failure handlers.
...
See #32435
Built from https://develop.svn.wordpress.org/trunk@32776
git-svn-id: http://core.svn.wordpress.org/trunk@32747 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-06-15 02:48:28 +00:00
Scott Taylor
18827ed337
In wp_ajax_hidden_columns()
, don't explode()
on an empty string.
...
In `columns.hidden()`, which lives in `common.js`, don't return items with no `id`.
This was resulting in options like `manageedit-postcolumnshidden` containing a serialized array with random empty items.
Props afercia, wonderboymusic.
Fixes #32466 .
Built from https://develop.svn.wordpress.org/trunk@32751
git-svn-id: http://core.svn.wordpress.org/trunk@32722 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-06-13 15:00:25 +00:00
Dominik Schilling
fe31ed1e5f
Nav menu: Allow the sortable items selector in wpNavMenu
to be overridden.
...
props adamsilverstein.
fixes #32633 .
Built from https://develop.svn.wordpress.org/trunk@32745
git-svn-id: http://core.svn.wordpress.org/trunk@32716 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-06-13 14:03:25 +00:00
Weston Ruter
40ad21b58b
Fix regressions from [32649] wrt Customizer expanded
and active
state changes for sections.
...
The `args.completeCallback` was not always called when `onChangeExpanded()` was called. And when a section became inactive (`active` state goes to `false`) and it was currently `expanded`, the Customizer panel would then becomes blank as the section was hidden; it needed to `collapse()` the section first before hiding the element.
See #31336 .
Built from https://develop.svn.wordpress.org/trunk@32743
git-svn-id: http://core.svn.wordpress.org/trunk@32714 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-06-12 22:28:25 +00:00
Helen Hou-Sandí
c87224eaf6
List tables: Use a class instead of inline styles for hidden columns.
...
fixes #32608 .
Built from https://develop.svn.wordpress.org/trunk@32724
git-svn-id: http://core.svn.wordpress.org/trunk@32694 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-06-10 19:47:27 +00:00
Konstantin Obenland
bafb008be1
When inline editing a post, reset password field to be editable by default.
...
The Quick Edit form is cloned and then populated with post-specific data. If the
previous post was private, the password field would continue to be disabled for
the next post.
Props afercia.
Fixes #32259 .
Built from https://develop.svn.wordpress.org/trunk@32716
git-svn-id: http://core.svn.wordpress.org/trunk@32686 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-06-09 22:02:27 +00:00
Helen Hou-Sandí
9d0ab29bc4
Nav menus: Provide visual feedback when attempting to add an empty custom link.
...
props pragunbhutani for the initial patch.
fixes #18517 .
Built from https://develop.svn.wordpress.org/trunk@32690
git-svn-id: http://core.svn.wordpress.org/trunk@32660 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-06-04 04:31:26 +00:00
John Blackbourn
acec5066f6
Switch to pointer tolerance for improved drag and drop behaviour when reordering widgets.
...
Props jkudish, MikeHansenMe.
Fixes #20791
Built from https://develop.svn.wordpress.org/trunk@32689
git-svn-id: http://core.svn.wordpress.org/trunk@32659 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-06-03 22:59:25 +00:00
Dominik Schilling
974ca19e36
Customizer: Improve JS templates for Panels and Sections added in [32658].
...
* Always fall back to using the default template if no custom template exists.
* Provide a set of default params when constructing new `Section` and `Panel` objects.
Includes QUnit tests.
Props celloexpressions, westonruter, ocean90.
Fixes #30737 .
Built from https://develop.svn.wordpress.org/trunk@32681
git-svn-id: http://core.svn.wordpress.org/trunk@32651 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-06-01 22:47:25 +00:00
Andrew Ozz
02f5020d52
Editor: run autosave when pressing Ctrl or Command + S in the Text editor, same as the Visual editor.
...
Fixes #31655 .
Built from https://develop.svn.wordpress.org/trunk@32680
git-svn-id: http://core.svn.wordpress.org/trunk@32650 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-06-01 19:02:25 +00:00
Andrew Ozz
b3d04247b7
Editor:
...
- Remove the old DFW.
- Add back-compat stub for wp-fullscreen.js.
- Keep wp_ajax_wp_fullscreen_save_post() for now.
See #30949 .
Built from https://develop.svn.wordpress.org/trunk@32677
git-svn-id: http://core.svn.wordpress.org/trunk@32647 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-06-01 17:38:29 +00:00
Sergey Biryukov
ecf0bcc9fc
Revert a part of [32673] that caused a fatal error with SCRIPT_DEBUG
disabled.
...
see #19257 .
Built from https://develop.svn.wordpress.org/trunk@32676
git-svn-id: http://core.svn.wordpress.org/trunk@32646 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-06-01 04:14:25 +00:00
John Blackbourn
02192cb53f
Introduce featured_image
, set_featured_image
, remove_featured_image
, and use_featured_image
post type labels when registering a post type in order to override the 'Featured Image' text and its related phrases.
...
Props johnbillion, mordauk, valendesigns.
Fixes #19257 .
Built from https://develop.svn.wordpress.org/trunk@32673
git-svn-id: http://core.svn.wordpress.org/trunk@32643 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-05-31 16:54:27 +00:00
Weston Ruter
98b03d376e
Add JS templates for Customizer Panels and Sections.
...
This extends the approach taken for Customizer Controls in #29572 .
Props celloexpressions, westonruter, ocean90.
See #30737 .
Built from https://develop.svn.wordpress.org/trunk@32658
git-svn-id: http://core.svn.wordpress.org/trunk@32628 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-05-30 00:03:30 +00:00
Dominik Schilling
fccc19b510
Customizer: Replace accordion behavior of sections with a slide-in navigation.
...
This allows users to focus on the contents of the active section more easily and separating the navigation from the content/controls in the Customizer.
props valendesigns, celloexpressions.
see #31336 .
Built from https://develop.svn.wordpress.org/trunk@32649
git-svn-id: http://core.svn.wordpress.org/trunk@32619 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-05-29 13:57:26 +00:00
Helen Hou-Sandí
fbb83441cb
After [32644], sanity for a pile of selectors.
...
see #25408 .
Built from https://develop.svn.wordpress.org/trunk@32645
git-svn-id: http://core.svn.wordpress.org/trunk@32615 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-05-29 03:00:26 +00:00
Andrew Ozz
8cbfdfa51b
Fix dragging to the bottom of the screen on the Dashboard.
...
Props eltobiano. See #32094 .
Built from https://develop.svn.wordpress.org/trunk@32505
git-svn-id: http://core.svn.wordpress.org/trunk@32475 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-05-14 23:50:28 +00:00
Andrew Ozz
fe427017a5
Fix comments postbox:
...
- Add comment button text.
- Positioning of the Author, Email, URL fields.
Fixes #32349 .
Built from https://develop.svn.wordpress.org/trunk@32495
git-svn-id: http://core.svn.wordpress.org/trunk@32465 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-05-12 01:22:25 +00:00
Andrew Ozz
999ae33a2e
Widgets:
...
- Fix dragging to the bottom of the screen.
- Fix hiding of the dragged widget when dragging over a closed sidebar.
- Fix the admin menu position and scrolling when all widget containers are folded.
Fixes #32094 for trunk.
Built from https://develop.svn.wordpress.org/trunk@32480
git-svn-id: http://core.svn.wordpress.org/trunk@32450 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-05-10 00:32:31 +00:00
Andrew Ozz
a5cee54aea
Emoji: rename the exclude class to wp-exclude-emoji.
...
Props Clorith. See #32197 .
Built from https://develop.svn.wordpress.org/trunk@32337
git-svn-id: http://core.svn.wordpress.org/trunk@32308 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-05-04 00:05:28 +00:00
Andrew Ozz
8eb93bc838
Emoji: add an exclude class to wp-emoji checked when monitoring for changes with mutationObserver. Use it for the hidden div used for resizing the Text editor.
...
See #32197 .
Built from https://develop.svn.wordpress.org/trunk@32336
git-svn-id: http://core.svn.wordpress.org/trunk@32307 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-05-03 20:18:26 +00:00
Dominik Schilling
aea00880f1
Don't try to focus disabled input fields in the request filesystem credentials form.
...
fixes #32064 .
Built from https://develop.svn.wordpress.org/trunk@32267
git-svn-id: http://core.svn.wordpress.org/trunk@32238 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-04-22 16:57:26 +00:00
Helen Hou-Sandí
f861754016
Customizer: Better experience for widget filtering in desktop and iOS Safari.
...
Previously, the search field did not appear at all in desktop Safari, and the auto-focus keyboard fly-up in iOS rendered widget adding frustrating at best.
props dsmart, ocean90.
fixes #31987 .
Built from https://develop.svn.wordpress.org/trunk@32243
git-svn-id: http://core.svn.wordpress.org/trunk@32214 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-04-21 14:15:26 +00:00
Gary Pendergast
e3f1f8fed1
Ensure post titles are correctly escaped on the Dashboard.
...
Props helen, ocean90, dd32, pento.
Built from https://develop.svn.wordpress.org/trunk@32175
git-svn-id: http://core.svn.wordpress.org/trunk@32150 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-04-20 07:39:25 +00:00
Aaron Jorbin
ee9adc354a
Move wp-plugin-update-success event to after lock is released
...
Fixes #31978
See #31819
Props DavidAnderson
Built from https://develop.svn.wordpress.org/trunk@32133
git-svn-id: http://core.svn.wordpress.org/trunk@32112 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-04-15 14:37:27 +00:00
Aaron Jorbin
a07e9e127f
Use named function instead of anonymous function
...
The named function is testable and replaceable.
Fixes #31964
Props DavidAnderson, adamsilverstein, jorbin
Built from https://develop.svn.wordpress.org/trunk@32126
git-svn-id: http://core.svn.wordpress.org/trunk@32105 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-04-14 16:42:26 +00:00
Dominik Schilling
7b24017cdb
Customizer Theme Switcher: Don't re-render a theme control if it has already been rendered.
...
Move initialization of `$customizeSidebar` to `api.ThemesSection.initialize()` to prevent cases where the result can be undefined.
props westonruter, ocean90.
fixes #31793 .
Built from https://develop.svn.wordpress.org/trunk@32119
git-svn-id: http://core.svn.wordpress.org/trunk@32098 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-04-13 22:10:29 +00:00
Andrew Ozz
ad475b3c69
Press This: check the bookmarklet version and add the update notice from PHP.
...
Fixes #31942 .
Built from https://develop.svn.wordpress.org/trunk@32106
git-svn-id: http://core.svn.wordpress.org/trunk@32085 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-04-10 21:08:29 +00:00
Andrew Ozz
923ca312e4
Press This:
...
- Fix focusing the Standard Editor link after saving draft, if the user has not focused another element.
- Reset the Save Draft button on node change in the editor.
See #31923 .
Built from https://develop.svn.wordpress.org/trunk@32098
git-svn-id: http://core.svn.wordpress.org/trunk@32077 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-04-09 19:07:28 +00:00
Andrew Ozz
33a0022773
Press This:
...
- When saving a draft change the text of the Save Draft button to Saving...
- On success, hide the button and show Edit Post link in its place. If the user focuses the title or the editor, hide the link and show the button again.
Fixes #31923 .
Built from https://develop.svn.wordpress.org/trunk@32092
git-svn-id: http://core.svn.wordpress.org/trunk@32071 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-04-08 23:14:28 +00:00
Dominik Schilling
d43d1503f7
Customize Headers: Improve handling of the initial header model.
...
Headers are currently keyed by the basename of the image, see #31786 . When two images have the same key only one image will be listed and the current image can be empty in the header control.
To prevent this we now fall back to the raw current header image if the image isn't in `_wpCustomizeHeader.uploads`.
props sirbrillig.
fixes #31742 .
Built from https://develop.svn.wordpress.org/trunk@32091
git-svn-id: http://core.svn.wordpress.org/trunk@32070 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-04-08 22:28:27 +00:00
Dominik Schilling
755d44736a
Customizer Theme Switcher: Lazy load theme screenshots.
...
props westonruter, ocean90.
fixes #31793 .
Built from https://develop.svn.wordpress.org/trunk@32088
git-svn-id: http://core.svn.wordpress.org/trunk@32067 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-04-08 20:52:29 +00:00
Dominik Schilling
15f24a7730
Customizer Theme Switcher: Fix tabbing order if section is open.
...
see #31289 .
Built from https://develop.svn.wordpress.org/trunk@32087
git-svn-id: http://core.svn.wordpress.org/trunk@32066 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-04-08 19:03:25 +00:00
Dominik Schilling
79eee23a29
Customizer Theme Switcher: Don't deactivate section on empty search results.
...
props westonruter.
fixes #31889 .
Built from https://develop.svn.wordpress.org/trunk@32083
git-svn-id: http://core.svn.wordpress.org/trunk@32062 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-04-08 17:53:28 +00:00
Aaron Jorbin
0402c0b877
Disable shiny updates from modal based on parent window
...
The QS method added in [32067] and modified in [32080] doesn't work when the user changes the tab inside the modal. Instead, let's use the parent window's location.
Fixes #31739
Built from https://develop.svn.wordpress.org/trunk@32082
git-svn-id: http://core.svn.wordpress.org/trunk@32061 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-04-08 17:38:27 +00:00
Aaron Jorbin
7aeea37d47
Fix logic for details based shiny updates.
...
This fixes two problems. TB seems to sometimes strip window.location.search variables after tb ones, so we need to move it forward. Also fixes logic error.
See #31739
Built from https://develop.svn.wordpress.org/trunk@32080
git-svn-id: http://core.svn.wordpress.org/trunk@32059 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-04-08 17:27:26 +00:00
Aaron Jorbin
55cebbeeb6
Disable modal initiated shiny updates on wp-admin/update-core.php
...
We don't have links to update a single plugin on wp-admin/update-core.php so we can't initiate a shiny update there.
Fixes #31739
Built from https://develop.svn.wordpress.org/trunk@32067
git-svn-id: http://core.svn.wordpress.org/trunk@32046 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-04-07 04:48:26 +00:00
Aaron Jorbin
1facff5425
Use dashes instead of dots as separator for jQuery events in shiny updates
...
`.` is used for namespaces, so better to use dashes.
see #31819
props iseulde
Built from https://develop.svn.wordpress.org/trunk@32063
git-svn-id: http://core.svn.wordpress.org/trunk@32042 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-04-07 03:12:26 +00:00
Aaron Jorbin
99d6c67148
Enable users to initiate a shiny update from plugin detail modal
...
The plugin detail modal can contain a link to update a plugin. When it does, we should initiate a shiny update.
This relies upon postMessage which isn't available in all browsers, specifically it isn't in IE versions below 8 so this is going to be a progressive enhancement that some small percentage of users will miss out on. These are the same users that can't use the customizer.
Fixes #31739
Built from https://develop.svn.wordpress.org/trunk@32062
git-svn-id: http://core.svn.wordpress.org/trunk@32041 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-04-07 03:09:26 +00:00
Aaron Jorbin
1985d00886
Trigger events upon the completion of a shiny update
...
Plugins need to be able to do actions when a shiny update completes. While we don't have complete javascript actions and filters, we do have jQuery events that we can fire to assist plugin authors.
See #31819
Built from https://develop.svn.wordpress.org/trunk@32061
git-svn-id: http://core.svn.wordpress.org/trunk@32040 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-04-07 02:32:26 +00:00
Dominik Schilling
6d2c70aa0d
Customizer: Refresh nonces when a session expires and the user logs in again.
...
This was broken since 4.0 and the introduction of user session tokens. The nonces are now tied to session tokens as opposed to user IDs, and thus they change with each re-login.
Custom nonces can be added through the `customize_refresh_nonces` filter. On a successful refresh request the JavaScript API will trigger a `nonce-refresh` event. See widget's update nonce as an example.
props westonruter for initial patch.
fixes #31294 .
Built from https://develop.svn.wordpress.org/trunk@32054
git-svn-id: http://core.svn.wordpress.org/trunk@32033 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-04-06 15:10:27 +00:00
Aaron Jorbin
dd5b92a2fe
Remove Shiny Bulk Updates
...
Bulk updates don't need to be ajaxified so let's revert.
See #31770 , #29820 ,
Built from https://develop.svn.wordpress.org/trunk@32053
git-svn-id: http://core.svn.wordpress.org/trunk@32032 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-04-06 01:21:26 +00:00
Aaron Jorbin
2c42b8f0b2
Conditionally add AYS to leaving shiny updates
...
When a shiny update is happening or pending, we should make sure users don't accidentally leave the page. This simple notification should help prevent users from accidentally not updating when they want to update.
See #31769
Props ericlewis and adamsilverstein for initial patch
Built from https://develop.svn.wordpress.org/trunk@32052
git-svn-id: http://core.svn.wordpress.org/trunk@32031 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-04-06 01:00:26 +00:00
Helen Hou-Sandí
bfda508c18
Update more instances of default admin blues and grays.
...
props hugobaeta.
fixes #31234 .
Built from https://develop.svn.wordpress.org/trunk@32051
git-svn-id: http://core.svn.wordpress.org/trunk@32030 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-04-05 21:20:27 +00:00
Dominik Schilling
4f3fb2315d
Customize Widgets: Improve sync logic for select[multiple] inputs.
...
The current logic doesn't account for the special case of `select[multiple]` inputs which lack a single value to synchronize: The value to synchronize is an array of zero or more values.
This change replaces `_getInputStatePropertyName()` with `_getInputState()`, which returns the state for an input depending on its type, and `_setInputState()`, which updates an input's state based on its type.
props westonruter.
fixes #31885 .
Built from https://develop.svn.wordpress.org/trunk@32012
git-svn-id: http://core.svn.wordpress.org/trunk@31991 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-04-04 16:34:26 +00:00
Dominik Schilling
59c586e5ad
Customizer Theme Switcher: Remove "Add New" reference from customize-controls.js.
...
see #31837 .
Built from https://develop.svn.wordpress.org/trunk@32004
git-svn-id: http://core.svn.wordpress.org/trunk@31983 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-04-04 14:14:26 +00:00
Helen Hou-Sandí
3ac1a19529
Spinners: Toggle a class instead of show/hide.
...
Toggling spinners also now uses visibility instead of display, so that the space is always reserved and nothing moves around unexpectedly.
props cdog, MikeHansenMe, valendesigns.
fixes #22839 . see #31875 , #30725 .
Built from https://develop.svn.wordpress.org/trunk@31996
git-svn-id: http://core.svn.wordpress.org/trunk@31975 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-04-03 04:52:27 +00:00
Andrew Ozz
52db6356a1
Themes screen: remove extra debounce when searching.
...
Props evansolomon. Fixes #31812 .
Built from https://develop.svn.wordpress.org/trunk@31995
git-svn-id: http://core.svn.wordpress.org/trunk@31974 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-04-03 02:37:32 +00:00
Andrew Ozz
2d36b8ff4a
Accessibility improvements for Themes screen: fix keyboard events and callbacks for the Search field, increase trigger timeout a bit, improve Esc. key handling.
...
Props joedolson, adamsilverstein, afercia, DrewAPicture. Fixes #26600 .
Built from https://develop.svn.wordpress.org/trunk@31994
git-svn-id: http://core.svn.wordpress.org/trunk@31973 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-04-03 02:32:28 +00:00
Andrew Ozz
05a549723c
Press This:
...
- Show a spinner while saving a post.
- Do not redirect after saving a draft.
- Make the unidentified error message clearer.
Fixes #31875 .
Built from https://develop.svn.wordpress.org/trunk@31992
git-svn-id: http://core.svn.wordpress.org/trunk@31971 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-04-03 01:34:26 +00:00
Andrew Ozz
b98ba09e5b
Press This: prevent pasting of HTML in the title H2. Insert the clipboard text instead.
...
Fixes #31768 .
Built from https://develop.svn.wordpress.org/trunk@31987
git-svn-id: http://core.svn.wordpress.org/trunk@31966 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-04-02 21:11:30 +00:00
Dominik Schilling
942c6a9edc
Customizer: Update selector, missed in [31984].
...
see #28784 .
Built from https://develop.svn.wordpress.org/trunk@31985
git-svn-id: http://core.svn.wordpress.org/trunk@31964 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-04-02 17:18:25 +00:00
Aaron Jorbin
3ac2f91922
Update aria-label when doing a shiny plugin update
...
Also updates it again when the shiny plugin update is finished.
Also updates it if the shiny update fails
props mehulkaklotar, afercia
Fixes #31722
Built from https://develop.svn.wordpress.org/trunk@31982
git-svn-id: http://core.svn.wordpress.org/trunk@31961 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-04-02 05:31:26 +00:00
Dominik Schilling
254b9e3264
Customizer Theme Switcher: Navigation streamlining.
...
* Detach Themes section from other controls
* Move to buttons to navigate back and forth
* Change titles based on current theme status, active/previewing
* Hide the active/previewing theme from the list of available themes
props folletto for the design concepts.
props designsimply, celloexpressions for initial patches.
props Team Gandalf.
see #31289 .
Built from https://develop.svn.wordpress.org/trunk@31975
git-svn-id: http://core.svn.wordpress.org/trunk@31954 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-04-01 22:51:27 +00:00
Dominik Schilling
ba7f53f029
Customizer: Make the available widgets overlay closable on narrow screens.
...
see #28784 .
Built from https://develop.svn.wordpress.org/trunk@31974
git-svn-id: http://core.svn.wordpress.org/trunk@31953 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-04-01 22:25:28 +00:00
Helen Hou-Sandí
d85f8fe326
Admin notices: Make (most) core notices dismissible.
...
These no longer return upon refreshing the page when JS is on and working, so users should be able to dismiss them. This is particularly important on the post edit screen when DFW is triggered, but pretty much all notices can be dismissed if needed. A post on Make/Core will follow with information on how this can be leveraged in plugins.
props valendesigns, afercia, paulwilde, adamsilverstein, helen.
fixes #31233 . see #23367 .
Built from https://develop.svn.wordpress.org/trunk@31973
git-svn-id: http://core.svn.wordpress.org/trunk@31952 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-04-01 22:06:28 +00:00
Aaron Jorbin
786083fd8e
Fix colors for activated and updated plugins
...
If we don't have the updated class on the TR for he update message, then the message is red and red is scary and they just updated, they should be happy and celebrating, not scared.
See #31608
Built from https://develop.svn.wordpress.org/trunk@31969
git-svn-id: http://core.svn.wordpress.org/trunk@31948 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-04-01 21:31:26 +00:00
Dominik Schilling
8ab7c076d6
Customizer Theme Switcher: Switch the details/live preview buttons.
...
props celloexpressions, ocean90.
fixes #31791 .
Built from https://develop.svn.wordpress.org/trunk@31954
git-svn-id: http://core.svn.wordpress.org/trunk@31933 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-04-01 12:36:26 +00:00
Aaron Jorbin
8f99fbeb8d
Refine UI for FTP modal and shiny updates
...
Numerous changes to make the FTP modal experience a good one. These include:
* Update HTML used by both the form here and the form on the standalone screen
* Allow users to cancel FTP install
* Focus locking in the modal
* Focus on modal form on load
* ARIA Attributes
* Style Enhancements
* Add low screen height (such as phone and some tablets) friendly experience for entering credentials
Props ericlewis, afercia
Fixes #31608
Built from https://develop.svn.wordpress.org/trunk@31949
git-svn-id: http://core.svn.wordpress.org/trunk@31928 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-04-01 02:48:28 +00:00
Dominik Schilling
79a29b077e
Customizer: Defer rendering theme controls until the section is displayed.
...
see #31793 .
Built from https://develop.svn.wordpress.org/trunk@31944
git-svn-id: http://core.svn.wordpress.org/trunk@31923 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-03-31 22:21:25 +00:00
Sergey Biryukov
cd2e63700e
Use a more specific selector for comment moderation hotkeys after [31513].
...
props afercia.
fixes #31545 .
Built from https://develop.svn.wordpress.org/trunk@31929
git-svn-id: http://core.svn.wordpress.org/trunk@31908 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-03-30 13:54:26 +00:00
Andrew Ozz
6cd9c9645e
Press This: fix accessibility for the post options "sidebar". Fix size of the Add Category button.
...
Part props afercis, joedolson. Fixes #31575 .
Built from https://develop.svn.wordpress.org/trunk@31925
git-svn-id: http://core.svn.wordpress.org/trunk@31904 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-03-30 03:09:51 +00:00
Dominik Schilling
b07e3e2de7
Customizer: Fix calculation of panel positions when accessing via deep-links.
...
Make sure that the parent `li` is shown before attempting to calculate its position.
Improve also the logic for focusing on a panel to prevent focusing hidden elements.
props westonruter.
fixes #31014 .
see #31794 .
Built from https://develop.svn.wordpress.org/trunk@31920
git-svn-id: http://core.svn.wordpress.org/trunk@31899 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-03-29 11:17:28 +00:00
Andrew Ozz
71f48f45e0
Press This:
...
- When saving, replace emoji images with chars in the title text.
- Clean up the title text on paste.
See #31768 .
Built from https://develop.svn.wordpress.org/trunk@31919
git-svn-id: http://core.svn.wordpress.org/trunk@31898 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-03-29 03:14:28 +00:00
Dominik Schilling
96b88a391b
Theme Switcher: Use the global panel back button instead of adding a new one.
...
This ensures the back button is visible on iOS devices. Same as in [29610].
see #31794 .
Built from https://develop.svn.wordpress.org/trunk@31918
git-svn-id: http://core.svn.wordpress.org/trunk@31897 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-03-28 22:09:26 +00:00
Dominik Schilling
80972b7ecd
Customizer: Fix selector for container which includes the controls. Broken since [30102].
...
see #31794 , #31014 .
Built from https://develop.svn.wordpress.org/trunk@31916
git-svn-id: http://core.svn.wordpress.org/trunk@31895 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-03-28 20:47:30 +00:00
Dominik Schilling
ee2829959a
Theme Switcher: Opening themes details modal shouldn't require two clicks on touch devices.
...
Inspired by [26838].
see #31794 .
Built from https://develop.svn.wordpress.org/trunk@31914
git-svn-id: http://core.svn.wordpress.org/trunk@31893 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-03-27 22:54:29 +00:00
Helen Hou-Sandí
007665e7be
Admin menu: Revert [31720] for swipe open/closed.
...
This is problematic on any device that uses swipe for history navigation, particularly iOS. It's also quite unrefined from an interaction point of view and would not be material for this release either way.
see #31187 .
Built from https://develop.svn.wordpress.org/trunk@31910
git-svn-id: http://core.svn.wordpress.org/trunk@31889 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-03-27 17:48:30 +00:00
Andrew Ozz
321b551650
Fix focusing in the plugin and theme editors. Update the help.
...
Props afercia, Cheffheid. Fixes #31415 .
Built from https://develop.svn.wordpress.org/trunk@31908
git-svn-id: http://core.svn.wordpress.org/trunk@31887 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-03-26 22:35:27 +00:00
Aaron Jorbin
4c05e8c71c
More clean up from removal of Shiny Plugin Installs
...
See #31773 , #29820
Unprops Jorbin, Pento
Built from https://develop.svn.wordpress.org/trunk@31900
git-svn-id: http://core.svn.wordpress.org/trunk@31879 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-03-26 16:30:27 +00:00
Aaron Jorbin
9b23faef07
Remove Shiny Plugin Installs
...
See #31773 , #29820
Built from https://develop.svn.wordpress.org/trunk@31897
git-svn-id: http://core.svn.wordpress.org/trunk@31876 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-03-26 02:30:28 +00:00
Boone Gorges
bc3d8197aa
When saving post, ensure that non-hierarchical taxonomy input is defined before attempting to parse it.
...
Taxonomy metaboxes that are disabled for the current user are included in the
post.php markup, but do not contain the 'newtag' field, and so should be
skipped when looping through the metaboxes to avoid invoking String methods
on a variable of type `undefined`.
Props MikeNGarrett, A5hleyRich.
Fixes #30859 .
Built from https://develop.svn.wordpress.org/trunk@31895
git-svn-id: http://core.svn.wordpress.org/trunk@31874 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-03-26 01:23:28 +00:00
Dominik Schilling
de7ecc80d3
Customizer: [31885] actually hasn't fixed the SecurityError
s. This one does.
...
props mattwiebe.
fixes #31687 .
Built from https://develop.svn.wordpress.org/trunk@31893
git-svn-id: http://core.svn.wordpress.org/trunk@31872 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-03-25 23:36:27 +00:00
Dominik Schilling
7925e4c912
Customizer: Avoid SecurityError
s when the Customizer is embedded in an origin other than wp-admin.
...
props mattwiebe.
fixes #31687 .
Built from https://develop.svn.wordpress.org/trunk@31885
git-svn-id: http://core.svn.wordpress.org/trunk@31864 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-03-25 17:26:26 +00:00
Andrew Ozz
0329852941
Press This:
...
- Fix the links on inserted images to point to the source site.
- Fix inserting of images above the blockquote when the editor has not been focused.
Fixes #31745 .
Built from https://develop.svn.wordpress.org/trunk@31868
git-svn-id: http://core.svn.wordpress.org/trunk@31847 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-03-24 01:33:29 +00:00
Aaron Jorbin
a836a32fb4
Ensure that we target the correct plugin row for update updates
...
The DOM traversal of the plugins list table was less than ideal. By switching to data attributes, we can better target the DOM elements we want to update.
Props ericlewis
Fixes #31621
Built from https://develop.svn.wordpress.org/trunk@31831
git-svn-id: http://core.svn.wordpress.org/trunk@31813 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-03-19 05:26:28 +00:00
Helen Hou-Sandí
591c4b7d3b
List tables: Go back to inserting quick edit rows after, as some plugins rely on that assumption. Results are the same.
...
fixes #26060 .
Built from https://develop.svn.wordpress.org/trunk@31820
git-svn-id: http://core.svn.wordpress.org/trunk@31802 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-03-18 21:50:27 +00:00
Dominik Schilling
c4a624aa22
Customizer: Remove a throw error
call which prevents further actions, like jqxhr.always()
.
...
props westonruter.
fixes #31501 .
Built from https://develop.svn.wordpress.org/trunk@31816
git-svn-id: http://core.svn.wordpress.org/trunk@31798 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-03-18 19:29:27 +00:00
Aaron Jorbin
2d64637ff8
Request FTP and SSH credentials when needed during shiny updates
...
This is a restoration of [31749] which was reverted in [31755].
It includes a number of enhancements from the original version. Namely:
* Not doing a credential check in src/wp-includes/script-loader.php
* Add new function `wp_print_request_filesystem_credentials_modal`
* update the version number in the list table when a plugin is updated
UI still needs further work, but this basic version should enable more testing
Props ericlewis, jorbin
See #31528
Built from https://develop.svn.wordpress.org/trunk@31811
git-svn-id: http://core.svn.wordpress.org/trunk@31793 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-03-18 03:18:27 +00:00
Andrew Ozz
441e1e6ab9
Press This: fix the header styling and add a logo.
...
Props Michael-Arestad. Fixes #31472 .
Built from https://develop.svn.wordpress.org/trunk@31807
git-svn-id: http://core.svn.wordpress.org/trunk@31789 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-03-18 02:09:27 +00:00
Andrew Ozz
c1c29782c9
Press This:
...
- Test image sizes from JS after Press This loads, before adding them to "Suggested media".
- Clean up and simplify the HTML and JS a bit.
Fixes #31561 .
Built from https://develop.svn.wordpress.org/trunk@31797
git-svn-id: http://core.svn.wordpress.org/trunk@31779 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-03-16 20:51:26 +00:00
Andrew Ozz
48ce41f15a
Press This: exclude both bookmarklet.js and bookmarklet.min.js from the main uglify task. Props stephdau. Fixes #31657 .
...
Built from https://develop.svn.wordpress.org/trunk@31796
git-svn-id: http://core.svn.wordpress.org/trunk@31778 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-03-16 20:37:28 +00:00
Andrew Ozz
ed7f297579
PressThis: increase the number of meta tags we check in the bookmarklet to 200. Sometimes there are empty meta tag nodes (no attributes) in some browsers.
...
See #31373 .
Built from https://develop.svn.wordpress.org/trunk@31778
git-svn-id: http://core.svn.wordpress.org/trunk@31758 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-03-14 20:12:34 +00:00
Andrew Ozz
805c530cf0
PressThis: simplify and restyle the categories drop-down, remove the checkboxes and use JS to get the selected categories on submitting the form.
...
Part prop: Michael-Arestad. Fixes #31443 .
Built from https://develop.svn.wordpress.org/trunk@31765
git-svn-id: http://core.svn.wordpress.org/trunk@31745 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-03-13 16:57:26 +00:00
Dominik Schilling
474f001c42
Revert [31749], see #31528 .
...
Built from https://develop.svn.wordpress.org/trunk@31755
git-svn-id: http://core.svn.wordpress.org/trunk@31736 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-03-12 17:51:26 +00:00
Sergey Biryukov
5c9656393a
Shiny Updates: Disable body scrolling when filesystem request modal is open.
...
props ericlewis.
fixes #31607 .
Built from https://develop.svn.wordpress.org/trunk@31753
git-svn-id: http://core.svn.wordpress.org/trunk@31734 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-03-12 14:57:26 +00:00
Gary Pendergast
b7546d798f
Emoji: Instead of having custom hooks for Ajax callbacks, use MutationObserver to re-parse any changed elements in the DOM.
...
Props iseulde
See #31242
Built from https://develop.svn.wordpress.org/trunk@31750
git-svn-id: http://core.svn.wordpress.org/trunk@31731 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-03-12 12:52:26 +00:00
Aaron Jorbin
5b658df402
Request FTP and SSH credentials when needed during shiny updates
...
This is a first pass at requesting FTP and SSH credentials when needed during shiny updates. Styling and some UX improvements are still needed, but we do show the prompt and use the passed data when doing plugin installs and updates for shiny updates. There are also a couple of areas that we could improve code wise such how we create the requestFilesystemCredentials part of the localized _wpUpdatesSettings. Over the past half century, we've split the atom, we've spliced the gene and we've roamed Tranquility Base. We've reached for the stars and never have we been closer to having them in our grasp. That has nothing to do with shiny updates.
Props ericlewis, jorbin, and drewapicture for testing
Fixes #31528
Built from https://develop.svn.wordpress.org/trunk@31749
git-svn-id: http://core.svn.wordpress.org/trunk@31730 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-03-12 08:53:26 +00:00
Andrew Nacin
78679bfb3f
Emoji JS cleanup.
...
* Filename: emoji.js => wp-emoji.js
* Script handle: emoji => wp-emoji
* Object: WPEmoji => wp.emoji
* Script settings: EmojiSettings => _wpemojiSettings
* Setting key: base_url => baseUrl
* Remove executable bit from files
see #31242 .
Built from https://develop.svn.wordpress.org/trunk@31744
git-svn-id: http://core.svn.wordpress.org/trunk@31725 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-03-12 03:17:26 +00:00
Sergey Biryukov
9f6cd01346
Fix JSHint errors in [31734] and add missing dependencies.
...
props iseulde.
fixes #31328 .
Built from https://develop.svn.wordpress.org/trunk@31741
git-svn-id: http://core.svn.wordpress.org/trunk@31722 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-03-12 01:05:26 +00:00
Andrew Ozz
1581ca7092
PressThis: add inline comments and some cleanup for the images and embeds regex.
...
Props stephdau. Fixes #31373 .
Built from https://develop.svn.wordpress.org/trunk@31739
git-svn-id: http://core.svn.wordpress.org/trunk@31720 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-03-11 23:37:28 +00:00
Gary Pendergast
03ade8c011
Add emoji URL support, and Twemoji fallback for displaying slugs in wp-admin, when the browser doesn't natively support emoji.
...
Props pento, SergeyBiryukov and boonebgorges.
Fixes #31328
Built from https://develop.svn.wordpress.org/trunk@31734
git-svn-id: http://core.svn.wordpress.org/trunk@31715 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-03-11 22:55:28 +00:00
Andrew Ozz
6e14ff9234
TinyMCE:
...
- Abstract the code for creating floating toolbars.
- Introduce `editor.wp` namespace to hold exported methods from our plugins.
- Create the wpView toolbar(s) with the new method. This makes them work the same as the image toolbar: shortcuts, esc key, etc.
Props iseulde. See #30619 .
Built from https://develop.svn.wordpress.org/trunk@31725
git-svn-id: http://core.svn.wordpress.org/trunk@31706 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-03-11 19:12:28 +00:00
Andrew Ozz
4eba346517
Allow swiping of the admin menu on touch devices.
...
Props iseulde, ninnypants. See #31187 .
Built from https://develop.svn.wordpress.org/trunk@31720
git-svn-id: http://core.svn.wordpress.org/trunk@31701 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-03-11 16:29:26 +00:00
Dominik Schilling
9250d59e6a
Customizer: Prevent a race condition when attempting to publish too soon after updating widget form fields with multiple edits.
...
props westonruter.
fixes #31501 .
Built from https://develop.svn.wordpress.org/trunk@31706
git-svn-id: http://core.svn.wordpress.org/trunk@31687 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-03-10 22:45:27 +00:00
Dominik Schilling
b96a624cb9
Customizer: Fix previewing and applying widgets when previewing another theme.
...
* Unset `wp_get_sidebars_widgets()`' non-admin cache var `$_wp_sidebars_widgets` in Customize theme preview.
* Add `WP_Customize_Setting::$dirty` so that settings can be initially-dirty when the Customizer loads.
* Mark `old_sidebars_widgets_data` setting initially-dirty.
* Mark all `sidebars_widgets` settings as initially-dirty during theme switch.
props westonruter.
see #31484 .
Built from https://develop.svn.wordpress.org/trunk@31705
git-svn-id: http://core.svn.wordpress.org/trunk@31686 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-03-10 22:39:28 +00:00
Dominik Schilling
2ae3dfa119
Customizer: Add title attributes to iframes.
...
props afercia.
fixes #31202 .
Built from https://develop.svn.wordpress.org/trunk@31704
git-svn-id: http://core.svn.wordpress.org/trunk@31685 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-03-10 21:20:26 +00:00
Dominik Schilling
f9180e1b4b
Customizer: Introduce WP_Customize_Media_Control
.
...
`WP_Customize_Media_Control` is a new base class for all Customizer media controls. If used directly it supports the ID of an attachment instead of an URL like `WP_Customize_Upload_Control`.
props celloexpressions.
fixes #29215 .
Built from https://develop.svn.wordpress.org/trunk@31698
git-svn-id: http://core.svn.wordpress.org/trunk@31679 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-03-10 18:02:28 +00:00
Dominik Schilling
3349b7d25b
Customizer: Add loading indicators for the Customizer preview.
...
props Fab1en, westonruter.
fixes #31196 .
Built from https://develop.svn.wordpress.org/trunk@31697
git-svn-id: http://core.svn.wordpress.org/trunk@31678 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-03-10 15:56:26 +00:00
Andrew Ozz
be24bc3a97
PressThis:
...
- Filter and select the content on the PHP side. Then pass only the needed data to JS.
- Add the suggested post title and contend directly to the HTML.
- Standardise the data type names.
- Some cleanup/reduction of the code in the bookmarklet.
See #31373 .
Built from https://develop.svn.wordpress.org/trunk@31693
git-svn-id: http://core.svn.wordpress.org/trunk@31674 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-03-09 21:49:28 +00:00
Helen Hou-Sandí
fe47177a65
Media library: Revert [31582], as it introduces navigation difficulties for many users.
...
see #30333 .
Built from https://develop.svn.wordpress.org/trunk@31692
git-svn-id: http://core.svn.wordpress.org/trunk@31673 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-03-09 21:17:29 +00:00
Scott Taylor
6ffa051689
Replace flagrant instances of .html('')
with .empty()
.
...
Props OriginalEXE, SergeyBiryukov.
Fixes #27034 .
Built from https://develop.svn.wordpress.org/trunk@31690
git-svn-id: http://core.svn.wordpress.org/trunk@31671 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-03-09 19:44:26 +00:00
Boone Gorges
6aff223ffb
jshint fixes for press-this.js.
...
Built from https://develop.svn.wordpress.org/trunk@31677
git-svn-id: http://core.svn.wordpress.org/trunk@31658 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-03-08 16:27:28 +00:00
Andrew Ozz
7c65a95e4b
Fix tagBox init on the Edit Post screen. Props tyxla. Fixes #31558 .
...
Built from https://develop.svn.wordpress.org/trunk@31675
git-svn-id: http://core.svn.wordpress.org/trunk@31656 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-03-08 04:54:26 +00:00
Jeremy Felt
0f34b98bcf
Reveal row actions on focus in the network users list table.
...
In the future, we'll re-factor this selector pile in a way that makes things cleaner. See #25408 .
Props afercia.
Fixes #31003 .
Built from https://develop.svn.wordpress.org/trunk@31674
git-svn-id: http://core.svn.wordpress.org/trunk@31655 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-03-08 02:27:27 +00:00
Dominik Schilling
08f0376f91
Customizer: Add audio/video previews for upload controls.
...
props celloexpressions, Fab1en, wonderboymusic.
fixes #30850 .
Built from https://develop.svn.wordpress.org/trunk@31661
git-svn-id: http://core.svn.wordpress.org/trunk@31642 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-03-07 11:06:29 +00:00
Andrew Ozz
9716d171c7
PressThis: add preview functionality. Opens the preview in a new window or a tab next to the source tab.
...
Fixes #31458 .
Built from https://develop.svn.wordpress.org/trunk@31654
git-svn-id: http://core.svn.wordpress.org/trunk@31635 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-03-07 01:17:26 +00:00
Andrew Ozz
a27967aa05
PressThis:
...
- Close the sidebar on moving the focus outside of it (by clicking or by "tabbing").
- Fix a (weird) structural CSS problem where clicks go through the sidebar when it is open.
- Clean up the JS a bit.
Fixes #31457 .
Built from https://develop.svn.wordpress.org/trunk@31651
git-svn-id: http://core.svn.wordpress.org/trunk@31632 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-03-06 22:57:26 +00:00
Andrew Ozz
0ba8fe0132
PressThis: fix toggling of aria-expanded
attribute.
...
Props afercia, see #31373 .
Built from https://develop.svn.wordpress.org/trunk@31636
git-svn-id: http://core.svn.wordpress.org/trunk@31617 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-03-06 01:51:25 +00:00
Andrew Ozz
09ef640af4
PressThis: remove the extra .length tests for strings from press-this.js.
...
Props stephdau, see #31373 .
Built from https://develop.svn.wordpress.org/trunk@31613
git-svn-id: http://core.svn.wordpress.org/trunk@31594 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-03-04 21:01:25 +00:00
Andrew Ozz
f53199487d
PressThis:
...
- Improve handling of the data, both from the bookmarklet and from server-side parsing.
- Standardize on processing the data in PHP and remove duplicate code from JS.
- Improve the bookmarklet code and remove pre-filtering of the data.
Part props stephdau, see #31373 .
Built from https://develop.svn.wordpress.org/trunk@31609
git-svn-id: http://core.svn.wordpress.org/trunk@31590 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-03-04 19:29:25 +00:00
Helen Hou-Sandí
513a038159
Remove the once-placeholder-esque "tag hint", which has not worked in quite some time.
...
It's not particularly useful, and adds visual noise when in place.
props welcher.
fixes #31485 .
Built from https://develop.svn.wordpress.org/trunk@31607
git-svn-id: http://core.svn.wordpress.org/trunk@31588 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-03-03 21:53:25 +00:00
Helen Hou-Sandí
b201f3a5cb
Fix some inline doc typos that were missed in [31604]. see #25698 .
...
Built from https://develop.svn.wordpress.org/trunk@31605
git-svn-id: http://core.svn.wordpress.org/trunk@31586 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-03-03 21:18:25 +00:00
Helen Hou-Sandí
5567d03278
Nav menus: Better JS performance on initial load of edit screen.
...
The accessibility helpers previously processed all items when editing a menu, which was quite slow to the point of being unresponsive for large menus. They now only process items when they are expanded or a user comes near them in some way, such as hover or focus.
Also simplifies a redundant set of click event handlers down to one, which further enhances performance.
props atimmer, sevenspark.
fixes #25698 .
Built from https://develop.svn.wordpress.org/trunk@31604
git-svn-id: http://core.svn.wordpress.org/trunk@31585 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-03-03 21:14:25 +00:00
Andrew Ozz
a9f165915f
Press This:
...
- Remove classes from suggested HTML for the editor.
- Improve the filter, pass an associative array as param.
- Use <em> instead of <cite>.
Props Michael-Arestad, kraftbj. Fixes #31493 .
Built from https://develop.svn.wordpress.org/trunk@31601
git-svn-id: http://core.svn.wordpress.org/trunk@31582 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-03-02 23:41:27 +00:00
Andrew Ozz
3a124ac2f4
PressThis:
...
- Replace all `%1$s` and `%2$s` in suggestedHTML in case plugins repeat them.
- Fix docs typo, props kraftbj.
See #31373 .
Built from https://develop.svn.wordpress.org/trunk@31596
git-svn-id: http://core.svn.wordpress.org/trunk@31577 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-03-01 23:28:26 +00:00
Andrew Ozz
4e8138cea5
PressThis:
...
- Simplify `getSuggestedContent()` and helpers. No need to override the global `data`.
- Replace the `press_this_source_string` and `press_this_source_link` filters with `press_this_suggested_html` that allows filtering of the link and the wrapper HTML tags.
See #31373 .
Built from https://develop.svn.wordpress.org/trunk@31595
git-svn-id: http://core.svn.wordpress.org/trunk@31576 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-03-01 22:44:25 +00:00
Andrew Ozz
5e07bfdfd1
Add wp.a11y.speak()
for audible alerts/updates in screen readers. Props afercia, GrahamArmfield (for the idea), iseulde. Fixes #31368 .
...
Built from https://develop.svn.wordpress.org/trunk@31594
git-svn-id: http://core.svn.wordpress.org/trunk@31575 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-03-01 19:11:27 +00:00
Andrew Ozz
8164f8fe0e
PressThis:
...
- Remove unneeded passing of post formats strings to JS.
- Set the currently selected post format name with jQuery.
See #31373 .
Built from https://develop.svn.wordpress.org/trunk@31589
git-svn-id: http://core.svn.wordpress.org/trunk@31570 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-02-28 20:08:27 +00:00
Andrew Ozz
0b626ffea2
PressThis: when there is a protocol mismatch (http vs. https), use server-side media detection instead of submitting a form as it triggers "Unsafe data" warning in some browsers. Props stephdau. Fixes #31468 .
...
Built from https://develop.svn.wordpress.org/trunk@31584
git-svn-id: http://core.svn.wordpress.org/trunk@31565 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-02-27 22:06:25 +00:00
Scott Taylor
39dabbb8b1
When viewing media in List mode, auto-submit the form for attachment filters when the value of a <select>
changes. This makes it behave similar to Grid mode and "feels" more performant, even though it is a full page load.
...
Fixes #30333 .
Built from https://develop.svn.wordpress.org/trunk@31582
git-svn-id: http://core.svn.wordpress.org/trunk@31563 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-02-27 21:27:25 +00:00
Dominik Schilling
789cd2e824
Customize Widgets: Don't return undefined items in getWidgetFormControls method.
...
props westonruter.
fixes #31465 .
Built from https://develop.svn.wordpress.org/trunk@31570
git-svn-id: http://core.svn.wordpress.org/trunk@31551 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-02-27 10:35:24 +00:00
Andrew Ozz
4593319ea7
PressThis: accessibility enhancements:
...
- Add missing form labels.
- Add some screen-reader-text and aria-hidden attributes.
- Focus handling improvements.
- Change tagcloud-link into a button.
- Add missing ID attribute in tools.php.
Props afercia. Fixes #31449 .
Built from https://develop.svn.wordpress.org/trunk@31566
git-svn-id: http://core.svn.wordpress.org/trunk@31547 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-02-27 02:50:25 +00:00
Andrew Ozz
dd79f77b26
PressThis: enable scrollbars in Firefox, remove overflow-x: hidden from the html element. Part props Michael-Arestad. Fixes #31455 .
...
Built from https://develop.svn.wordpress.org/trunk@31565
git-svn-id: http://core.svn.wordpress.org/trunk@31546 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-02-27 01:55:26 +00:00
Andrew Ozz
9e7561a8d4
Press This: fix notices/errors classes. Props michael-arestad. Fixes #31456 .
...
Built from https://develop.svn.wordpress.org/trunk@31549
git-svn-id: http://core.svn.wordpress.org/trunk@31530 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-02-26 01:31:26 +00:00
Andrew Ozz
d84eda9f35
Grunt precommit cleanup. See [31533], [31535].
...
Built from https://develop.svn.wordpress.org/trunk@31538
git-svn-id: http://core.svn.wordpress.org/trunk@31519 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-02-25 04:17:27 +00:00
Andrew Ozz
ce8defbeb4
PressThis:
...
- Hard-code the minified bookmarklet js. Adding the non-minified bookmarklet to the browser bookmarks bar may have unexpected effect.
- Fix type juggling when checking the bookmarklet version.
Props stephdau, see #31373 .
Built from https://develop.svn.wordpress.org/trunk@31535
git-svn-id: http://core.svn.wordpress.org/trunk@31516 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-02-25 03:03:25 +00:00
Andrew Ozz
1857055bb8
PressThis v2, first run. Props michael-arestad, stephdau, marcelomazza, DrewAPicture, iseulde, afercia, kraftbj, rachelbaker, AramZS, dd32. See #31373 .
...
Built from https://develop.svn.wordpress.org/trunk@31534
git-svn-id: http://core.svn.wordpress.org/trunk@31515 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-02-25 01:50:26 +00:00
Mark Jaquith
8b180b9a46
Add theme browsing and theme switching to the Customizer
...
* Brings into core the Customizer Theme Switcher feature plugin
* You can now browse, preview, and activate themes right from the Customizer
fixes #31303 .
props celloexpressions, afercia, westonruter, folletto, designsimply
Built from https://develop.svn.wordpress.org/trunk@31533
git-svn-id: http://core.svn.wordpress.org/trunk@31514 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-02-24 20:31:24 +00:00
Sergey Biryukov
0231047071
Delegate focusin
and focusout
events for row actions to make sure the actions are always revealed on focus.
...
props afercia.
fixes #29765 .
Built from https://develop.svn.wordpress.org/trunk@31509
git-svn-id: http://core.svn.wordpress.org/trunk@31490 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-02-22 20:14:25 +00:00
Sergey Biryukov
f7df99549a
Themes: Add feedback for screen readers when search results are changed.
...
props obenland, joedolson.
see #26600 .
Built from https://develop.svn.wordpress.org/trunk@31497
git-svn-id: http://core.svn.wordpress.org/trunk@31478 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-02-22 10:15:26 +00:00
Sergey Biryukov
677d37753f
Themes: Update the theme count when searching for installed themes, like we do on Add Themes screen.
...
props afercia.
see #26600 .
Built from https://develop.svn.wordpress.org/trunk@31495
git-svn-id: http://core.svn.wordpress.org/trunk@31476 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-02-22 09:41:24 +00:00
Sergey Biryukov
109295cdd4
When creating a new user, pasting a password should update the password strength indicator.
...
props dipesh.kakadiya.
fixes #31226 .
Built from https://develop.svn.wordpress.org/trunk@31483
git-svn-id: http://core.svn.wordpress.org/trunk@31464 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-02-20 13:05:27 +00:00
Dominik Schilling
70ca74b37b
Customizer: Don't focus new widgets if they are added programmatically.
...
props westonruter.
fixes #31295 .
Built from https://develop.svn.wordpress.org/trunk@31428
git-svn-id: http://core.svn.wordpress.org/trunk@31409 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-02-11 23:32:27 +00:00
Dominik Schilling
6adb5c0618
Customizer: Improve [31252] to show the move-widget buttons only if there is more than one *rendered* sidebar.
...
fixes #30690 .
Built from https://develop.svn.wordpress.org/trunk@31419
git-svn-id: http://core.svn.wordpress.org/trunk@31400 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-02-11 20:45:26 +00:00
Gary Pendergast
daf711a338
Shiny Updates: Replace $.post()
calls with wp.ajax.post()
, and clean up a bunch of the now unnecessary code.
...
See #29820
Built from https://develop.svn.wordpress.org/trunk@31409
git-svn-id: http://core.svn.wordpress.org/trunk@31390 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-02-11 05:06:28 +00:00
Sergey Biryukov
f166a51809
Update body class when switching between admin color schemes.
...
props valendesigns.
fixes #30488 .
Built from https://develop.svn.wordpress.org/trunk@31400
git-svn-id: http://core.svn.wordpress.org/trunk@31381 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-02-10 02:23:28 +00:00
Dominik Schilling
941075c8ca
Improve the Customize experience on mobile.
...
Before: https://make.wordpress.org/flow/2015/02/02/a-peek-at-the-customizer-on-an-iphone-6/
After: https://make.wordpress.org/flow/2015/02/03/vizrec-for-28784-improve-the-customize-experience-on-mobile-iphone-6-28784-diff-4-2-alpha-31325/
props celloexpressions.
see #28784 .
Built from https://develop.svn.wordpress.org/trunk@31384
git-svn-id: http://core.svn.wordpress.org/trunk@31365 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-02-09 12:36:28 +00:00
Andrew Ozz
c765424ad5
Editor: prevent errors in editor-expand when the Text editor is not used. Props iseulde, fixes #31163 .
...
Built from https://develop.svn.wordpress.org/trunk@31361
git-svn-id: http://core.svn.wordpress.org/trunk@31342 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-02-06 22:25:23 +00:00
Boone Gorges
69504de9d8
jshint fixes for shiny updates JS.
...
As introduced in [31333].
Props iseulde.
See #29820 .
Built from https://develop.svn.wordpress.org/trunk@31341
git-svn-id: http://core.svn.wordpress.org/trunk@31322 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-02-05 19:52:22 +00:00
Gary Pendergast
9c69213f2b
Shiny Updates: Add ajax-y updates to the plugin list page, and ajax-y updates and installs to the plugin card page.
...
This also includes JS architecture that can be expanded to support theme, core and language pack updates.
Props pento, ericlewis, lgladdy, adamsilverstein, DrewAPicture
See #29820
Built from https://develop.svn.wordpress.org/trunk@31333
git-svn-id: http://core.svn.wordpress.org/trunk@31314 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-02-05 04:19:23 +00:00
Sergey Biryukov
a82763b7b6
Menus: Don't display "Move" text without direction if there is only one menu item.
...
props kucrut for initial patch.
fixes #30765 .
Built from https://develop.svn.wordpress.org/trunk@31320
git-svn-id: http://core.svn.wordpress.org/trunk@31301 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-02-01 05:29:26 +00:00
Boone Gorges
8627216105
When updating the name a hierarchical term with Quick Edit, update the corresponding option in the Parent dropdown.
...
Props garyc40, rmarks.
Fixes #14565 .
Built from https://develop.svn.wordpress.org/trunk@31288
git-svn-id: http://core.svn.wordpress.org/trunk@31269 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-01-29 01:53:22 +00:00
Sergey Biryukov
15fc97b1cf
Quick Edit: Don't save the post if Enter is pressed on the Cancel link.
...
props afercia.
fixes #30345 .
Built from https://develop.svn.wordpress.org/trunk@31274
git-svn-id: http://core.svn.wordpress.org/trunk@31255 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-01-24 15:07:22 +00:00
Dominik Schilling
b4bb289b5d
Customizer: Hide the reorder-widgets button when a widget area is empty.
...
props celloexpressions.
fixes #27787 .
Built from https://develop.svn.wordpress.org/trunk@31255
git-svn-id: http://core.svn.wordpress.org/trunk@31236 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-01-20 22:45:22 +00:00
Dominik Schilling
0c0675627b
Customizer: If there's only one available sidebar, hide the move-widget button.
...
props celloexpressions.
fixes #30690 .
Built from https://develop.svn.wordpress.org/trunk@31252
git-svn-id: http://core.svn.wordpress.org/trunk@31233 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-01-20 20:36:21 +00:00
Sergey Biryukov
eedb4857ba
Strip HTML tags when searching for installed themes.
...
props enej, SergeyBiryukov, obenland.
fixes #27561 .
Built from https://develop.svn.wordpress.org/trunk@31240
git-svn-id: http://core.svn.wordpress.org/trunk@31221 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-01-18 20:40:23 +00:00
Scott Taylor
6b84df3bbd
Ensure that <figcaption>
is not autop'd.
...
Fixes #29219 .
Built from https://develop.svn.wordpress.org/trunk@31186
git-svn-id: http://core.svn.wordpress.org/trunk@31167 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-01-16 00:27:21 +00:00
Helen Hou-Sandí
62a197d6bf
List tables: Use CSS :nth-child() selectors for zebra striping.
...
Note that this does not fix issues related to comment quick edit. Internal linking also continues to use the `.alternate` class for now. IE8 and below gracefully degrade by not having zebra striping.
There is some hoop jumping with adding an extra table row to maintain zebra striping during quick edit. Documenting that here for future reference; it is also in the inline documentation.
fixes #30981 and #26060 . see #25060 .
Built from https://develop.svn.wordpress.org/trunk@31181
git-svn-id: http://core.svn.wordpress.org/trunk@31162 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-01-14 22:14:22 +00:00
Sergey Biryukov
19e51601ab
Revert [31173] and target only taxonomy and link manager tables in keyboard focus code.
...
props afercia.
fixes #30980 .
Built from https://develop.svn.wordpress.org/trunk@31177
git-svn-id: http://core.svn.wordpress.org/trunk@31158 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-01-13 14:01:22 +00:00
Sergey Biryukov
3ac60370b8
Reveal row actions on focus on taxonomy screens.
...
props afercia.
fixes #30980 .
Built from https://develop.svn.wordpress.org/trunk@31173
git-svn-id: http://core.svn.wordpress.org/trunk@31154 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-01-13 07:02:22 +00:00
Andrew Ozz
3324fb71f6
TinyMCE editor-expand: when kitchensink is off hide the statusbar on loading, and when the editor is shorter then the viewport. Props avryl, fixes #30961 .
...
Built from https://develop.svn.wordpress.org/trunk@31118
git-svn-id: http://core.svn.wordpress.org/trunk@31099 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-01-10 01:32:26 +00:00
Dominik Schilling
56981c7143
Customizer: Send JSON success for customize_save
and allow response to be filtered.
...
props westonruter.
fixes #29098 .
Built from https://develop.svn.wordpress.org/trunk@31062
git-svn-id: http://core.svn.wordpress.org/trunk@31043 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-01-06 21:47:23 +00:00
Scott Taylor
c5f9a7c26a
Respect query vars for taxonomies passed as URL parameters when in grid mode of Media Library.
...
Fixes #30584 .
Built from https://develop.svn.wordpress.org/trunk@31037
git-svn-id: http://core.svn.wordpress.org/trunk@31018 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-01-03 08:24:22 +00:00
Andrew Ozz
e0189c3686
Move the (recently added) .notice
admin notices below the first H2, same as the .updated
and .error
notices. Props sippis, fixes #30885 .
...
Built from https://develop.svn.wordpress.org/trunk@31023
git-svn-id: http://core.svn.wordpress.org/trunk@31004 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-01-02 18:52:23 +00:00
Dominik Schilling
14abcecf81
Customizer: Use correct event variable when moving widgets to another widget area.
...
Fixes "ReferenceError: event is not defined error." in Firefox.
props tywayne.
fixes #30818 .
Built from https://develop.svn.wordpress.org/trunk@30992
git-svn-id: http://core.svn.wordpress.org/trunk@30974 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-12-23 17:24:24 +00:00
Dominik Schilling
93605deef5
Customizer: Improve IE 8 compatibility.
...
* Use square bracket notation for `default` keywords.
* Use Underscores `indexOf` for arrays.
props westonruter, ocean90.
fixes #30781 for trunk.
Built from https://develop.svn.wordpress.org/trunk@30991
git-svn-id: http://core.svn.wordpress.org/trunk@30973 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-12-23 17:05:26 +00:00
Andrew Ozz
6bde00ec42
Editor: when switching editor-expand off for the first time use the default editor height. Props avryl, fixes #30760 for trunk.
...
Built from https://develop.svn.wordpress.org/trunk@30977
git-svn-id: http://core.svn.wordpress.org/trunk@30963 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-12-20 19:33:23 +00:00
Andrew Nacin
8c3027c3c7
Call it 'Distraction-free writing mode' and update the help string. fixes #30657 .
...
Built from https://develop.svn.wordpress.org/trunk@30890
git-svn-id: http://core.svn.wordpress.org/trunk@30880 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-12-16 10:07:23 +00:00
Andrew Nacin
23f4b0f62f
Updates to the 'Log out everywhere' implementation.
...
* Include a message and a disabled button when you're only logged in at one location.
* Avoid leaking the session token in HTML.
* Simplify, simplify, simplify.
see #30264 .
Built from https://develop.svn.wordpress.org/trunk@30888
git-svn-id: http://core.svn.wordpress.org/trunk@30878 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-12-16 09:15:23 +00:00
Dominik Schilling
fcb00b75e2
Customizer: Add _wp_attachment_is_custom_background
meta to uploaded background images.
...
Adds `$type` property to `WP_Customize_Background_Image_Control` (PHP) and introduces `wp.customize.BackgroundControl` (JS).
see #30707 .
Built from https://develop.svn.wordpress.org/trunk@30885
git-svn-id: http://core.svn.wordpress.org/trunk@30873 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-12-15 23:28:23 +00:00
Dominik Schilling
4652717828
Customizer: Remove date filter from the Header/Background Image upload frames.
...
Adds an option to `wp.media.view.AttachmentsBrowser` to hide the date filter added in [29813].
see #30689 .
Built from https://develop.svn.wordpress.org/trunk@30872
git-svn-id: http://core.svn.wordpress.org/trunk@30862 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-12-15 20:27:22 +00:00
Dominik Schilling
d5914fc1c8
Customizer: Import missing wp.customize.Control.prototype._toggleActive
.
...
Check also if `completeCallback` is set before calling it.
props westonruter.
see #30701 .
Built from https://develop.svn.wordpress.org/trunk@30871
git-svn-id: http://core.svn.wordpress.org/trunk@30861 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-12-15 19:54:21 +00:00
Andrew Ozz
ee67cd96be
Improve the fix for menu shakiness when over-scrolling. Recalculate heights on editor auto-resize.
...
See #30692 .
Built from https://develop.svn.wordpress.org/trunk@30852
git-svn-id: http://core.svn.wordpress.org/trunk@30842 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-12-15 00:11:24 +00:00
Andrew Ozz
910bb84c89
Fix menu shakiness when over-scrolling in Chrome and Safari on MacOS.
...
See #30692 .
Built from https://develop.svn.wordpress.org/trunk@30844
git-svn-id: http://core.svn.wordpress.org/trunk@30834 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-12-14 01:47:23 +00:00
Dominik Schilling
e72efb71f0
Revisions: Fix initial state of compareTwoMode
.
...
Broken since [30131].
fixes #30672 .
Built from https://develop.svn.wordpress.org/trunk@30831
git-svn-id: http://core.svn.wordpress.org/trunk@30821 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-12-12 09:54:25 +00:00
Andrew Nacin
5e3e3d0e0f
Editor focus: Don't trigger when typing while the mouse is outside the editor.
...
props avryl.
fixes #20668 .
Built from https://develop.svn.wordpress.org/trunk@30817
git-svn-id: http://core.svn.wordpress.org/trunk@30807 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-12-11 09:34:26 +00:00
Andrew Ozz
53d22ffb10
Customizer - Widgets: add feedback for screen readers when moving up or down. Props adamsilverstein, afercia. Fixes #28892 .
...
Built from https://develop.svn.wordpress.org/trunk@30760
git-svn-id: http://core.svn.wordpress.org/trunk@30750 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-12-07 00:45:24 +00:00
Andrew Ozz
0a199ff4a8
Editor: fix initial state for editor-expand when TinyMCE is disabled or not supported. Props avryl, fixes #30592 .
...
Built from https://develop.svn.wordpress.org/trunk@30743
git-svn-id: http://core.svn.wordpress.org/trunk@30733 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-12-05 01:53:22 +00:00
Scott Taylor
097e4ede58
Add some inline JS docs for Customizer.
...
See #30469 .
Built from https://develop.svn.wordpress.org/trunk@30738
git-svn-id: http://core.svn.wordpress.org/trunk@30728 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-12-04 02:04:22 +00:00
Dominik Schilling
858a51273a
Customizer: Move private helper functions to wp.customize.utils
so they can be unit tested.
...
Includes unit tests.
props ryankienstra, westonruter.
see #28709 .
Built from https://develop.svn.wordpress.org/trunk@30716
git-svn-id: http://core.svn.wordpress.org/trunk@30706 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-12-02 22:56:45 +00:00
Dominik Schilling
3db8b08686
Customizer: Enhance Background Image/Upload controls.
...
* Adopt the Header Image layout to the Background Image/Upload control.
* Remove templates for interactive audio/video previews. They haven't worked yet.
* Don't show a "Remove" button when the default value is set.
* Avoid calculating of container/placeholder heights which are unrelated to custom headers.
see #21483 .
Built from https://develop.svn.wordpress.org/trunk@30712
git-svn-id: http://core.svn.wordpress.org/trunk@30702 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-12-02 21:55:23 +00:00
Helen Hou-Sandí
cb5c43df83
Don't over-target buttons in the publish meta box.
...
This selector caused breakage for any custom buttons added.
props ericlewis.
fixes #30035 .
Built from https://develop.svn.wordpress.org/trunk@30698
git-svn-id: http://core.svn.wordpress.org/trunk@30688 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-12-02 02:35:28 +00:00
Andrew Ozz
16e54ae8c0
Editor DFW v2: do not fade out on using keyboard shortcuts in TinyMCE (Alt+Shift+letter).
...
Fixes #30539 .
Built from https://develop.svn.wordpress.org/trunk@30693
git-svn-id: http://core.svn.wordpress.org/trunk@30683 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-12-01 22:53:24 +00:00
Dominik Schilling
773da4a1e5
Update the Iris color picker to version 1.0.7.
...
Includes a fix for multiple pickers on the same page.
Changes: https://github.com/Automattic/Iris/compare/1.0.6...1.0.7
props mattwiebe.
fixes #30537 .
Built from https://develop.svn.wordpress.org/trunk@30650
git-svn-id: http://core.svn.wordpress.org/trunk@30640 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-11-30 11:44:22 +00:00
Andrew Ozz
2808edf7d1
Editor: fix fading out on Escape in DFW v2. props adamsilverstein, fixes #30528 .
...
Built from https://develop.svn.wordpress.org/trunk@30625
git-svn-id: http://core.svn.wordpress.org/trunk@30615 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-11-29 02:45:22 +00:00
Andrew Ozz
9e8f2c7794
Editor: use the Alt+Shift+W keyboard shortcut for new DFW from both the Visual and Text editors. Props afercia, fixes #30450 .
...
Built from https://develop.svn.wordpress.org/trunk@30593
git-svn-id: http://core.svn.wordpress.org/trunk@30583 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-11-28 01:44:22 +00:00
Andrew Ozz
4d651b90bb
Editor: limit scrolling triggered when TinyMCE is auto-resized to 100px. Prevents auto-scrolling on page load. Fixes #30515 .
...
Built from https://develop.svn.wordpress.org/trunk@30586
git-svn-id: http://core.svn.wordpress.org/trunk@30576 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-11-27 01:00:25 +00:00
Andrew Ozz
af1e417d4e
Editor:
...
- Add CSS reset for the TinyMCE fullscreen mode when used on the Edit Post screen.
- Fix loading of the old and new DFW buttons, use another arg. passed to WP_Editors.
- Reset editor-expand when exiting TinyMCE fullscreen mode.
Fixes #30453 .
Built from https://develop.svn.wordpress.org/trunk@30573
git-svn-id: http://core.svn.wordpress.org/trunk@30563 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-11-26 02:50:24 +00:00
Dominik Schilling
d187a5eeba
Customizer: Don't override Section.isContextuallyActive()
in SidebarSection
.
...
This fixes a bug where empty widget areas get deactivated in the Customizer.
fixes #30378 .
see #30235 .
props westonruter.
Built from https://develop.svn.wordpress.org/trunk@30552
git-svn-id: http://core.svn.wordpress.org/trunk@30541 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-11-24 22:26:23 +00:00
Dominik Schilling
aace02c0c0
Update the Iris color picker to version 1.0.6.
...
Changes: https://github.com/Automattic/Iris/compare/1.0.4...1.0.6
props mattwiebe.
fixes #30365 .
Built from https://develop.svn.wordpress.org/trunk@30551
git-svn-id: http://core.svn.wordpress.org/trunk@30540 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-11-24 22:17:22 +00:00
John Blackbourn
78367f22d5
Abstract the theme browser route paths into attributes so they can be easily overridden.
...
Fixes #30116
Props matveb
Built from https://develop.svn.wordpress.org/trunk@30508
git-svn-id: http://core.svn.wordpress.org/trunk@30497 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-11-21 17:30:22 +00:00
John Blackbourn
afd0dd5ece
Avoid adjusting the current submenu position when tabbing through the admin menu.
...
Fixes #30349
Props 5um17
Built from https://develop.svn.wordpress.org/trunk@30352
git-svn-id: http://core.svn.wordpress.org/trunk@30351 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-11-16 02:22:21 +00:00
Mark Jaquith
7c4b9419f4
Introduce Distraction-Free Writing v2, a re-think of DFW that uses the main editor instance
...
* the "DFW" button is now an auto/off toggle
* defaulting to auto during beta, decide later for release
* "auto" means that DFW gets enabled as you start typing in editor
* tabbing and mousing out will bring the full interface back
* there is a slight grace period during which your mouse can quickly return
Feature plugin work happened here: https://github.com/avryl/focus
props avryl, azaozz, Michael Arestad
fixes #29806
Built from https://develop.svn.wordpress.org/trunk@30338
git-svn-id: http://core.svn.wordpress.org/trunk@30337 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-11-13 22:31:22 +00:00
Dominik Schilling
4a1cb796fc
Improvements to [30333]:
...
* Move `.hide-if-no-js` class to table row
* Add a wrapper class
* Add missing translators comment
see #30264 .
Built from https://develop.svn.wordpress.org/trunk@30334
git-svn-id: http://core.svn.wordpress.org/trunk@30333 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-11-13 15:54:20 +00:00
John Blackbourn
c02845330e
Introduce a button on the user profile screen which clears all other sessions, and on the user editing screen which clears all sessions. Only appears when there are applicable sessions which can be cleared.
...
See #30264 .
Props jorbin, ocean90, johnbillion
Built from https://develop.svn.wordpress.org/trunk@30333
git-svn-id: http://core.svn.wordpress.org/trunk@30332 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-11-13 15:21:21 +00:00
Dominik Schilling
b8bfbf42e6
Color Picker: Allow to override mode
and width
values for Iris via wpColorPicker options.
...
props jtsternberg.
fixes #30182 .
Built from https://develop.svn.wordpress.org/trunk@30330
git-svn-id: http://core.svn.wordpress.org/trunk@30329 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-11-13 12:34:23 +00:00
Dominik Schilling
41197a7c31
Customizer: Improve ability to filter active state for widget area Customizer sections.
...
* Mark panels, sections, controls as active if preview explicitly indicates.
* Introduce `WP_Customize_Sidebar_Section` PHP class, and `SidebarSection` JS class.
* Move logic for determining whether a sidebar section is active from the `SidebarControl` to `SidebarSection`.
props westonruter.
fixes #30235 .
Built from https://develop.svn.wordpress.org/trunk@30329
git-svn-id: http://core.svn.wordpress.org/trunk@30328 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-11-13 12:19:23 +00:00
Dominik Schilling
6d83c8c29e
Customizer: Add support for the media library in Background Image controls.
...
`WP_Customize_Upload_Control` (PHP) and `api.UploadControl` (JS) can now open the media modal.
props celloexpressions, and ericlewis for docs.
see #21483 .
Built from https://develop.svn.wordpress.org/trunk@30309
git-svn-id: http://core.svn.wordpress.org/trunk@30308 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-11-11 23:52:22 +00:00
Dominik Schilling
8b32164b67
Customizer: Trigger widget-added
event when initializing.
...
Widget controls are now added to the pane dynamically via JavaScript, see #28709 .
Remove the event trigger from `SidebarControl.addWidget()` as it's covered by `WidgetControl.ready()`.
props westonruter.
fixes #30236 .
Built from https://develop.svn.wordpress.org/trunk@30308
git-svn-id: http://core.svn.wordpress.org/trunk@30307 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-11-11 22:46:23 +00:00
Dominik Schilling
d21799ee1f
Customizer: Use jQuery.fn.toggle()
instead of slideUp
/slideDown
if panel/section/control is not inserted into DOM yet.
...
jQuery does nothing when calling `slideUp` on elements that are not inserted into the DOM yet, which can now be the case now when first loading the Customizer as the panels, sections and controls get dynamically inserted, see #28709 .
props westonruter.
fixes #30251 .
Built from https://develop.svn.wordpress.org/trunk@30307
git-svn-id: http://core.svn.wordpress.org/trunk@30306 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-11-11 22:37:22 +00:00
Dominik Schilling
b250062311
Customizer: When navigating around the site within the Customizer preview, update the document title.
...
props westonruter.
fixes #28542 .
Built from https://develop.svn.wordpress.org/trunk@30306
git-svn-id: http://core.svn.wordpress.org/trunk@30305 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-11-11 22:29:23 +00:00
Dominik Schilling
73b4f6f449
Customizer: Add stable sorting for panels, sections and controls in JS. Improve sorting in PHP.
...
props westonruter.
fixes #30225 .
Built from https://develop.svn.wordpress.org/trunk@30214
git-svn-id: http://core.svn.wordpress.org/trunk@30214 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-11-03 21:35:23 +00:00
Scott Taylor
29deacc30c
Revisions modules should not rely on global settings:
...
* Only pass in global settings on `init`, this allows the classes to be used agnostically elsewhere
* Clean up some erroneous/weird Backbone syntax
Props ericlewis, wonderboymusic.
Fixes #30219 .
Built from https://develop.svn.wordpress.org/trunk@30131
git-svn-id: http://core.svn.wordpress.org/trunk@30131 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-11-01 00:39:24 +00:00
Scott Taylor
d1d93b7cda
Set revision.settings
via short-circuit check for window
property: window._wpRevisionsSettings || {}
...
Props ericlewis.
Fixes #30218 .
Built from https://develop.svn.wordpress.org/trunk@30130
git-svn-id: http://core.svn.wordpress.org/trunk@30130 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-11-01 00:20:22 +00:00
Scott Taylor
7cbb7552da
Allow revision Backbone classes to be used on pages other than revision.php
.
...
Props ericlewis.
Fixes #30221 .
Built from https://develop.svn.wordpress.org/trunk@30128
git-svn-id: http://core.svn.wordpress.org/trunk@30128 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-11-01 00:08:21 +00:00
Scott Taylor
f1634f7c8f
Add some JSDoc blocks to revisions.js
.
...
Props ericlewis.
See #30222 .
Built from https://develop.svn.wordpress.org/trunk@30127
git-svn-id: http://core.svn.wordpress.org/trunk@30127 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-10-31 23:55:22 +00:00
Dominik Schilling
461507452a
Customizer: Improve ColorControl
's wpColorPicker
to update UI based on setting changes.
...
Update Twenty Fifteen's `colorScheme` control to properly interact with the API, using `wp.customize.control()` instead of traversing DOM for other controls' container elements and stop manually updating color control UIs.
props westonruter.
fixes #30031 .
Built from https://develop.svn.wordpress.org/trunk@30126
git-svn-id: http://core.svn.wordpress.org/trunk@30126 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-10-31 20:45:22 +00:00
Dominik Schilling
00845a6c3d
Customizer: Fix missing newly added widgets in the preview after [29905].
...
props westonruter.
fixes #29983 .
Built from https://develop.svn.wordpress.org/trunk@30104
git-svn-id: http://core.svn.wordpress.org/trunk@30104 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-10-29 22:57:23 +00:00
Dominik Schilling
3c962ee5d8
Improve/introduce Customizer JavaScript models for Controls, Sections, and Panels.
...
* Introduce models for panels and sections.
* Introduce API to expand and focus a control, section or panel.
* Allow deep-linking to panels, sections, and controls inside of the Customizer.
* Clean up `accordion.js`, removing all Customizer-specific logic.
* Add initial unit tests for `wp.customize.Class` in `customize-base.js`.
https://make.wordpress.org/core/2014/10/27/toward-a-complete-javascript-api-for-the-customizer/ provides an overview of how to use the JavaScript API.
props westonruter, celloexpressions, ryankienstra.
see #28032 , #28579 , #28580 , #28650 , #28709 , #29758 .
fixes #29529 .
Built from https://develop.svn.wordpress.org/trunk@30102
git-svn-id: http://core.svn.wordpress.org/trunk@30102 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-10-29 22:51:22 +00:00
Sergey Biryukov
ef00815a3a
Fix JSHint errors introduced in [30014].
...
props adamsilverstein.
see #29572 .
Built from https://develop.svn.wordpress.org/trunk@30024
git-svn-id: http://core.svn.wordpress.org/trunk@30024 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-10-26 12:06:19 +00:00
John Blackbourn
905b6a9d67
Add the ability for a customizer control to render its controls via a JavaScript template. Switches the default color picker control to a JavaScript template. See #29572 . Props celloexpressions
...
Built from https://develop.svn.wordpress.org/trunk@30014
git-svn-id: http://core.svn.wordpress.org/trunk@30014 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-10-24 16:32:18 +00:00
Andrew Ozz
ecdc8d3baf
Admin menu:
...
- Fix scrolling the pinned menu with a mouse wheel.
- Fix pinning when the menu is only slightly taller than the viewport.
- Disable pinning on IE8, updating CSS top makes it jump when scrolling with a mouse wheel.
See #29806
Built from https://develop.svn.wordpress.org/trunk@29978
git-svn-id: http://core.svn.wordpress.org/trunk@29724 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-10-21 06:12:20 +00:00
Sergey Biryukov
79175d10cb
In wp.updates.decrementCount(), only display the count if it's a valid non-negative integer.
...
props jdgrimes.
fixes #29527 .
Built from https://develop.svn.wordpress.org/trunk@29960
git-svn-id: http://core.svn.wordpress.org/trunk@29707 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-10-18 19:55:18 +00:00
Andrew Ozz
553bb3cf77
Editor-expand:
...
- Better calculation for the caret position when auto-scrolling while typing.
- Fix auto-scrolling for non-WebKit browsers when the caret is above the top of the editor.
Fixes #29954
Built from https://develop.svn.wordpress.org/trunk@29929
git-svn-id: http://core.svn.wordpress.org/trunk@29681 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-10-16 21:31:18 +00:00
Dominik Schilling
e3e1433e9a
Themes: Make it possible to delete broken themes.
...
props ideag, obenland.
fixes #28165 .
Built from https://develop.svn.wordpress.org/trunk@29924
git-svn-id: http://core.svn.wordpress.org/trunk@29676 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-10-16 19:46:18 +00:00
Dominik Schilling
4020eacd8b
Customizer: Only POST dirty settings to preview to improve performance.
...
props westonruter.
fixes #29983 .
Built from https://develop.svn.wordpress.org/trunk@29905
git-svn-id: http://core.svn.wordpress.org/trunk@29660 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-10-15 17:50:18 +00:00
Dominik Schilling
61819a36ea
Customizer: Change instances of "Theme Customizer" to just "Customizer", as the Customizer isn't necessarily theme-specific.
...
Also capitalize "Customizer".
See also https://make.wordpress.org/core/2014/07/08/customizer-improvements-in-4-0/ .
props studionashvegas, tareq1988.
fixes #29947 .
Built from https://develop.svn.wordpress.org/trunk@29903
git-svn-id: http://core.svn.wordpress.org/trunk@29658 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-10-15 17:21:19 +00:00
Andrew Ozz
f19ad10571
Admin menu:
...
- Fix pinning after resizing the window.
- Merge the two DOM ready callbacks in common.js
- Fix the submenus position adjustment on focus.
See #29806
Built from https://develop.svn.wordpress.org/trunk@29898
git-svn-id: http://core.svn.wordpress.org/trunk@29653 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-10-15 06:05:18 +00:00
Andrew Ozz
c3b2243a98
Editor-expand: reset the editor height after the window is resized. Fixes #29952 for trunk.
...
Built from https://develop.svn.wordpress.org/trunk@29886
git-svn-id: http://core.svn.wordpress.org/trunk@29642 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-10-13 21:15:19 +00:00
Andrew Ozz
0fbefeaaf9
Fix support for the hide
option in wpColorPicker, props tollmanz, fixes #29632
...
Built from https://develop.svn.wordpress.org/trunk@29879
git-svn-id: http://core.svn.wordpress.org/trunk@29636 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-10-12 00:51:18 +00:00
Andrew Ozz
f98106769d
Pin the admin menu on scrolling similarly to how the side metaboxes are pinned on the Edit Post screen, first run. See #29806 .
...
Built from https://develop.svn.wordpress.org/trunk@29835
git-svn-id: http://core.svn.wordpress.org/trunk@29599 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-10-05 03:09:20 +00:00
Sergey Biryukov
468dc35b8b
When switching to the Text editor, make the textarea visible to screen readers.
...
props afercia.
fixes #29815 .
Built from https://develop.svn.wordpress.org/trunk@29815
git-svn-id: http://core.svn.wordpress.org/trunk@29581 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-10-02 12:46:16 +00:00
Sergey Biryukov
18606f2d2b
Use a more specific selector for the count displayed on Add Themes network admin screen.
...
props mantismamita, nikolov.tmw.
fixes #29421 .
Built from https://develop.svn.wordpress.org/trunk@29786
git-svn-id: http://core.svn.wordpress.org/trunk@29558 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-09-29 13:07:17 +00:00
Andrew Ozz
0a4d4a3d93
Fix tapping on the menu in iOS and Android, fixes #29365 for trunk
...
Built from https://develop.svn.wordpress.org/trunk@29770
git-svn-id: http://core.svn.wordpress.org/trunk@29542 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-09-26 23:02:16 +00:00
Andrew Ozz
613571202c
Editor expand: hide TinyMCE float panels and tooltips when scrolling, props avryl, fixes #29516 for trunk.
...
Built from https://develop.svn.wordpress.org/trunk@29738
git-svn-id: http://core.svn.wordpress.org/trunk@29512 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-09-12 01:21:15 +00:00
Sergey Biryukov
ee6af4f40c
Widgets: Toggle widget arrow when the widget is closed using Close link.
...
props senff.
fixes #29617 .
Built from https://develop.svn.wordpress.org/trunk@29726
git-svn-id: http://core.svn.wordpress.org/trunk@29500 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-09-10 17:36:15 +00:00
Sergey Biryukov
7dcabd849a
Make sure we're on the media grid page before calling wp.media().
...
props azaozz.
fixes #29520 for trunk.
Built from https://develop.svn.wordpress.org/trunk@29725
git-svn-id: http://core.svn.wordpress.org/trunk@29499 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-09-09 10:14:17 +00:00
Andrew Ozz
86373f3a4b
Editor expand: revert back to scrolling to the editor top when switching Visual to Text, fixes #29338
...
Built from https://develop.svn.wordpress.org/trunk@29698
git-svn-id: http://core.svn.wordpress.org/trunk@29473 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-09-03 18:04:16 +00:00
Helen Hou-Sandí
c8cdcef9be
Editor scrolling: Remember and restore scroll position for visual and text modes.
...
This prevents the editor from jumping off screen when the rendered visual content is significantly taller than plain text, e.g. when there are views present.
This is also a close restoration of 3.9 behavior, some of which was browser-specific.
props avryl.
fixes #29338 .
Built from https://develop.svn.wordpress.org/trunk@29693
git-svn-id: http://core.svn.wordpress.org/trunk@29468 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-09-03 09:58:16 +00:00
Andrew Nacin
0f73f0bea3
Editor scrolling: Avoid jumping to the cursor when modifier and scrolling keys are pressed.
...
fixes #29485 .
Built from https://develop.svn.wordpress.org/trunk@29692
git-svn-id: http://core.svn.wordpress.org/trunk@29467 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-09-03 09:38:16 +00:00
Dominik Schilling
cdbe551b8c
Menus: Improve performance for title live updating. Add change
event for IE < 9.
...
props helen, SergeyBiryukov.
fixes #23076 .
Built from https://develop.svn.wordpress.org/trunk@29672
git-svn-id: http://core.svn.wordpress.org/trunk@29446 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-09-02 13:23:18 +00:00
Helen Hou-Sandí
b80c5d3e51
Comments: Simplify JS for inline edit and reply.
...
fixes #27533 .
Built from https://develop.svn.wordpress.org/trunk@29662
git-svn-id: http://core.svn.wordpress.org/trunk@29436 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-09-02 03:57:18 +00:00
Andrew Ozz
7a82b73837
Editor expand:
...
- Adjust calculation when comparing sidebar position to wpfooter top. Fixes an annoying jumping when the user scrolls off the bottom.
- Use a var for the 'bottom' distance of the sidebar.
- Fix sidebar pinning when it's height is nearly the same as the viewport height.
Fixes #29349
Built from https://develop.svn.wordpress.org/trunk@29656
git-svn-id: http://core.svn.wordpress.org/trunk@29430 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-09-01 18:49:15 +00:00
Helen Hou-Sandí
c392ff6f90
Editor scrolling: reduce the amount of height jumping on load.
...
props avryl.
fixes #29307 .
Built from https://develop.svn.wordpress.org/trunk@29628
git-svn-id: http://core.svn.wordpress.org/trunk@29402 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-08-26 18:39:17 +00:00
Helen Hou-Sandí
e51fdf9d7d
Focus styling: bring the blue glow to more places.
...
Handles color picker, theme browser, help/screen options, TinyMCE dialog buttons, jQuery UI dialog buttons, and buttons in color schemes.
props avryl, celloexpressions. fixes #28267 .
Built from https://develop.svn.wordpress.org/trunk@29616
git-svn-id: http://core.svn.wordpress.org/trunk@29390 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-08-26 05:17:17 +00:00
Helen Hou-Sandí
f348ccccf8
Customizer panels: use a single back button for all panels.
...
This also ensures the back button is visible on iOS devices.
props celloexpressions.
fixes #29135 .
Built from https://develop.svn.wordpress.org/trunk@29610
git-svn-id: http://core.svn.wordpress.org/trunk@29384 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-08-25 23:05:15 +00:00
Helen Hou-Sandí
713857625e
Make filter bar CSS less verbose and redundant.
...
Also removes an unused handler in the theme feature filter.
see #28794 .
Built from https://develop.svn.wordpress.org/trunk@29596
git-svn-id: http://core.svn.wordpress.org/trunk@29370 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-08-25 15:58:15 +00:00
Andrew Ozz
488e2aa4cf
Editor expand: add border to the Text editor resize helper, helps calculating the height in some cases. Fixes #29225
...
Built from https://develop.svn.wordpress.org/trunk@29593
git-svn-id: http://core.svn.wordpress.org/trunk@29367 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-08-25 03:43:17 +00:00
Andrew Ozz
58752f91db
Editor scrolling: fix window height when switching Visual to Text and the editor is shorter. Props mackensen, fixes #29226 .
...
Built from https://develop.svn.wordpress.org/trunk@29592
git-svn-id: http://core.svn.wordpress.org/trunk@29366 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-08-24 23:12:15 +00:00
Dominik Schilling
3a980c39c8
Apply accessibility improvements to Plugins screen too.
...
props SergeyBiryukov.
fixes #29342 .
Built from https://develop.svn.wordpress.org/trunk@29583
git-svn-id: http://core.svn.wordpress.org/trunk@29357 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-08-24 16:22:16 +00:00
Andrew Ozz
61292620c5
Editor scrolling:
...
- Pin the TinyMCE statusbar (elements path) to the bottom.
- Add support for pinning the menu when present.
- Add borders from CSS.
- Optimize getting most elements outerHeight.
Part props avryl, fixes #29293 , see #28328 .
Built from https://develop.svn.wordpress.org/trunk@29579
git-svn-id: http://core.svn.wordpress.org/trunk@29353 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-08-24 05:11:16 +00:00
Scott Taylor
6352d703a0
Media Grid/Modal Keyboard navigation improvements:
...
* Add focus to arrows on Next/Previous in the grid's modal on left/right keypress, and add the necessary CSS for `:focus`
* When in a disabled input in the grid modal, allow the left/right keys to work
* Make the image editor return a `$.Deferred` so that there isn't a race condition with UI loading.
* Assign focus when the edit image mode is rendered so that the modal can be closed on Esc press
Props wonderboymusic, adamsilverstein (for the initial patch).
See #23560 .
Built from https://develop.svn.wordpress.org/trunk@29560
git-svn-id: http://core.svn.wordpress.org/trunk@29335 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-08-21 02:35:17 +00:00
Dominik Schilling
f5ec2a211b
Plugin details: Accessibility improvements
...
* Focus the close link to transfer focus into the plugin modal.
* Set title attribute on iframe for screereaders.
props jwenerd for initial patch and a11y team for testing.
fixes #28823 .
Built from https://develop.svn.wordpress.org/trunk@29534
git-svn-id: http://core.svn.wordpress.org/trunk@29310 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-08-18 20:02:19 +00:00
Andrew Ozz
c0fef55a47
DFW: revert applying the Visual editor body color and background-color for now. Set the color to #333 and the background to transparent. Fixes #28330 .
...
Built from https://develop.svn.wordpress.org/trunk@29533
git-svn-id: http://core.svn.wordpress.org/trunk@29309 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-08-18 18:23:16 +00:00
Andrew Ozz
68a3e1af2c
Editor scrolling: set max-width: 100% for the text editor clone instead of always resizing it. See #29246 .
...
Built from https://develop.svn.wordpress.org/trunk@29524
git-svn-id: http://core.svn.wordpress.org/trunk@29300 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-08-18 01:13:16 +00:00
Andrew Ozz
bae4afab44
Editor scrolling:
...
- Properly handle change of sidebar height when opening, closing or hiding postboxes.
- Add a flag when to start pinning. Set it to few pixels more than the initial editor height.
See #28328
Built from https://develop.svn.wordpress.org/trunk@29523
git-svn-id: http://core.svn.wordpress.org/trunk@29299 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-08-18 00:35:18 +00:00
Andrew Ozz
4fc5f9bcca
Editor scrolling: always resize the text editor clone so it doesn't "push" the parent's width over 100%, fixes #29246 .
...
Built from https://develop.svn.wordpress.org/trunk@29522
git-svn-id: http://core.svn.wordpress.org/trunk@29298 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-08-17 21:33:15 +00:00
Dominik Schilling
27e564113d
Admin Menu: Auto fold the menu at 960px.
...
This gives us some more room at the post edit screen.
props vinod dalvi for initial patch.
fixes #28592 .
Built from https://develop.svn.wordpress.org/trunk@29518
git-svn-id: http://core.svn.wordpress.org/trunk@29294 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-08-17 14:15:17 +00:00
Helen Hou-Sandí
da2d975668
Editor scrolling:
...
* Reduce the starting height of the editor to better match the height at which the top toolbar unpins.
* Pin the side metaboxes so they do not get lost when the editor content is long.
* Turn magic numbers into variables.
props stephdau, azaozz. see #28328 .
Built from https://develop.svn.wordpress.org/trunk@29495
git-svn-id: http://core.svn.wordpress.org/trunk@29273 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-08-15 03:17:15 +00:00
Helen Hou-Sandí
093772f3c0
Plugin details modal:
...
* Scroll all content, rather than the dual-pane scrolling awkwardness.
* Better align the header image and title overlay with the display on WordPress.org, at least at full-width.
* Move the close button outside of the modal itself, rather than overlay on top of colors we can't predict.
props stephdau, tellyworth, helen. fixes #27440 .
Built from https://develop.svn.wordpress.org/trunk@29474
git-svn-id: http://core.svn.wordpress.org/trunk@29252 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-08-12 23:02:16 +00:00
Scott Taylor
5cab03ab29
Add some docs to Customizer JS.
...
Props ericlewis.
See #29157 .
Built from https://develop.svn.wordpress.org/trunk@29451
git-svn-id: http://core.svn.wordpress.org/trunk@29229 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-08-08 23:31:15 +00:00
Andrew Nacin
40258a41b8
Language chooser imporvements.
...
* Use a translated 'Continue' string.
* Go back to using a select element.
* Only show a spinner when we're installing a language.
see #28577 .
Built from https://develop.svn.wordpress.org/trunk@29372
git-svn-id: http://core.svn.wordpress.org/trunk@29150 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-08-04 20:47:16 +00:00
Andrew Ozz
e50ffd401e
Editor scrolling: run one more adjust() 200ms after scroll or resize in case the browser is slow to re-calculate the element heights and pin/unpin the toolbars. See #28328 , fixes #29059 .
...
Built from https://develop.svn.wordpress.org/trunk@29352
git-svn-id: http://core.svn.wordpress.org/trunk@29128 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-08-01 21:43:18 +00:00
Dominik Schilling
fb9084eed3
Disable background page scrolling when modals are open.
...
props celloexpressions.
fixes #29074 .
Built from https://develop.svn.wordpress.org/trunk@29346
git-svn-id: http://core.svn.wordpress.org/trunk@29124 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-08-01 20:15:15 +00:00
Mark Jaquith
61a0551529
Match background color in DFW and adapt the dashed outline color.
...
fixes #28330 . props avryl, ipstenu.
Built from https://develop.svn.wordpress.org/trunk@29340
git-svn-id: http://core.svn.wordpress.org/trunk@29120 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-08-01 18:10:16 +00:00
Andrew Ozz
b9886e92e3
Editor scrolling:
...
- Add a Screen Option to turn it on/off, and on()/off() methods from JS. Store the user preference.
- Fix delayed calls to resize() in the TinyMCE autoresize plugin.
See #28328 .
Built from https://develop.svn.wordpress.org/trunk@29336
git-svn-id: http://core.svn.wordpress.org/trunk@29116 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-08-01 02:43:17 +00:00
Sergey Biryukov
187e23b3d6
Customizer: Don't hide controls the preview frame has no information about.
...
props kovshenin.
see #27993 .
Built from https://develop.svn.wordpress.org/trunk@29329
git-svn-id: http://core.svn.wordpress.org/trunk@29109 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-07-30 16:24:18 +00:00
Sergey Biryukov
4078e14d1e
QuickPress: Disable autocomplete for content, enable "Save Draft" button on load.
...
props morganestes, michalzuber.
fixes #27760 .
Built from https://develop.svn.wordpress.org/trunk@29323
git-svn-id: http://core.svn.wordpress.org/trunk@29104 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-07-29 15:34:16 +00:00
Andrew Ozz
004da2f6ba
Formatting: make the removal of white space around <option> greedy, see #28217 .
...
Built from https://develop.svn.wordpress.org/trunk@29316
git-svn-id: http://core.svn.wordpress.org/trunk@29097 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-07-28 19:55:16 +00:00
Andrew Ozz
ad0f539621
Formatting: no <p> or <br> around <option> tags in both flavours of wpautop, make "selects" easier to read in the Text editor. Fixes #28217 .
...
Built from https://develop.svn.wordpress.org/trunk@29315
git-svn-id: http://core.svn.wordpress.org/trunk@29096 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-07-28 19:44:18 +00:00
Andrew Ozz
b9f97e8352
TinyMCE:
...
- Fix complex character input in Japanese, Chinese, etc. Was broken in getCursorOffset() in editor-expand.js.
- Disable auto-scrolling in some edge cases when editor expanding is enabled.
See #28328 .
Built from https://develop.svn.wordpress.org/trunk@29302
git-svn-id: http://core.svn.wordpress.org/trunk@29084 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-07-26 00:08:19 +00:00
Helen Hou-Sandí
448275cce4
Media Grid: Remove fields from showing in the grid itself.
...
All details are still available within the modal, and less-distinguishable non-image files still show the filename along with the file type icon.
Reverts [29079], [29078], [29077], and [28995]. see #24716 .
Built from https://develop.svn.wordpress.org/trunk@29280
git-svn-id: http://core.svn.wordpress.org/trunk@29062 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-07-24 05:26:15 +00:00
Andrew Ozz
da0b98a8f0
Editor scrolling:
...
- Improve TinyMCE resizing when a floated block is at the end of the content.
- Improve setting the padding/margin under the toolbar on loading.
- Add custom event on TinyMCE resizing and use it to adjust the pinning (if needed).
Part props avryl, see #28328 .
Built from https://develop.svn.wordpress.org/trunk@29279
git-svn-id: http://core.svn.wordpress.org/trunk@29061 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-07-24 01:33:15 +00:00
Dominik Schilling
e78867dc88
Fix jshint errors introduced in [29259]. see #11325 .
...
Built from https://develop.svn.wordpress.org/trunk@29269
git-svn-id: http://core.svn.wordpress.org/trunk@29051 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-07-22 20:03:15 +00:00
Sergey Biryukov
51db702770
Remove requirement for a minimum image size in the image editor.
...
props ericlewis, solarissmoke.
fixes #11325 .
Built from https://develop.svn.wordpress.org/trunk@29259
git-svn-id: http://core.svn.wordpress.org/trunk@29042 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-07-21 19:10:14 +00:00
Andrew Ozz
9175194785
Fix admin menu open/close issues on some mobile devices, props adamsilverstein, fixes #27980 .
...
Built from https://develop.svn.wordpress.org/trunk@29247
git-svn-id: http://core.svn.wordpress.org/trunk@29031 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-07-19 18:55:16 +00:00
Sergey Biryukov
81f912dd7a
Customizer: Remove "Add a Widget" button from tab order when reordering widgets.
...
fixes #28890 .
Built from https://develop.svn.wordpress.org/trunk@29243
git-svn-id: http://core.svn.wordpress.org/trunk@29027 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-07-19 03:32:17 +00:00
Sergey Biryukov
37e51e558c
Customizer: When widget reorder button is actioned, transfer focus to the first Move control within the section.
...
fixes #28891 .
Built from https://develop.svn.wordpress.org/trunk@29242
git-svn-id: http://core.svn.wordpress.org/trunk@29026 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-07-19 03:24:15 +00:00
Sergey Biryukov
9a02dabf34
Customizer: Add widget title to Move/Up/Down controls to provide context for screen readers when reordering or moving widgets.
...
fixes #28889 .
Built from https://develop.svn.wordpress.org/trunk@29238
git-svn-id: http://core.svn.wordpress.org/trunk@29022 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-07-19 01:58:15 +00:00
Sergey Biryukov
53d2839324
Customizer: Avoid losing focus when adding widgets via keyboard.
...
props sathishn.
fixes #28835 .
Built from https://develop.svn.wordpress.org/trunk@29237
git-svn-id: http://core.svn.wordpress.org/trunk@29021 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-07-19 01:19:14 +00:00
Helen Hou-Sandí
c4b561bb6c
Use more generic, reusable CSS for the filter bar on Add Themes. This will allow us to reuse the UI in other places, such as the Media Library. props paulwilde. fixes #28794 .
...
Built from https://develop.svn.wordpress.org/trunk@29217
git-svn-id: http://core.svn.wordpress.org/trunk@29001 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-07-18 03:40:16 +00:00
Scott Taylor
d395142fb9
In Plugin Install List Table, remove title attribute for plugin action links; add screen-reader-text.
...
Props joedolson.
Fixes #28853 .
Built from https://develop.svn.wordpress.org/trunk@29201
git-svn-id: http://core.svn.wordpress.org/trunk@28985 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-07-16 22:50:14 +00:00
Andrew Ozz
a97559bf57
Editor scrolling: better "scroll into view" in the visual editor. Don't override MCE path focus style. Props avryl, see #28328 .
...
Built from https://develop.svn.wordpress.org/trunk@29186
git-svn-id: http://core.svn.wordpress.org/trunk@28970 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-07-16 04:06:16 +00:00
Dominik Schilling
448422f8ae
Media Grid improvements:
...
* Remove fixed elements.
* Adjusts toolbar and search, fixes #28833 .
* Add link to Add New button, fixes #28825 .
* Add "Edit Metadata" tab to all items, "Edit Image" only for images
* Make strings translatable.
* First pass for help tab.
see #28850 .
Built from https://develop.svn.wordpress.org/trunk@29136
git-svn-id: http://core.svn.wordpress.org/trunk@28920 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-07-13 16:16:15 +00:00
Dominik Schilling
8cbada97be
Improvements to the plugin information modal:
...
* Whitespace/braces cleanup for [29040].
* Reduce width of modal to 792px, which is the default banner size.
* Reduce banner height when screen height is smaller than 500px.
* Remove inline CSS.
* Re-use tab var in JS.
* Encode ampersands in links.
props avryl, michalzuber, ocean90.
see #27440 .
Built from https://develop.svn.wordpress.org/trunk@29125
git-svn-id: http://core.svn.wordpress.org/trunk@28910 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-07-12 22:08:16 +00:00
Andrew Ozz
39bf5e06b1
Editor scrolling: disable on mobile devices and hide the resize handle. See #28328 .
...
Built from https://develop.svn.wordpress.org/trunk@29117
git-svn-id: http://core.svn.wordpress.org/trunk@28903 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-07-12 00:54:14 +00:00
Scott Taylor
ea42b8e48e
Media Grid:
...
* Move the grid down via CSS transition when the Screen Options slide open.
* Remove some unused CSS for grid options.
See #24716 .
Built from https://develop.svn.wordpress.org/trunk@29086
git-svn-id: http://core.svn.wordpress.org/trunk@28872 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-07-11 05:34:14 +00:00
Scott Taylor
b16d3bd6ad
Media Grid: make registering Screen Options for non-list tables more generic.
...
See #24716 .
Built from https://develop.svn.wordpress.org/trunk@29079
git-svn-id: http://core.svn.wordpress.org/trunk@28865 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-07-10 21:44:16 +00:00
Scott Taylor
a9fb59151b
Media Grid: Screen Options for grid have to play nice with Screen Options for list. This was fun.
...
See #24716 .
Built from https://develop.svn.wordpress.org/trunk@29078
git-svn-id: http://core.svn.wordpress.org/trunk@28864 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-07-10 21:26:16 +00:00
Scott Taylor
a89060013b
Media Grid: Move toggling of visible fields to Screen Options. This moves us in a better direction... but this will probably need to be massaged again.
...
See #24716 .
Built from https://develop.svn.wordpress.org/trunk@29077
git-svn-id: http://core.svn.wordpress.org/trunk@28863 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-07-10 21:00:17 +00:00
Helen Hou-Sandí
1a8c136d33
Editor scrolling:
...
* Make sure the background color for tools is only applied to the main editor.
* Fix toolbar width for smaller screens.
* Ensure toolbar doesn't end up in a weird place when scrolling down too fast.
* Avoid JS errors for post types that don't support the editor.
props avryl. see #28328 .
Built from https://develop.svn.wordpress.org/trunk@29075
git-svn-id: http://core.svn.wordpress.org/trunk@28861 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-07-10 19:36:15 +00:00
Sergey Biryukov
15f3b73984
Revisions: Explicitly set the 'from' handle position when switching from two-handled mode back to single-handled mode.
...
props adamsilverstein.
fixes #26793 .
Built from https://develop.svn.wordpress.org/trunk@29052
git-svn-id: http://core.svn.wordpress.org/trunk@28840 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-07-10 01:00:14 +00:00
Sergey Biryukov
ad7bc20cb1
Customizer: Introduce WP_Customize_Control::active() method to determine whether the control is relevant to the current context (i.e. to the current URL being previewed).
...
Control can indicate its active state by a subclass overriding the 'active_callback' method, by supplying a callable 'active_callback' argument into the control's constructor, or by filtering 'customize_control_active'.
props westonruter.
see #27993 .
Built from https://develop.svn.wordpress.org/trunk@29051
git-svn-id: http://core.svn.wordpress.org/trunk@28839 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-07-09 23:58:16 +00:00
Andrew Ozz
1c55723a16
Fix whitespace, quotes and double patch content in wpautoresize plugin, see #28328
...
Built from https://develop.svn.wordpress.org/trunk@29050
git-svn-id: http://core.svn.wordpress.org/trunk@28838 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-07-09 22:43:14 +00:00
Andrew Ozz
5e4a020ff8
Enhance the editor on the Add/Edit Post screens, first run. Props avril, see #28328 .
...
Built from https://develop.svn.wordpress.org/trunk@29049
git-svn-id: http://core.svn.wordpress.org/trunk@28837 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-07-09 22:06:15 +00:00
Sergey Biryukov
3b291f7057
Customizer: Export Previewer instance to wp.customize.previewer, and utilize for Widget Customizer.
...
props westonruter.
fixes #27666 .
Built from https://develop.svn.wordpress.org/trunk@29048
git-svn-id: http://core.svn.wordpress.org/trunk@28836 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-07-09 20:58:15 +00:00
Helen Hou-Sandí
c74cae6d47
Remove an unused JS variable after [29036]. see #27406 .
...
Built from https://develop.svn.wordpress.org/trunk@29042
git-svn-id: http://core.svn.wordpress.org/trunk@28830 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-07-09 17:46:14 +00:00
Helen Hou-Sandí
2dfccee78f
Improvements to the plugin information modal:
...
* Show the banner image when available.
* Show contributors and ratings breakdown in the FYI box.
* Show reviews in a tab.
props stephdau, tellyworth, paulwilde, michalzuber. see #27440 . fixes #19784 , #22599 , #26202 .
Built from https://develop.svn.wordpress.org/trunk@29040
git-svn-id: http://core.svn.wordpress.org/trunk@28828 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-07-09 17:28:17 +00:00
Helen Hou-Sandí
1705358159
accordion.js:
...
* Remove remnants from when some corners were rounded.
* Docs.
props celloexpressions. see #27406 .
Built from https://develop.svn.wordpress.org/trunk@29036
git-svn-id: http://core.svn.wordpress.org/trunk@28824 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-07-08 20:22:15 +00:00
Helen Hou-Sandí
3575612966
Customizer panels:
...
* Close all accordion sections when going in and out of panels.
* Fix panel positioning when top-level Customizer controls are scrolled down.
* Keyboard accessibility: only focus on visible elements and transfer between them as needed when navigating around panels.
props celloexpressions. see #27406 .
Built from https://develop.svn.wordpress.org/trunk@29035
git-svn-id: http://core.svn.wordpress.org/trunk@28823 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-07-08 20:19:15 +00:00
Helen Hou-Sandí
c2a3f4fab5
Customizer info section:
...
* Only show the theme info when doing a live preview of another theme.
* Replace with helper text about what you are customizing and what the Customizer is for.
* Fix focus styling.
props celloexpressions, westonruter. fixes #28550 .
Built from https://develop.svn.wordpress.org/trunk@29034
git-svn-id: http://core.svn.wordpress.org/trunk@28822 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-07-08 19:53:15 +00:00
Helen Hou-Sandí
b90b64bf9e
More consistent icons in place of some buttons for the Customizer and theme install preview.
...
* Use a single close icon instead of a context-changing cancel/close button in the Customizer. In user testing, this small distinction in language was overlooked, and we use an AYS now instead. This also makes it consistent with the back arrow in Customizer panels.
* Use the same close icon as well as the previous/next arrows from the theme details browser in the theme install preview.
props celloexpressions. fixes #28655 .
Built from https://develop.svn.wordpress.org/trunk@29031
git-svn-id: http://core.svn.wordpress.org/trunk@28819 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-07-08 18:19:14 +00:00
Helen Hou-Sandí
b6d3c0841e
Prompt the user before leaving the Customizer if they have unsaved changes. props westonruter. fixes #25439 .
...
Built from https://develop.svn.wordpress.org/trunk@29025
git-svn-id: http://core.svn.wordpress.org/trunk@28813 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-07-08 17:04:15 +00:00
John Blackbourn
d237bc419d
Narrower layout and loading spinner for the install screen language selector. See #28577
...
Built from https://develop.svn.wordpress.org/trunk@29021
git-svn-id: http://core.svn.wordpress.org/trunk@28809 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-07-08 00:33:15 +00:00
John Blackbourn
64f686b4c8
Focus and blur styling (via JS) for the install screen language selector. Props jorbin. See #28577
...
Built from https://develop.svn.wordpress.org/trunk@29020
git-svn-id: http://core.svn.wordpress.org/trunk@28808 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-07-08 00:30:14 +00:00
Helen Hou-Sandí
38e5e13b1f
Only apply metabox handle styles and JS events to .postbox .hndle
, as opposed to all h3
s in a .postbox
.
...
Developers previously relying on the `h3` behavior may be affected. You may want to investigate `do_meta_boxes()` rather than recreating markup.
props SergeyBiryukov, nabil_kadimi.
fixes #28485 .
Built from https://develop.svn.wordpress.org/trunk@28940
git-svn-id: http://core.svn.wordpress.org/trunk@28738 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-07-01 16:23:15 +00:00
Sergey Biryukov
ff00c377ec
Show a "No themes found" message if the search for an installed theme doesn't produce any results.
...
props gauravmittal1995 for initial patch.
fixes #28587 .
Built from https://develop.svn.wordpress.org/trunk@28890
git-svn-id: http://core.svn.wordpress.org/trunk@28689 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-06-29 09:16:14 +00:00
Helen Hou-Sandí
831e5aa049
Don't switch contextual help tabs when tabbing around. props neil_pie. see #28209 .
...
Built from https://develop.svn.wordpress.org/trunk@28869
git-svn-id: http://core.svn.wordpress.org/trunk@28669 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-06-27 19:10:16 +00:00
Sergey Biryukov
08332b50cb
Avoid duplication of callbacks in theme browser sidebar each time the Next or Previous button is clicked.
...
This makes the collapse/expand button work as expected.
fixes #28581 .
Built from https://develop.svn.wordpress.org/trunk@28868
git-svn-id: http://core.svn.wordpress.org/trunk@28668 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-06-27 16:06:15 +00:00
Dominik Schilling
b7c93eb3d0
Customizer: Introduce a "panel" API to organize multiple sections into a one section.
...
Create a panel via `$GLOBALS['wp_customize']->add_panel( $panel_id, $args )` and use `$panel_id` for the `panel` argument in `$GLOBALS['wp_customize']->add_section( $section_id, $args )`. That's it.
As an example all widget area sections are now summarized into one panel. Feedback appreciated.
props celloexpressions.
see #27406 .
Built from https://develop.svn.wordpress.org/trunk@28861
git-svn-id: http://core.svn.wordpress.org/trunk@28662 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-06-26 20:17:15 +00:00
Sergey Biryukov
1c227553b9
Fix unexpected replacement of a previous tag when selecting a tag from autosuggest results.
...
props camdensegal.
fixes #28471 .
Built from https://develop.svn.wordpress.org/trunk@28851
git-svn-id: http://core.svn.wordpress.org/trunk@28655 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-06-26 16:08:14 +00:00
Scott Taylor
f907f0c57b
The "old iframe media modal" has some pretty busted styles. Although this is a "deprecated" feature, clean up some of the broken styles.
...
Props erayalakese for the JS patch.
Fixes #28220 .
Built from https://develop.svn.wordpress.org/trunk@28830
git-svn-id: http://core.svn.wordpress.org/trunk@28634 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-06-25 17:39:15 +00:00
Scott Taylor
856e5ef55e
Remove noscript
from wpautop()
's list of block elements.
...
Props mdawaffe.
Fixes #27268 .
Built from https://develop.svn.wordpress.org/trunk@28817
git-svn-id: http://core.svn.wordpress.org/trunk@28624 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-06-24 00:54:17 +00:00
Scott Taylor
396e77b643
Use unobtrusive JS for Comment list table row actions.
...
Props aubreypwd.
Fixes #27533 .
Built from https://develop.svn.wordpress.org/trunk@28810
git-svn-id: http://core.svn.wordpress.org/trunk@28618 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-06-23 23:55:16 +00:00
Sergey Biryukov
1dd9c189e9
Fix copy/paste error in a comment.
...
see #28581 .
Built from https://develop.svn.wordpress.org/trunk@28777
git-svn-id: http://core.svn.wordpress.org/trunk@28590 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-06-19 01:36:14 +00:00
Sergey Biryukov
d2a43e7cb2
Don't add # to URL when clicking 'OK' without changing the permalink.
...
props avryl.
fixes #27594 .
Built from https://develop.svn.wordpress.org/trunk@28771
git-svn-id: http://core.svn.wordpress.org/trunk@28584 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-06-18 00:29:15 +00:00
Scott Taylor
b964ac0148
Live update the menu item title when the user is editing the "Navigation Label" field.
...
Props celloexpressions.
See #23076 .
Built from https://develop.svn.wordpress.org/trunk@28707
git-svn-id: http://core.svn.wordpress.org/trunk@28523 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-06-09 18:39:15 +00:00
Helen Hou-Sandí
b5ef672c6b
Grid view for the media library, first pass. This is alpha; expect imperfection. We will be iterating further.
...
props ericlewis, shaunandrews, wonderboymusic.
see #24716 .
Built from https://develop.svn.wordpress.org/trunk@28682
git-svn-id: http://core.svn.wordpress.org/trunk@28500 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-06-05 22:01:18 +00:00
Scott Taylor
ecdcfb55bb
Make the image editor less jumpy when opening.
...
Props eddiemoya, ericlewis.
Fixes #22793 .
Built from https://develop.svn.wordpress.org/trunk@28639
git-svn-id: http://core.svn.wordpress.org/trunk@28457 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-05-30 19:53:15 +00:00
Andrew Ozz
15a1f80885
TinyMCE in iOS:
...
- Fix placing the caret at the bottom of longer posts when the keyboard is open.
- Disable resizing on switching editors and on show/hide the kitchen sink row.
See #28242
Built from https://develop.svn.wordpress.org/trunk@28626
git-svn-id: http://core.svn.wordpress.org/trunk@28446 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-05-30 02:38:16 +00:00
Sergey Biryukov
78a9cb855e
Fix displaying taxonomies in bulk edit if the post type does not support titles.
...
props scribu.
fixes #16793 .
Built from https://develop.svn.wordpress.org/trunk@28600
git-svn-id: http://core.svn.wordpress.org/trunk@28425 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-05-28 13:50:14 +00:00
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