Sergey Biryukov
6628d7dd33
Remove redundant title attributes from get_calendar().
...
props joedolson.
fixes #26561 .
Built from https://develop.svn.wordpress.org/trunk@29244
git-svn-id: http://core.svn.wordpress.org/trunk@29028 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-07-19 04:41:15 +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
fdd0756e5a
Add a class for get_comment_author_link() in Recent Comments widget.
...
props DrewAPicture, dannydehaan, 5um17.
fixes #27944 .
Built from https://develop.svn.wordpress.org/trunk@29241
git-svn-id: http://core.svn.wordpress.org/trunk@29025 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-07-19 02:44:14 +00:00
Sergey Biryukov
440be3565d
Customizer: Add screen reader text to announce that panels and sections are expandable.
...
props joedolson, ocean90.
fixes #27591 .
Built from https://develop.svn.wordpress.org/trunk@29240
git-svn-id: http://core.svn.wordpress.org/trunk@29024 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-07-19 02:37:16 +00:00
Sergey Biryukov
53c599563c
Add screen reader text to announce that menu item accordion sections are expandable. Remove redundant title attribute.
...
props joedolson.
fixes #28866 .
Built from https://develop.svn.wordpress.org/trunk@29239
git-svn-id: http://core.svn.wordpress.org/trunk@29023 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-07-19 02:21:14 +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
Andrew Ozz
1d637d85e0
TinyMCE wpView:
...
- Typing something replaces a selected view.
- Pressing backspace deletes the selection.
- Pressing enter also deletes the selection.
- Pasting something replaces the selection.
- Also merge the different 'keydown' handlers.
Props avryl, fixes #28913 .
Built from https://develop.svn.wordpress.org/trunk@29236
git-svn-id: http://core.svn.wordpress.org/trunk@29020 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-07-19 00:34:15 +00:00
Sergey Biryukov
13d0a0a367
Revert [28963].
...
see #28006 .
Built from https://develop.svn.wordpress.org/trunk@29235
git-svn-id: http://core.svn.wordpress.org/trunk@29019 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-07-19 00:26:16 +00:00
Sergey Biryukov
ef14aed9a2
Use an existing string.
...
see #19205 .
Built from https://develop.svn.wordpress.org/trunk@29234
git-svn-id: http://core.svn.wordpress.org/trunk@29018 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-07-18 23:56:14 +00:00
Sergey Biryukov
c4fce2f163
Reverse the order of roles in help text on Add New User screen to match [25695].
...
fixes #28914 .
Built from https://develop.svn.wordpress.org/trunk@29233
git-svn-id: http://core.svn.wordpress.org/trunk@29017 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-07-18 23:48:15 +00:00
Sergey Biryukov
c09a48a915
Add screen reader text for star ratings on Install Plugins screen.
...
props joedolson.
fixes #28852 .
Built from https://develop.svn.wordpress.org/trunk@29232
git-svn-id: http://core.svn.wordpress.org/trunk@29016 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-07-18 23:41:14 +00:00
Andrew Ozz
f43f758197
TinyMCE: better "color preview" for the text color button, props avryl, fixes #28280 .
...
Built from https://develop.svn.wordpress.org/trunk@29231
git-svn-id: http://core.svn.wordpress.org/trunk@29015 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-07-18 22:15:15 +00:00
Drew Jaynes
61b8ba8461
Convert documentation for default arguments in WP_Http::request()
to a hash notation.
...
Also update corresponding docs for functions that leverage its arguments.
See #28298 .
Built from https://develop.svn.wordpress.org/trunk@29230
git-svn-id: http://core.svn.wordpress.org/trunk@29014 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-07-18 22:01:15 +00:00
Drew Jaynes
f35e168f39
Fix syntax for single- and multi-line comments in wp-includes/class-http.php.
...
See #28943 and #28931 .
Built from https://develop.svn.wordpress.org/trunk@29229
git-svn-id: http://core.svn.wordpress.org/trunk@29013 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-07-18 21:47:15 +00:00
Andrew Nacin
c11836174c
4.0-beta2.
...
Built from https://develop.svn.wordpress.org/trunk@29228
git-svn-id: http://core.svn.wordpress.org/trunk@29012 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-07-18 21:05:15 +00:00
Andrew Nacin
9e33ac1bee
Plugin Install screens: Pass locale and installed plugins to the API, for context.
...
props tellyworth.
see #17902 .
Built from https://develop.svn.wordpress.org/trunk@29227
git-svn-id: http://core.svn.wordpress.org/trunk@29011 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-07-18 20:50:15 +00:00
Andrew Nacin
860f0922b7
Add 'Details' links to installed plugins.
...
Installed plugins that are up to date are now returned in the update-check API response.
props tellyworth.
see #17902 .
Built from https://develop.svn.wordpress.org/trunk@29226
git-svn-id: http://core.svn.wordpress.org/trunk@29010 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-07-18 20:49:17 +00:00
Helen Hou-Sandí
4da975b68f
Plugin install: display cards in groups if the API returns them with the appropriate information. props tellyworth. fixes #28673 .
...
Built from https://develop.svn.wordpress.org/trunk@29225
git-svn-id: http://core.svn.wordpress.org/trunk@29009 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-07-18 19:35:14 +00:00
Andrew Nacin
84fb6743fe
WP_Session_Tokens: Can't abstract a static method.
...
Implementations can choose to implement the drop_sessions() method on their own.
see #20276 .
Built from https://develop.svn.wordpress.org/trunk@29224
git-svn-id: http://core.svn.wordpress.org/trunk@29008 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-07-18 19:16:15 +00:00
John Blackbourn
4b31a9143a
Update some inline docs for the WP_Http
class. Fixes #28943 .
...
Built from https://develop.svn.wordpress.org/trunk@29223
git-svn-id: http://core.svn.wordpress.org/trunk@29007 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-07-18 18:15:15 +00:00
Sergey Biryukov
d2e690ac2d
Fix parse error in PHP 5.2.
...
props georgestephanis.
see #20276 .
Built from https://develop.svn.wordpress.org/trunk@29222
git-svn-id: http://core.svn.wordpress.org/trunk@29006 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-07-18 17:34:15 +00:00
Andrew Nacin
654e46f03d
Tie cookies and nonces to user sessions so they may be invalidated upon logout.
...
Sessions are stored in usermeta via WP_User_Meta_Session_Tokens, which extends the abstract WP_Session_Tokens class. Extending WP_Session_Tokens can allow for alternative storage, such as a separate table or Redis.
Introduces some simple APIs for session listing and destruction, such as wp_get_active_sessions() and wp_destroy_all_sessions().
This invalidates all existing authentication cookies, as a new segment (the session token) has been added to them.
props duck_, nacin, mdawaffe.
see #20276 .
Built from https://develop.svn.wordpress.org/trunk@29221
git-svn-id: http://core.svn.wordpress.org/trunk@29005 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-07-18 09:13:15 +00:00
Helen Hou-Sandí
e8ade6be6e
Keyboard accessibility for the media modal:
...
* Arrow keys navigate between items in the grid.
* Transfer focus into the panel when selecting a tab along the side.
* Transfer focus into the details sidebar when selecting an item and vice versa.
* Set initial focus on the close button so that it is visible.
props celloexpressions, lessbloat, ericlewis. fixes #25100 , #25101 , #28704 . see #23560 .
Built from https://develop.svn.wordpress.org/trunk@29220
git-svn-id: http://core.svn.wordpress.org/trunk@29004 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-07-18 07:57:15 +00:00
Helen Hou-Sandí
a034c2076b
Plugin install cards:
...
* Move author attribution to its own line.
* Use `esc_url()` where appropriate.
* Better i18n.
* min-height for cards for a more even appearance.
* Show more cards on wide screens.
* Tighten up spacing below the filter bar.
props ocean90, helen. see #28785 .
Built from https://develop.svn.wordpress.org/trunk@29219
git-svn-id: http://core.svn.wordpress.org/trunk@29003 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-07-18 06:08:15 +00:00
Helen Hou-Sandí
02e3a7cbe3
Install Plugins screen:
...
* Utilize the (currently-named) filter bar from the Add Themes screen.
* Move the upload link to the h2, also like the Add Themes screen.
see #28673 .
Built from https://develop.svn.wordpress.org/trunk@29218
git-svn-id: http://core.svn.wordpress.org/trunk@29002 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-07-18 04:50:15 +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
Sergey Biryukov
47119960de
Don't 404 for empty feeds.
...
fixes #18505 .
Built from https://develop.svn.wordpress.org/trunk@29216
git-svn-id: http://core.svn.wordpress.org/trunk@29000 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-07-17 22:22:15 +00:00
Sergey Biryukov
be718ee860
Declare the variable before using it.
...
props danielbachhuber.
fixes #28932 .
Built from https://develop.svn.wordpress.org/trunk@29215
git-svn-id: http://core.svn.wordpress.org/trunk@28999 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-07-17 22:01:14 +00:00
Andrew Ozz
5c5c73b50e
TinyMCE: add the 'colorpicker' and 'lists' plugins, fixes #28939 , #27359 .
...
Built from https://develop.svn.wordpress.org/trunk@29214
git-svn-id: http://core.svn.wordpress.org/trunk@28998 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-07-17 21:54:14 +00:00
Helen Hou-Sandí
5267c64e5f
Fix jshint errors introduced in [29212]. see #28842 .
...
Built from https://develop.svn.wordpress.org/trunk@29213
git-svn-id: http://core.svn.wordpress.org/trunk@28997 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-07-17 20:46:14 +00:00
Helen Hou-Sandí
06f5b5a490
Media Grid:
...
Instead of a separate bulk selection mode, persistently show a checkbox for each item. Restores the more familiar bulk actions dropdown + action button.
props ericlewis. see #28842 .
Built from https://develop.svn.wordpress.org/trunk@29212
git-svn-id: http://core.svn.wordpress.org/trunk@28996 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-07-17 20:42:15 +00:00
Andrew Ozz
4361a40427
TinyMCE: include 709266e308
that fixes the UI state updates for the "link" button. See #28576 .
...
Built from https://develop.svn.wordpress.org/trunk@29211
git-svn-id: http://core.svn.wordpress.org/trunk@28995 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-07-17 19:31:14 +00:00
Sergey Biryukov
b7c94cee0b
Twenty Fourteen: Remove unused variable after [27120].
...
props michalzuber.
fixes #28928 .
Built from https://develop.svn.wordpress.org/trunk@29210
git-svn-id: http://core.svn.wordpress.org/trunk@28994 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-07-17 19:09:14 +00:00
Scott Taylor
fa02568c42
Merge wp_handle_upload()
and wp_handle_sideload()
by making them each wrap a new function: _wp_handle_upload()
.
...
Props DrewAPicture for docs.
Fixes #23686 .
Built from https://develop.svn.wordpress.org/trunk@29209
git-svn-id: http://core.svn.wordpress.org/trunk@28993 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-07-17 18:58:44 +00:00
Scott Taylor
87e14a7ecc
After [29106], check for data.meta
before attempting to render data.meta.bitrate
.
...
See #28839 .
Built from https://develop.svn.wordpress.org/trunk@29208
git-svn-id: http://core.svn.wordpress.org/trunk@28992 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-07-17 17:42:16 +00:00
Scott Taylor
3ca4223a00
After [29197], use ! empty()
instead of isset()
. Don't call has_shortcode()
internally twice if it's true.
...
Props kovshenin.
Fixes #26343 .
Built from https://develop.svn.wordpress.org/trunk@29207
git-svn-id: http://core.svn.wordpress.org/trunk@28991 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-07-17 17:38:13 +00:00
Drew Jaynes
097dc8ee15
Fix syntax for single- and multi-line comments in wp-admin-directory files.
...
See #28931 .
Built from https://develop.svn.wordpress.org/trunk@29206
git-svn-id: http://core.svn.wordpress.org/trunk@28990 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-07-17 09:14:16 +00:00
Drew Jaynes
e731028303
Fix syntax for single- and multi-line comments in root-directory files.
...
See #28931 .
Built from https://develop.svn.wordpress.org/trunk@29205
git-svn-id: http://core.svn.wordpress.org/trunk@28989 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-07-17 09:12:16 +00:00
Helen Hou-Sandí
b7445ec8a4
Media Grid Attachment Details modal UI improvements:
...
* Align better visually with the existing media modal and the post image edit modal.
* Add back a link to the full attachment edit screen (post.php).
* Add a title to the modal and move prev/next buttons next to the more-consistent close button.
* Remove mode tabs (metadata vs. image editing) in favor of the Edit Image button.
Still to come: responsive, IE8 testing and targeted CSS (calc() usage), general CSS cleanup.
props ericlewis, helen, melchoyce. see #28844 . fixes #28915 .
Built from https://develop.svn.wordpress.org/trunk@29204
git-svn-id: http://core.svn.wordpress.org/trunk@28988 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-07-17 03:55:15 +00:00
Andrew Ozz
95735cf298
TinyMCE:
...
- Update to 4.1.2, changelog: https://github.com/tinymce/tinymce/blob/master/changelog.txt
- Update the tests to 4.1.2.
Fixes #28576 .
Built from https://develop.svn.wordpress.org/trunk@29203
git-svn-id: http://core.svn.wordpress.org/trunk@28987 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-07-17 00:59:16 +00:00
Andrew Ozz
d74a2a9f07
TinyMCE wpView: prevent fatal (security) errors when trying to access iframe.contentWindow in pausePlayers() and unsetPlayers(). See #28905 .
...
Built from https://develop.svn.wordpress.org/trunk@29202
git-svn-id: http://core.svn.wordpress.org/trunk@28986 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-07-17 00:50:15 +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
Scott Taylor
8496504f59
Properly set $subdomain_error
to false
when applicable in ms_subdomain_constants()
. This was previously untestable because it used static vars: use globals instead.
...
Adds unit test.
Fixes #28697 .
Built from https://develop.svn.wordpress.org/trunk@29200
git-svn-id: http://core.svn.wordpress.org/trunk@28984 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-07-16 22:35:14 +00:00
Drew Jaynes
9ae01ba532
Fix a typo in the @access
tag for WP_List_Table::__get()
.
...
Props joehoyle.
Fixes #28925 . See #28885 .
Built from https://develop.svn.wordpress.org/trunk@29199
git-svn-id: http://core.svn.wordpress.org/trunk@28983 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-07-16 22:13:14 +00:00
Scott Taylor
c2a7544cd6
Make sure that the ready
event only fires once for relevant MCE views that are sandbox'd in iframes. Move some editor callbacks to initialize
.
...
Props avryl.
See #28905 .
Built from https://develop.svn.wordpress.org/trunk@29198
git-svn-id: http://core.svn.wordpress.org/trunk@28982 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-07-16 22:10:16 +00:00
Scott Taylor
1292ee0151
Make has_shortcode()
recursive/work for nested shortcodes.
...
Adds unit test.
Props katzwebdesign.
Fixes #26343 .
Built from https://develop.svn.wordpress.org/trunk@29197
git-svn-id: http://core.svn.wordpress.org/trunk@28981 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-07-16 22:05:17 +00:00
Scott Taylor
cf3deb2ecb
Avoid a race condition when multiple windows are open so that orphaned terms cannot be created by accident.
...
Adds a unit test.
Props dlh.
Fixes #19205 .
Built from https://develop.svn.wordpress.org/trunk@29196
git-svn-id: http://core.svn.wordpress.org/trunk@28980 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-07-16 21:52:15 +00:00
Andrew Ozz
1637f1617f
TinyMCE: fix aligncenter
for html5-captions, props obenland, fixes #28681 .
...
Built from https://develop.svn.wordpress.org/trunk@29195
git-svn-id: http://core.svn.wordpress.org/trunk@28979 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-07-16 21:28:16 +00:00