Sergey Biryukov
7afa923067
Media: In _wp_handle_upload()
, move ending brace to a new line.
...
Props georgestephanis.
Fixes #35565 .
Built from https://develop.svn.wordpress.org/trunk@36373
git-svn-id: http://core.svn.wordpress.org/trunk@36340 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-01-21 20:27:26 +00:00
Dion Hulse
65182e4dc8
Upgrade: Switch the locking mechanism to using static methods so that it can be accessed from other upgrade-classes.
...
Fixes #34878
Built from https://develop.svn.wordpress.org/trunk@36370
git-svn-id: http://core.svn.wordpress.org/trunk@36337 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-01-21 01:22:25 +00:00
Dominik Schilling
23133b0b06
Widgets: Show the "Clear Inactive Widgets" button only after the sidebar with inactive widgets.
...
Fixes #35447 .
Built from https://develop.svn.wordpress.org/trunk@36368
git-svn-id: http://core.svn.wordpress.org/trunk@36335 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-01-20 21:54:26 +00:00
Dion Hulse
006ae74d4c
Core Upgrader: Add a locking mechanism to avoid two concurrent updates of WordPress occuring.
...
Fixes #34878
Built from https://develop.svn.wordpress.org/trunk@36349
git-svn-id: http://core.svn.wordpress.org/trunk@36316 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-01-19 05:07:26 +00:00
Dion Hulse
61951f5aff
CSS: Reference the original location of the CSS rule being overridden.
...
See #35229
Built from https://develop.svn.wordpress.org/trunk@36342
git-svn-id: http://core.svn.wordpress.org/trunk@36309 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-01-18 09:59:26 +00:00
Dion Hulse
987ce83cfc
CSS: Stop using wp-admin.min.css
and instead queue the individual stylesheets up through load-styles.php
.
...
We still generate the `wp-admin.*` files for compabitility purposes, however they only include the `@import()` lines.
Fixes #35229
Built from https://develop.svn.wordpress.org/trunk@36341
git-svn-id: http://core.svn.wordpress.org/trunk@36308 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-01-18 09:57:29 +00:00
Rachel Baker
9065794462
List Tables: Use the $GLOBALS array when unsetting the global post and comment in WP_Comments_List_Table::single_row()
.
...
In r35674 only the local variables were unset, when using `unset()` with a global variable the `$GLOBALS` array must be used.
Fixes #35506 .
Built from https://develop.svn.wordpress.org/trunk@36339
git-svn-id: http://core.svn.wordpress.org/trunk@36306 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-01-18 02:50:27 +00:00
Andrea Fercia
82c596594b
After [36333] correctly use esc_attr()
instead of esc_attr__()
.
...
See #35313 .
Built from https://develop.svn.wordpress.org/trunk@36334
git-svn-id: http://core.svn.wordpress.org/trunk@36301 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-01-17 16:03:25 +00:00
Andrea Fercia
497de1d658
Accessibility: Remove title attributes from the Posts list table.
...
Fixes #35313 .
Built from https://develop.svn.wordpress.org/trunk@36333
git-svn-id: http://core.svn.wordpress.org/trunk@36300 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-01-17 15:47:26 +00:00
Andrea Fercia
1183b06bc5
Accessibility: Remove title attributes from the Media Library list table.
...
Fixes #35136 .
Built from https://develop.svn.wordpress.org/trunk@36331
git-svn-id: http://core.svn.wordpress.org/trunk@36298 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-01-17 14:46:29 +00:00
Dominik Schilling
3b3ded01a0
Media: Update some attach/detach strings in the columns view.
...
* Show a "Media attachment reattached."/"Media attachment detached." message when only one attachment was attached/detached.
* Use the string placeholder as `number_format_i18n()` returns a string.
* Add translator comments.
* Update help text to refer to the new dropdown menus.
* Add a more generic title to the attach modal.
Fixes #33237 .
Built from https://develop.svn.wordpress.org/trunk@36328
git-svn-id: http://core.svn.wordpress.org/trunk@36295 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-01-15 22:29:25 +00:00
Pascal Birchler
9ea68bc533
Script Loader: Add Etag: $wp_version
header in load-scripts.php
and load-styles.php
.
...
This improves performance since browsers won't re-download the scripts and styles when there was no change in `$wp_version`.
Props sergej.mueller, dd32, swissspidy.
Fixes #28722 .
Built from https://develop.svn.wordpress.org/trunk@36312
git-svn-id: http://core.svn.wordpress.org/trunk@36279 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-01-15 10:23:25 +00:00
Pascal Birchler
27fa2f65eb
Taxonomy: Introduce wp-admin/term.php
for editing single terms.
...
This is similar to `edit.php` -> `post.php` and `users.php` -> `user-edit.php` and fixes a bug where screen options for the list table were shown while editing a term.
Fixes #34988 .
Built from https://develop.svn.wordpress.org/trunk@36308
git-svn-id: http://core.svn.wordpress.org/trunk@36275 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-01-15 08:27:27 +00:00
Andrea Fercia
e41649c325
Accessibility: Improve focus handling on the Taxonomies Quick Edit.
...
Moves focus back to a proper place when saving or closing the form.
Fixes #35460 .
Built from https://develop.svn.wordpress.org/trunk@36304
git-svn-id: http://core.svn.wordpress.org/trunk@36271 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-01-14 23:03:26 +00:00
Andrea Fercia
c6ec579751
Accessibility: Improve focus handling and audible feedback on the Posts Quick-Bulk Edit.
...
Avoids a focus loss when saving or closing the form moving focus back to a proper place.
Uses `wp.a11y.speak()` to dispatch successful edits and error messages to screen readers.
Fixes #34756 .
Built from https://develop.svn.wordpress.org/trunk@36303
git-svn-id: http://core.svn.wordpress.org/trunk@36270 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-01-14 22:58:27 +00:00
Pascal Birchler
aaa11d6207
Allow searching for 0
throughout the admin.
...
Fixes #31025 .
Built from https://develop.svn.wordpress.org/trunk@36302
git-svn-id: http://core.svn.wordpress.org/trunk@36269 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-01-14 20:06:25 +00:00
Pascal Birchler
d4b30f47bf
Plugins: Prevent a warning when searching in the plugins list table.
...
After [36182], plugin data contains compatibility info from the API, which is an array and cannot be searched.
Fixes #35461 .
Built from https://develop.svn.wordpress.org/trunk@36301
git-svn-id: http://core.svn.wordpress.org/trunk@36268 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-01-14 20:00:29 +00:00
Andrea Fercia
2d76f3cb83
Accessibility: Remove title attributes from the Comments screen.
...
Fixes #35304 .
Built from https://develop.svn.wordpress.org/trunk@36298
git-svn-id: http://core.svn.wordpress.org/trunk@36265 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-01-14 16:04:27 +00:00
Pascal Birchler
ded3a1d72f
Plugins: Make sure the 'Beta testing' tab is first in the plugin installer.
...
This makes feature plugins more discoverable for people running development builds.
Fixes #29631 .
Built from https://develop.svn.wordpress.org/trunk@36297
git-svn-id: http://core.svn.wordpress.org/trunk@36264 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-01-14 09:07:26 +00:00
Pascal Birchler
08693cd206
Administration: After [36295], mark postBoxL10n
as a global to please JSHint.
...
See #26399 .
Built from https://develop.svn.wordpress.org/trunk@36296
git-svn-id: http://core.svn.wordpress.org/trunk@36263 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-01-14 08:40:26 +00:00
John Blackbourn
9ae1736d01
Administration: Add a "Drag boxes here" message to empty dashboard meta boxes so it's clear to users that it's possible to drag meta boxes into empty spaces.
...
Props xavortm
Fixes #26399
Built from https://develop.svn.wordpress.org/trunk@36295
git-svn-id: http://core.svn.wordpress.org/trunk@36262 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-01-14 04:13:26 +00:00
Andrea Fercia
7ab88221fa
Customizer: Aggregate similar CSS rules.
...
Fixes #34333 .
Built from https://develop.svn.wordpress.org/trunk@36291
git-svn-id: http://core.svn.wordpress.org/trunk@36258 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-01-13 22:36:26 +00:00
Dominik Schilling
b7df807589
jQuery: Replace use of the .load()
method for the "load" event with .on( 'load', handler )
.
...
The shortcut is deprecated since jQuery 1.8.
See http://api.jquery.com/load-event/ .
See #35380 .
Built from https://develop.svn.wordpress.org/trunk@36287
git-svn-id: http://core.svn.wordpress.org/trunk@36254 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-01-13 17:22:27 +00:00
Dominik Schilling
b3d8732c17
jQuery: Replace the use of the .size()
method with the .length
property.
...
The `.size()` method is deprecated since jQuery 1.8. The `.length` property is preferred because it doesn't have the overhead of a function call.
See https://api.jquery.com/size/ .
See #35380 .
Built from https://develop.svn.wordpress.org/trunk@36286
git-svn-id: http://core.svn.wordpress.org/trunk@36253 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-01-13 16:17:27 +00:00
Dominik Schilling
0a6f311922
Plugins: In _get_plugin_data_markup_translate()
remove the fallback to the "default" textdomain for Akismet.
...
Akismet has its own language files since WordPress 3.9.
Props jrf.
Fixes #35436 .
Built from https://develop.svn.wordpress.org/trunk@36283
git-svn-id: http://core.svn.wordpress.org/trunk@36250 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-01-13 13:56:26 +00:00
Dominik Schilling
a51129c2a6
Plugins: In _get_plugin_data_markup_translate()
don't reload translations if they're already loaded.
...
Props jrf.
Fixes #35439 .
Built from https://develop.svn.wordpress.org/trunk@36282
git-svn-id: http://core.svn.wordpress.org/trunk@36249 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-01-13 13:04:27 +00:00
Eric Lewis
6bd2399382
Docs: Fix typo in wp-admin/admin.php.
...
Props sebastian.pisula
Fixes #35423 .
Built from https://develop.svn.wordpress.org/trunk@36271
git-svn-id: http://core.svn.wordpress.org/trunk@36238 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-01-12 20:43:28 +00:00
Konstantin Obenland
c0e903a040
Themes: Clear floated theme cards on Themes page.
...
Also maintains visual separation for Broken Themes table on searches that
return no results.
See [36171] for `.wp-clearfix`.
Props 5um17, obenland, valendesigns, afercia.
Fixes #26646 .
Built from https://develop.svn.wordpress.org/trunk@36270
git-svn-id: http://core.svn.wordpress.org/trunk@36237 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-01-12 17:13:29 +00:00
Andrea Fercia
44ad0964b0
After [36263] escape filterable HTML output.
...
Props adamsilverstein.
Fixes #35064 .
Built from https://develop.svn.wordpress.org/trunk@36267
git-svn-id: http://core.svn.wordpress.org/trunk@36234 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-01-12 08:58:26 +00:00
Andrea Fercia
5bd888497d
Accessibility: Remove title attributes from the Terms list table.
...
Fixes #35187 .
Built from https://develop.svn.wordpress.org/trunk@36265
git-svn-id: http://core.svn.wordpress.org/trunk@36232 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-01-11 23:30:26 +00:00
Andrea Fercia
876ab5c293
Menus screen: improve responsiveness of select elements.
...
Props Luan-Ramos, sagarjadhav.
Fixes #31826 .
Built from https://develop.svn.wordpress.org/trunk@36264
git-svn-id: http://core.svn.wordpress.org/trunk@36231 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-01-11 23:05:26 +00:00
Andrea Fercia
057ec3cec0
Accessibility: Remove title attributes from the General Settings screen.
...
Date and time formats are now displayed in plain text and available for all
users. Also, lines up them with the "custom" date and time format fields to
help reinforce what these fields do.
Props afercia, perezlabs.
Fixes #35064 .
Built from https://develop.svn.wordpress.org/trunk@36263
git-svn-id: http://core.svn.wordpress.org/trunk@36230 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-01-11 22:54:28 +00:00
Andrea Fercia
9b486acb9b
Quick Edit: on the Taxonomies screens, prevent a page reload when pressing Enter on a focused field.
...
Fixes #35401 for trunk.
Built from https://develop.svn.wordpress.org/trunk@36260
git-svn-id: http://core.svn.wordpress.org/trunk@36227 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-01-11 13:15:29 +00:00
Pascal Birchler
d63ae29fac
After [36254], commit all the necessary files and not just the unit test.
...
Built from https://develop.svn.wordpress.org/trunk@36255
git-svn-id: http://core.svn.wordpress.org/trunk@36222 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-01-10 19:07:26 +00:00
John Blackbourn
a4facedfee
Docs: Various docblock corrections.
...
See #32246
Built from https://develop.svn.wordpress.org/trunk@36250
git-svn-id: http://core.svn.wordpress.org/trunk@36217 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-01-10 01:26:25 +00:00
John Blackbourn
f63dc802cb
Comments: Correct the docblocks for various methods in the comment list table class.
...
See #32246
Built from https://develop.svn.wordpress.org/trunk@36248
git-svn-id: http://core.svn.wordpress.org/trunk@36215 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-01-10 00:52:25 +00:00
John Blackbourn
a5d44337b2
Docs: @param
fixes for a variety of docblocks.
...
See #32246
Built from https://develop.svn.wordpress.org/trunk@36232
git-svn-id: http://core.svn.wordpress.org/trunk@36199 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-01-09 01:45:26 +00:00
John Blackbourn
7718e07129
Docs: Correct the parameter docs for various Heartbeat filters and functions.
...
See #32246
Built from https://develop.svn.wordpress.org/trunk@36231
git-svn-id: http://core.svn.wordpress.org/trunk@36198 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-01-09 01:37:26 +00:00
Boone Gorges
cbb245196c
Use a more generous selector when setting up tag suggestion.
...
This allows taxonomy metaboxes to be registered in a greater variety of
locations on the Dashboard.
Props johnjamesjacoby..
Fixes #35349 .
Built from https://develop.svn.wordpress.org/trunk@36227
git-svn-id: http://core.svn.wordpress.org/trunk@36194 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-01-08 23:18:25 +00:00
Andrea Fercia
ae1575bd80
Media: make the Image Editor usable with a keyboard.
...
For accessibility, all interactive controls must be operable from the keyboard.
Replaces `<div>`s used as UI controls with buttons. Groups some logically-related
form elements.
Fixes #28864 .
Built from https://develop.svn.wordpress.org/trunk@36223
git-svn-id: http://core.svn.wordpress.org/trunk@36190 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-01-08 19:13:26 +00:00
Konstantin Obenland
c252e77ce3
Plugins: Use plugin file rather than slug as identifier
...
The plugin file is unique while there can be more than one plugin with the
same slug. This also allows us to simplify the way updates from the plugin
detail iframe are executed.
See [36205].
Fixes #35350 .
Built from https://develop.svn.wordpress.org/trunk@36221
git-svn-id: http://core.svn.wordpress.org/trunk@36188 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-01-08 17:48:28 +00:00
Konstantin Obenland
0b9f825e29
Plugins: Avoid ID attribute collisions in plugins list table.
...
Removes id attributes with non-unique plugin slug and adds a data attribute
with the unique plugin file.
Props khag7.
Fixes #18974 .
Built from https://develop.svn.wordpress.org/trunk@36205
git-svn-id: http://core.svn.wordpress.org/trunk@36172 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-01-06 22:40:26 +00:00
Konstantin Obenland
d5fd177b96
Themes: Avoid changing the count of themes with updates in network admin.
...
Makes the count bubble selector a little more specific to avoid interfering
with the admin menu, but not too specific for installed theme searches not to
update the bubble.
See [29786], [31495].
Fixes #35332 .
Built from https://develop.svn.wordpress.org/trunk@36204
git-svn-id: http://core.svn.wordpress.org/trunk@36171 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-01-06 22:32:28 +00:00
Dion Hulse
4a0e40a814
Updates: Don't perform an API call to WordPress.org for every plugin update displayed. The API has been updated to return this information with the update response.
...
See #35301
Built from https://develop.svn.wordpress.org/trunk@36182
git-svn-id: http://core.svn.wordpress.org/trunk@36149 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-01-06 07:53:26 +00:00
Dion Hulse
06a3f799e7
Background Updates: Remove the 7am/7pm background update check. This check was made redundant by [28129] as background updates are now run after a version check takes place.
...
See #27772 , #35323 .
Built from https://develop.svn.wordpress.org/trunk@36180
git-svn-id: http://core.svn.wordpress.org/trunk@36147 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-01-06 06:12:26 +00:00
Dominik Schilling
4cb341e82c
Install: Use new colors for error notices.
...
Props duaneblake, DBrumbaugh10Up.
Fixes #34704 .
Built from https://develop.svn.wordpress.org/trunk@36178
git-svn-id: http://core.svn.wordpress.org/trunk@36145 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-01-05 21:47:25 +00:00
Dominik Schilling
c9d7fb9b28
Install: Only enqueue scripts when necessary.
...
Props flixos90 for initial patch.
Fixes #34700 .
Built from https://develop.svn.wordpress.org/trunk@36176
git-svn-id: http://core.svn.wordpress.org/trunk@36143 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-01-05 16:42:29 +00:00
Rachel Baker
e51c790844
Comments: Remove orphaned closing td
tag within cancel button of Moderate Comment screen.
...
Left behind in r31641. See #23988 .
Props ash.matadeen.
Built from https://develop.svn.wordpress.org/trunk@36173
git-svn-id: http://core.svn.wordpress.org/trunk@36140 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-01-05 16:07:27 +00:00
Andrea Fercia
b4cc1cfc48
Accessibility: Remove title attributes from the Admin Dashboard.
...
Uses `aria-label` and `screen-reader-text` where appropriate. Also removes
the default title attribute output by `privacy_on_link_title`, preserving
the ability to use the filter.
Fixes #35049 .
Built from https://develop.svn.wordpress.org/trunk@36172
git-svn-id: http://core.svn.wordpress.org/trunk@36139 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-01-05 14:19:28 +00:00
Andrea Fercia
52920b8511
Introduce a new generic CSS clearfix utility class.
...
`.wp-clearfix` is now the recommended way to clear and contain floated elements.
Adds back compatibility for the `.nav-tab-wrapper` navigation tabs.
See #26396 .
Built from https://develop.svn.wordpress.org/trunk@36171
git-svn-id: http://core.svn.wordpress.org/trunk@36138 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-01-05 13:38:30 +00:00
Andrea Fercia
1b3ee7098a
Media: set the image editor spinner on the smallest possible area.
...
When using spinners as background images, the re-painted area should be the smallest
possible one. See similar performance issue in #31196 , #33311 , #33322 , and #34951 .
Fixes #35296 .
Built from https://develop.svn.wordpress.org/trunk@36162
git-svn-id: http://core.svn.wordpress.org/trunk@36128 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-01-03 16:49:28 +00:00
Dominik Schilling
ef3442a2fe
Docs: Remove indentation from the hidden_columns
changelog entry.
...
Added in [36154].
See #35057 .
Built from https://develop.svn.wordpress.org/trunk@36156
git-svn-id: http://core.svn.wordpress.org/trunk@36122 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-01-02 15:16:28 +00:00
Dion Hulse
f802d26f10
List Tables: When a user has hidden all columns, do not override that with the default_hidden_columns
filter.
...
Props Compute, jorbin, voldemortensen.
Fixes #35057
Built from https://develop.svn.wordpress.org/trunk@36154
git-svn-id: http://core.svn.wordpress.org/trunk@36120 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-01-02 04:44:27 +00:00
Andrea Fercia
78e6aa46c1
Accessibility: Don't mark up "URL" as an abbreviation.
...
"URL" has essentially entered language as a self-contained concept, there's
no more need to expand it with an `<abbr>` element and a title attribute.
Fixes #35174 .
Built from https://develop.svn.wordpress.org/trunk@36142
git-svn-id: http://core.svn.wordpress.org/trunk@36108 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-01-01 12:10:26 +00:00
Sergey Biryukov
7950c2de31
Export: Add a missing Oxford comma.
...
Props juhise.
Fixes #35275 .
Built from https://develop.svn.wordpress.org/trunk@36140
git-svn-id: http://core.svn.wordpress.org/trunk@36106 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-12-31 19:33:25 +00:00
Andrea Fercia
f13881d4e3
Admin: Restore the "Show advanced menu properties" checkboxes IDs.
...
These checkboxes are used on the Menus screen options and the Customizer Menus options.
Their IDs were removed in [34991] but they're needed to get the checkboxes to be saved
via AJAX. Also, avoids a useless AJAX call.
Fixes #35112 for trunk.
Built from https://develop.svn.wordpress.org/trunk@36137
git-svn-id: http://core.svn.wordpress.org/trunk@36103 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-12-31 11:52:26 +00:00
Andrea Fercia
27e5599bf7
Admin: fix repositioning of notices when the first header is not an immediate children of .wrap
.
...
Props DvanKooten for the initial patch.
Fixes #35047 for trunk.
Built from https://develop.svn.wordpress.org/trunk@36134
git-svn-id: http://core.svn.wordpress.org/trunk@36100 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-12-31 11:05:31 +00:00
Pascal Birchler
7e516f5cf8
Plugins: Add a new pre_uninstall_plugin
action that runs right before uninstalling a plugin.
...
Fixes #34569 .
Built from https://develop.svn.wordpress.org/trunk@36124
git-svn-id: http://core.svn.wordpress.org/trunk@36090 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-12-30 22:38:26 +00:00
Sergey Biryukov
5540c0b8db
Import: Add a missing space to post_exists()
.
...
The lack of space resulted in SQL error when searching for posts by content.
Props yetAnotherDaniel, johnbillion.
Fixes #35246 .
Built from https://develop.svn.wordpress.org/trunk@36113
git-svn-id: http://core.svn.wordpress.org/trunk@36078 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-12-28 19:07:28 +00:00
Dion Hulse
1d19b930fc
Nav Menus: Avoid a PHP Notice when a menu contains a now unregistered post type archive.
...
Props kucrut.
Fixes #34449 for trunk.
Built from https://develop.svn.wordpress.org/trunk@36095
git-svn-id: http://core.svn.wordpress.org/trunk@36060 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-12-26 04:05:25 +00:00
Sergey Biryukov
7270205975
Remove redundant title attribute from wp_star_rating()
. Hide the visible number of ratings from assistive technologies.
...
This data is redundant, as the same information is already conveyed by the text hidden with `.screen-reader-text` class.
Props afercia.
Fixes #35141 .
Built from https://develop.svn.wordpress.org/trunk@36092
git-svn-id: http://core.svn.wordpress.org/trunk@36057 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-12-26 00:48:27 +00:00
Aaron Jorbin
94aac7055c
Help Tab Order should be based on the Priority Argument
...
[34370] made the order that tabs are returned respect the order they are added, however it broke the respect of priority. By using a ksort instead of a sort, we can restore that default behavior. This adjusts the unit tests so that both order added and priority are tested.
Props meitar, swissspidy, jorbin
Fixes #35215 . See #33941 .
Built from https://develop.svn.wordpress.org/trunk@36089
git-svn-id: http://core.svn.wordpress.org/trunk@36054 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-12-25 22:44:27 +00:00
Sergey Biryukov
2328667dc9
Theme Editor: Break $wp_file_descriptions
array into sections and reorder for consistency and readability.
...
Props ramiy.
Fixes #35223 .
Built from https://develop.svn.wordpress.org/trunk@36088
git-svn-id: http://core.svn.wordpress.org/trunk@36053 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-12-25 21:12:26 +00:00
Sergey Biryukov
11b89a88a9
Theme Editor: Add taxonomy.php
, home.php
, front-page.php
, date.php
, and singular.php
to file descriptions.
...
Props ramiy.
See #35223 .
Built from https://develop.svn.wordpress.org/trunk@36087
git-svn-id: http://core.svn.wordpress.org/trunk@36052 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-12-25 21:05:25 +00:00
Drew Jaynes
5a69733045
Docs: Properly mark the optional $redirect
, $network_wide
, and $silent
parameters as such in the DocBlock for activate_plugin()
.
...
See #32246 .
Built from https://develop.svn.wordpress.org/trunk@36072
git-svn-id: http://core.svn.wordpress.org/trunk@36037 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-12-23 07:00:27 +00:00
Drew Jaynes
0a314eed32
Docs: Add missing @since
and properly mark the optional $type
parameter as such in the DocBlock for the deprecated get_others_unpublished_posts()
function.
...
Introduced in [5707].
See #32246 .
Built from https://develop.svn.wordpress.org/trunk@36071
git-svn-id: http://core.svn.wordpress.org/trunk@36036 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-12-23 06:58:25 +00:00
Drew Jaynes
ad64c0f2d7
Docs: Properly mark the $exclude_zeros
parameter in the DocBlock for get_editable_user_ids()
as optional.
...
Also fixes a couple of typos.
See #32246 .
Built from https://develop.svn.wordpress.org/trunk@36070
git-svn-id: http://core.svn.wordpress.org/trunk@36035 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-12-23 06:53:26 +00:00
John Blackbourn
1402c3d8b4
Docs: Miscellaneous docblock corrections.
...
See #32246
Built from https://develop.svn.wordpress.org/trunk@36069
git-svn-id: http://core.svn.wordpress.org/trunk@36034 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-12-23 06:31:27 +00:00
Dion Hulse
04bca9732b
Users: When determining whether to show the reassign content option during user delete, don't rely upon WP_Query
as it doesn't return all forms of content wp_delete_user()
operates on.
...
This restores the reassign form when a user has a non-public post type or links assigned to them.
Props swissspidy & tharsheblows for initial patches.
Fixes #34993 for trunk.
Built from https://develop.svn.wordpress.org/trunk@36068
git-svn-id: http://core.svn.wordpress.org/trunk@36033 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-12-23 04:46:28 +00:00
Drew Jaynes
79705d5cc1
Docs: Fix a typo in the 4.4.0 changlog entry in the intermediate_image_sizes_advanced
hook doc.
...
Props morganestes.
Fixes #35190 .
Built from https://develop.svn.wordpress.org/trunk@36054
git-svn-id: http://core.svn.wordpress.org/trunk@36019 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-12-21 22:24:27 +00:00
Andrea Fercia
dc31b503ec
Accessibility: Remove the revisions limit title attribute from the Publish box.
...
The revisions limit warning is now always displayed in plain text even when the
limit is not reached yet. Removes the plus "+" from the revisions count number.
Fixes #35029 .
Built from https://develop.svn.wordpress.org/trunk@36053
git-svn-id: http://core.svn.wordpress.org/trunk@36018 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-12-21 14:39:28 +00:00
Andrea Fercia
7849bb7d94
Accessibility: Remove title attributes from the updates links on the Plugin and Themes list tables.
...
Adds `aria-label` attributes on some links and on the "update nag" link. Adds translator comments.
Fixes #35167 .
Built from https://develop.svn.wordpress.org/trunk@36032
git-svn-id: http://core.svn.wordpress.org/trunk@35997 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-12-20 16:09:28 +00:00
Andrea Fercia
67e1f55c4b
Accessibility: Remove title attributes and improve accessibility on the "no-js" Menus screen.
...
When JavaScript is off, the reorder menu item and Edit menu item links now use `aria-label`
attributes instead of title attributes.
Fixes #35134 .
Built from https://develop.svn.wordpress.org/trunk@36016
git-svn-id: http://core.svn.wordpress.org/trunk@35981 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-12-19 00:17:26 +00:00
Andrea Fercia
5787972a67
Accessibility: Remove title attributes from the Theme browser.
...
Also, adds translators comments and removes a no more used variable, see [27748].
Fixes #35140 .
Built from https://develop.svn.wordpress.org/trunk@36015
git-svn-id: http://core.svn.wordpress.org/trunk@35980 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-12-19 00:00:29 +00:00
Sergey Biryukov
ff36a54824
Widgets: Add missing closing tag for spinner after [35317].
...
Props rabmalin.
Fixes #35150 .
Built from https://develop.svn.wordpress.org/trunk@36001
git-svn-id: http://core.svn.wordpress.org/trunk@35966 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-12-18 12:02:28 +00:00
Andrea Fercia
6fdd27a1d6
Accessibility: Remove the title attribute from the Featured Image postbox thumbnail.
...
The title attribute is now replaced with plain text in a `howto` paragraph, as done for example in the Tags postbox.
Adds an `aria-describedby` attribute on the thumbnail link to target the description.
Also, fixes the focus style on the featured image thumbnail.
Fixes #35076 .
Built from https://develop.svn.wordpress.org/trunk@36000
git-svn-id: http://core.svn.wordpress.org/trunk@35965 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-12-17 23:44:26 +00:00
Pascal Birchler
a7e13d0af9
Editor: Correctly indent definition lists when switching from the visual to the text editor.
...
Props ocean90, katieburch.
Fixes #23299 .
Built from https://develop.svn.wordpress.org/trunk@35999
git-svn-id: http://core.svn.wordpress.org/trunk@35964 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-12-17 23:06:25 +00:00
Andrea Fercia
e8b900d9f5
Accessibility: Remove title attributes from the Link Manager screen.
...
Title attributes are now replaced with `aria-label` where appropriate.
Also fixes some typos in the DocBlocks.
Fixes #35135 .
Built from https://develop.svn.wordpress.org/trunk@35998
git-svn-id: http://core.svn.wordpress.org/trunk@35963 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-12-17 22:53:28 +00:00
Pascal Birchler
333bdb535a
Remove unused variables after [35995] and [35996].
...
See #34439 .
Built from https://develop.svn.wordpress.org/trunk@35997
git-svn-id: http://core.svn.wordpress.org/trunk@35962 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-12-17 18:41:27 +00:00
Pascal Birchler
51bb4db622
Network Admin: Remove the list of files which will be deleted when deleting a theme.
...
Fixes #34439 .
Built from https://develop.svn.wordpress.org/trunk@35996
git-svn-id: http://core.svn.wordpress.org/trunk@35961 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-12-17 18:35:26 +00:00
Pascal Birchler
740d197731
Plugins: Remove the list of files which will be deleted when uninstalling a plugin.
...
See #34439 .
Built from https://develop.svn.wordpress.org/trunk@35995
git-svn-id: http://core.svn.wordpress.org/trunk@35960 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-12-17 18:31:27 +00:00
Andrea Fercia
2cc4ca6875
Accessibility: Improvements for the "Send Trackbacks" postbox.
...
Adds an `aria-describedby` attribute targeting the input field description and styles the description as a... description.
Fixes #35123 .
Built from https://develop.svn.wordpress.org/trunk@35983
git-svn-id: http://core.svn.wordpress.org/trunk@35948 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-12-16 23:37:26 +00:00
Andrea Fercia
f83c787887
Accessibility: Correctly associate the search input label in the new Themes favorites tab introduced in [35527].
...
Fixes #35122 .
Built from https://develop.svn.wordpress.org/trunk@35977
git-svn-id: http://core.svn.wordpress.org/trunk@35942 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-12-16 22:30:27 +00:00
Pascal Birchler
b6c660c38f
Docs: Clarify the return value for wp_create_categories()
.
...
See #32246 .
Built from https://develop.svn.wordpress.org/trunk@35975
git-svn-id: http://core.svn.wordpress.org/trunk@35940 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-12-16 19:59:27 +00:00
Pascal Birchler
1b86ccd006
Docs: Correct a parameter name for the press_this_redirect_in_parent
filter.
...
See #32246 .
Built from https://develop.svn.wordpress.org/trunk@35974
git-svn-id: http://core.svn.wordpress.org/trunk@35939 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-12-16 19:43:26 +00:00
Pascal Birchler
624cb1445d
Docs: Correct a parameter name for the force_filtered_html_on_import
filter.
...
See #32246 .
Built from https://develop.svn.wordpress.org/trunk@35973
git-svn-id: http://core.svn.wordpress.org/trunk@35938 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-12-16 19:40:26 +00:00
Pascal Birchler
4a6d77c8e5
Docs: Correct a parameter name for the allow_subdirectory_install
filter.
...
See #32246 .
Built from https://develop.svn.wordpress.org/trunk@35971
git-svn-id: http://core.svn.wordpress.org/trunk@35936 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-12-16 19:32:26 +00:00
Pascal Birchler
2e35e20010
Docs: Correct a parameter name for the do_mu_upgrade
filter.
...
See #32246 .
Built from https://develop.svn.wordpress.org/trunk@35970
git-svn-id: http://core.svn.wordpress.org/trunk@35935 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-12-16 19:30:28 +00:00
Drew Jaynes
c9a11ae9f2
Docs: Mark the upgrade_XX()
functions to be ignored from parsing for the Code Reference.
...
There is no great value in generating reference pages for these funcitons as they explicitly serve a core-only purpose.
See #32246 .
Built from https://develop.svn.wordpress.org/trunk@35966
git-svn-id: http://core.svn.wordpress.org/trunk@35931 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-12-16 17:59:27 +00:00
Sergey Biryukov
f9f77d86d8
Accessibility: Add missing label for the theme upload input.
...
See [11152] for plugins.
Props mercime.
Fixes #35113 .
Built from https://develop.svn.wordpress.org/trunk@35958
git-svn-id: http://core.svn.wordpress.org/trunk@35922 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-12-16 07:56:29 +00:00
Andrea Fercia
c69481a410
Accessibility: Remove title attributes from the Plugin Cards on the Plugin install screen.
...
Fixes #35050 .
Built from https://develop.svn.wordpress.org/trunk@35953
git-svn-id: http://core.svn.wordpress.org/trunk@35917 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-12-15 22:33:28 +00:00
Andrea Fercia
6dac60da98
Accessibility: add missing labels for Plugins and Themes checkboxes in the Updates screen.
...
Also, adds translator comments and improves readability.
Props SergeyBiryukov, afercia, oaron for the initial patch.
Fixes #34774 .
Built from https://develop.svn.wordpress.org/trunk@35952
git-svn-id: http://core.svn.wordpress.org/trunk@35916 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-12-15 22:18:30 +00:00
Andrea Fercia
282e7c36eb
Accessibility: Add an ARIA role button
to links that behave like buttons when JavaScript is on.
...
Introduces a simple way to give a proper semantics of `button` to links that behave
like UI controls when JavaScript is on and behave like actual links when JavaScript
is off. First implementation on the Terms list table.
Patch prepared during WordCamp US 2015 Contributor Day.
Props mcapybara, garusky, takayukister.
See #26504 .
Fixes #34867 .
Built from https://develop.svn.wordpress.org/trunk@35947
git-svn-id: http://core.svn.wordpress.org/trunk@35911 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-12-15 13:25:28 +00:00
Dion Hulse
8db5455eea
Filesystem: Avoid PHP warnings when using the FTP Sockets class.
...
See #35026
Built from https://develop.svn.wordpress.org/trunk@35946
git-svn-id: http://core.svn.wordpress.org/trunk@35910 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-12-15 03:12:26 +00:00
Dion Hulse
bda1b2ace9
Filesystem: Revert [33648] and [34733] unfortunately these have caused issues for some servers, while fixing it for others.
...
See #28013
Fixes #34976 for trunk
Fixes #34976 for trunk
Built from https://develop.svn.wordpress.org/trunk@35944
git-svn-id: http://core.svn.wordpress.org/trunk@35908 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-12-15 02:36:28 +00:00
Dion Hulse
060476a1f2
Filesystem API: Cast the port to an int in the FTPSockets class. PemFTP requires that the port be specified as an integer, not a numeric string.
...
Fixes #35088
Built from https://develop.svn.wordpress.org/trunk@35942
git-svn-id: http://core.svn.wordpress.org/trunk@35906 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-12-15 00:29:26 +00:00
Andrea Fercia
0faf2dd57b
Accessibility: Remove title attributes from the Network Themes list table.
...
Title attributes in the "Themes" screen and in the "Edit Site" screen Themes tab
are now replaced with `aria-label` attributes. Also, replaces string
concatenation with `add_query_arg()` and `sprintf()` to allow translator
comments to be properly parsed and for better code readability.
Props SergeyBiryukov, afercia.
Fixes #35051 .
Built from https://develop.svn.wordpress.org/trunk@35924
git-svn-id: http://core.svn.wordpress.org/trunk@35888 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-12-14 16:07:39 +00:00
John Blackbourn
4836d6c700
Correct the position of the $alt
parameter's @param
doc in image_add_caption()
.
...
See #32246
Built from https://develop.svn.wordpress.org/trunk@35918
git-svn-id: http://core.svn.wordpress.org/trunk@35882 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-12-14 03:01:25 +00:00
Jeremy Felt
72c6868fae
MS: Fix pagination in MS Sites List Table when entering a page number.
...
When a page number is manually entered in the sites list table and no bulk action is selected, add `paged` as a query argument to the redirect.
Fixes #32982 .
Built from https://develop.svn.wordpress.org/trunk@35917
git-svn-id: http://core.svn.wordpress.org/trunk@35881 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-12-14 02:59:27 +00:00
Andrea Fercia
fa80eb011f
Accessibility: remove title attributes from the available headers in the (no more used) custom-header.php
screen.
...
Fixes #35062 .
Built from https://develop.svn.wordpress.org/trunk@35905
git-svn-id: http://core.svn.wordpress.org/trunk@35869 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-12-14 00:09:27 +00:00