Scott Taylor
7c218ab59a
After [33148]:
...
Don't nest `esc_attr()` and `htmlspecialchars()` when escaping the post title on the edit post screen.
Unrevert parts of [32851] and [32850].
Adds/alters unit tests.
Props miqrogroove.
Fixes #17780 .
Built from https://develop.svn.wordpress.org/trunk@33271
git-svn-id: http://core.svn.wordpress.org/trunk@33243 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-07-14 17:56:26 +00:00
Scott Taylor
4d34e37311
List Tables:
...
* In `->handle_row_actions()`, bail immediately if `$primary` and `$column_name` do not match. Saves us a nesting level and avoids declaring code that is unusable.
* In `WP_List_Table::single_row_columns()`, allow `_column_{$name}` to be called dynamically by core to avoid having to override the entirety of `->single_row_columns()` in `WP_MS_Users_List_Table` and `WP_Posts_List_Table`
* In `WP_MS_Sites_List_Table`, `id` is not a column.
Props wonderboymusic, paulwilde.
Fixes #29881 .
Built from https://develop.svn.wordpress.org/trunk@33270
git-svn-id: http://core.svn.wordpress.org/trunk@33242 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-07-14 17:47:24 +00:00
Konstantin Obenland
4f94d3a969
Media: Don't indent action links if there is no media icon.
...
See #32254 .
Built from https://develop.svn.wordpress.org/trunk@33269
git-svn-id: http://core.svn.wordpress.org/trunk@33241 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-07-14 17:46:24 +00:00
Konstantin Obenland
2a0ddf8523
Media: Reduce link noise between icons and titles in list view.
...
Props afercia.
Fixes #32254 .
Built from https://develop.svn.wordpress.org/trunk@33268
git-svn-id: http://core.svn.wordpress.org/trunk@33240 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-07-14 17:24:26 +00:00
Scott Taylor
9de28a2e04
Monkey patch MediaElement to include a PR that restores responsive videos in Firefox:
...
https://github.com/johndyer/mediaelement/pull/1531
Props joemcgill.
Fixes #32722 .
Built from https://develop.svn.wordpress.org/trunk@33267
git-svn-id: http://core.svn.wordpress.org/trunk@33239 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-07-14 16:30:25 +00:00
Helen Hou-Sandí
4182df24f8
List tables: Even more robust fallback for the primary column.
...
Since `WP_List_Table::get_default_primary_column()` can be overridden in a subclass and columns can be further filtered, it is possible to end up with a primary column that no longer exists. This is particularly evident in list tables for custom post types that have been altered via filter.
props ocean90.
fixes #32996 .
Built from https://develop.svn.wordpress.org/trunk@33266
git-svn-id: http://core.svn.wordpress.org/trunk@33238 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-07-14 16:18:25 +00:00
Konstantin Obenland
1f18ef86a3
Login: Reflect new password flow in registration form.
...
Props Ipstenu.
Fixes #32428 .
Built from https://develop.svn.wordpress.org/trunk@33265
git-svn-id: http://core.svn.wordpress.org/trunk@33237 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-07-14 16:08:25 +00:00
Konstantin Obenland
88e669b6db
Use default parameter when getting the default avatar type.
...
Props johnjamesjacoby.
Fixes #32997 .
Built from https://develop.svn.wordpress.org/trunk@33264
git-svn-id: http://core.svn.wordpress.org/trunk@33236 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-07-14 15:39:25 +00:00
Konstantin Obenland
542e01162f
Media: Remove `post_type` variable, unused since [32676].
...
Fixes #32948 .
Built from https://develop.svn.wordpress.org/trunk@33263
git-svn-id: http://core.svn.wordpress.org/trunk@33235 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-07-14 15:06:25 +00:00
Boone Gorges
28ce0320e3
In `wp_unique_post_slug()`, only prevent date archive conflicts when the slug is being changed.
...
This prevents existing posts with numeric slugs from having their permalinks
changed on update.
Fixes #5305 .
Built from https://develop.svn.wordpress.org/trunk@33262
git-svn-id: http://core.svn.wordpress.org/trunk@33234 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-07-14 12:28:48 +00:00
Boone Gorges
5a1618b497
When creating a new post with an empty `post_name` and `post_title`, don't generate a `post_name` that conflicts with a date archive permalink.
...
See #5305 .
Built from https://develop.svn.wordpress.org/trunk@33261
git-svn-id: http://core.svn.wordpress.org/trunk@33233 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-07-14 12:28:24 +00:00
Gary Pendergast
4ee0da1798
WPDB: When extracting the table name from a query, we had a 1000 character limit on the SQL string that would be searched. This was a hangover from when the code was imported from HyperDB, and isn't appropriate for Core, where a wider range of queries are likely to be run.
...
Fixes #32763
Built from https://develop.svn.wordpress.org/trunk@33259
git-svn-id: http://core.svn.wordpress.org/trunk@33231 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-07-14 10:19:24 +00:00
Dion Hulse
43077a6ef8
Updates: When performing an ajax plugin update, rely upon `wp_update_plugins()` to check the contents of the transient and return early if no request needs to be made.
...
This works around a bug where custom update handlers are injecting an update into an empty transient, malforming the transient and causing update failures.
Fixes #32198 for trunk
Built from https://develop.svn.wordpress.org/trunk@33257
git-svn-id: http://core.svn.wordpress.org/trunk@33229 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-07-14 08:01:25 +00:00
Weston Ruter
c5bd85552e
Customizer: Improve performance of menus by caching results of `wp_setup_nav_menu_item()` calls.
...
Also fixes property list in phpdoc for `wp_setup_nav_menu_item()`.
Fixes #32769 .
Built from https://develop.svn.wordpress.org/trunk@33256
git-svn-id: http://core.svn.wordpress.org/trunk@33228 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-07-14 07:09:24 +00:00
Jeremy Felt
0ae5642b42
Tests: Use a data provider when testing site flags in `update_blog_details()`.
...
See #32988 .
Built from https://develop.svn.wordpress.org/trunk@33255
git-svn-id: http://core.svn.wordpress.org/trunk@33227 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-07-14 06:39:24 +00:00
Jeremy Felt
20f6a94665
Tests: Use a data provider when testing path slashing in `update_blog_details()`.
...
Trims down 11 tests to 1 clean area of testing and makes for a much saner read.
See #32988 .
Built from https://develop.svn.wordpress.org/trunk@33254
git-svn-id: http://core.svn.wordpress.org/trunk@33226 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-07-14 05:52:24 +00:00
Jeremy Felt
8e01406848
Tests: Move `update_blog_details()` tests to their own file.
...
Reduce some of the clutter in `tests/multisite/site.php` and introduce `tests/multisite/updateBlogDetails.php`. Tests moved over are verbatum at this point.
See #32988 .
Built from https://develop.svn.wordpress.org/trunk@33253
git-svn-id: http://core.svn.wordpress.org/trunk@33225 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-07-14 05:50:26 +00:00
Konstantin Obenland
62c6bd8849
Editor: Center-align Publish/Update spinner on small-screen devices.
...
Props tywayne for initial patch.
Fixes #32947 .
Built from https://develop.svn.wordpress.org/trunk@33252
git-svn-id: http://core.svn.wordpress.org/trunk@33224 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-07-14 04:02:24 +00:00
Konstantin Obenland
f020fab7ef
Password: Improve display of password meter on login screen.
...
Fixes #32925 .
Built from https://develop.svn.wordpress.org/trunk@33251
git-svn-id: http://core.svn.wordpress.org/trunk@33223 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-07-14 03:32:24 +00:00
Boone Gorges
6b350ba197
Require dependencies when appropriate in some unit test files.
...
Previously, attempting to run certain test files in isolation would resultin
fatal errors, as the parent classes had not been loaded.
Props isaacchapman.
Fixes #32984 .
Built from https://develop.svn.wordpress.org/trunk@33250
git-svn-id: http://core.svn.wordpress.org/trunk@33222 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-07-14 03:08:24 +00:00
Konstantin Obenland
e4305c7b28
Passwords: Make show/hide toggle translatable.
...
See #32589 .
Built from https://develop.svn.wordpress.org/trunk@33249
git-svn-id: http://core.svn.wordpress.org/trunk@33221 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-07-13 22:35:24 +00:00
Drew Jaynes
a929b8efe5
Fix the same typo again in the hook doc summary for the `send_pass_change_email` filter.
...
I speak English, I do.
See #32246 .
Built from https://develop.svn.wordpress.org/trunk@33248
git-svn-id: http://core.svn.wordpress.org/trunk@33220 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-07-13 22:27:24 +00:00
Drew Jaynes
9de2f22655
Fix a typo in the hook docs summary for the `send_pass_change_email` filter.
...
See #32246 .
Built from https://develop.svn.wordpress.org/trunk@33247
git-svn-id: http://core.svn.wordpress.org/trunk@33219 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-07-13 22:25:24 +00:00
Konstantin Obenland
7e3f0cf45e
Passwords: New UI for install screen.
...
Also synchronises the use of `pw_weak` as an input name and removes trailing
periods from checkbox labels.
Props MikeHansenMe, adamsilverstein, obenland.
See #32589 .
Built from https://develop.svn.wordpress.org/trunk@33246
git-svn-id: http://core.svn.wordpress.org/trunk@33218 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-07-13 22:22:24 +00:00
Drew Jaynes
8ef2cd1537
Fix the inline documentation syntax in the hook docs for the `email_change_email` filter, introduced in 4.3.
...
Also update the filter summary to reflect that the file is for an "email" change, not a "password" change.
See [32820]. See #32891 .
Built from https://develop.svn.wordpress.org/trunk@33245
git-svn-id: http://core.svn.wordpress.org/trunk@33217 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-07-13 22:15:24 +00:00
Drew Jaynes
86f21b4d90
Fix the inline documentation syntax in the hook docs for the `password_change_email` filter, introduced in 4.3.
...
See [32820]. See #32891 .
Built from https://develop.svn.wordpress.org/trunk@33244
git-svn-id: http://core.svn.wordpress.org/trunk@33216 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-07-13 22:11:24 +00:00
Drew Jaynes
284b726bfb
Fix the inline documentation syntax in the hook docs for the `send_email_change_email` filter, added in 4.3.
...
See [32820]. See #32891 .
Built from https://develop.svn.wordpress.org/trunk@33243
git-svn-id: http://core.svn.wordpress.org/trunk@33215 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-07-13 22:08:24 +00:00
Drew Jaynes
96ed7056cd
Fix the inline documentation syntax in the hook docs for the `send_pass_change_email` filter, added in 4.3.
...
See [32820]. See #32891 .
Built from https://develop.svn.wordpress.org/trunk@33242
git-svn-id: http://core.svn.wordpress.org/trunk@33214 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-07-13 22:05:25 +00:00
Drew Jaynes
668bdf60fb
Wrap a long changelog entry description in the DocBlock for `count_user_posts()`.
...
Also clarify the description for the new `$public_only` parameter, added in [32523].
See #32891 .
Built from https://develop.svn.wordpress.org/trunk@33241
git-svn-id: http://core.svn.wordpress.org/trunk@33213 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-07-13 22:03:24 +00:00
Drew Jaynes
f4328b27b6
Add an extra line before the hook doc for the `editor_stylesheets` filter begins.
...
The parser really likes it when there's breathing room.
See [32928]. See #32891 .
Built from https://develop.svn.wordpress.org/trunk@33240
git-svn-id: http://core.svn.wordpress.org/trunk@33212 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-07-13 22:01:24 +00:00
Drew Jaynes
08ad571942
Fix inline documentation syntax in the DocBlock for `get_singular_template()`, added in 4.3.
...
See [32846]. See #32891 .
Built from https://develop.svn.wordpress.org/trunk@33239
git-svn-id: http://core.svn.wordpress.org/trunk@33211 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-07-13 21:59:24 +00:00
Drew Jaynes
137357b769
Fix formatting in the DocBlock for `_split_shared_term()`.
...
See #32246 . See #32891 .
Built from https://develop.svn.wordpress.org/trunk@33238
git-svn-id: http://core.svn.wordpress.org/trunk@33210 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-07-13 21:57:24 +00:00
Drew Jaynes
6b5728c5b9
Properly mark the `$query_var` parameter as optional in the DocBlock for `WP_Rewrite->add_endpoint()`.
...
See #32246 . See #32891 .
Built from https://develop.svn.wordpress.org/trunk@33237
git-svn-id: http://core.svn.wordpress.org/trunk@33209 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-07-13 21:55:24 +00:00
Drew Jaynes
e6dd566b79
Add better line wrapping and syntax improvements to the description for `wp_resolve_numeric_slug_conflicts()`, added in 4.3.
...
Also properly mark `$query_vars` as optional in the parameter description.
See [32648]. See #32891 .
Built from https://develop.svn.wordpress.org/trunk@33236
git-svn-id: http://core.svn.wordpress.org/trunk@33208 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-07-13 21:54:24 +00:00
Drew Jaynes
47b1aca89d
Remove a now-unnecessary inline `@see` tag from the description for `add_rewrite_endpoint()`.
...
See #32246 .
Built from https://develop.svn.wordpress.org/trunk@33235
git-svn-id: http://core.svn.wordpress.org/trunk@33207 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-07-13 21:51:24 +00:00
Drew Jaynes
9e94263af1
Wrap a long changelog entry description in the DocBlock for `get_post_type_labels()`.
...
See [32673]. See #32891 .
Built from https://develop.svn.wordpress.org/trunk@33234
git-svn-id: http://core.svn.wordpress.org/trunk@33206 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-07-13 21:49:25 +00:00
Drew Jaynes
92d342f0d2
Fix the parameter description syntax in the hook docs for the `wp_safe_redirect_fallback` filter, added in 4.3.
...
See #32891 .
Built from https://develop.svn.wordpress.org/trunk@33233
git-svn-id: http://core.svn.wordpress.org/trunk@33205 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-07-13 21:46:25 +00:00
Drew Jaynes
4e74b792fa
Fix the parameter description syntax in the hook docs for the `wp_get_nav_menu_object` filter, added in 4.3.
...
See #32891 .
Built from https://develop.svn.wordpress.org/trunk@33232
git-svn-id: http://core.svn.wordpress.org/trunk@33204 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-07-13 21:45:24 +00:00
Drew Jaynes
6639c342a5
Fix inline documentation syntax in the DocBlock for `WP_Meta_Query->has_or_relation()`, added in 4.3.
...
See [32713]. See #32891 .
Built from https://develop.svn.wordpress.org/trunk@33231
git-svn-id: http://core.svn.wordpress.org/trunk@33203 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-07-13 21:44:24 +00:00
Drew Jaynes
71a7b8c5a4
Remove now-unnecessary inline `@see` tag from the DocBlock for `wp_dropdown_languages()`.
...
See #32246 .
Built from https://develop.svn.wordpress.org/trunk@33230
git-svn-id: http://core.svn.wordpress.org/trunk@33202 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-07-13 21:42:24 +00:00
Drew Jaynes
9619558b0b
Fix inline documentation syntax for the `language_attributes()` DocBlock.
...
See #32246 . See #32891 .
Built from https://develop.svn.wordpress.org/trunk@33229
git-svn-id: http://core.svn.wordpress.org/trunk@33201 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-07-13 21:40:25 +00:00
Drew Jaynes
2d14bd09b9
Fix inline documentation syntax in the DocBlock for `get_language_attributes()`, introduced in 4.3.
...
See [32868]. See #32891 .
Built from https://develop.svn.wordpress.org/trunk@33228
git-svn-id: http://core.svn.wordpress.org/trunk@33200 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-07-13 21:39:24 +00:00
Drew Jaynes
ffb873680a
Fix the summary hook vernacular for the `site_icon_meta_tags` filter docs.
...
See [32994]. See #32891 .
Built from https://develop.svn.wordpress.org/trunk@33227
git-svn-id: http://core.svn.wordpress.org/trunk@33199 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-07-13 21:37:24 +00:00
Drew Jaynes
ceec5ac00b
Fix inline documentation syntax for a few general-purpose functions and hooks added in 4.3.
...
* `_deprecated_constructor()` See [32989]
* `deprecated_constructor_trigger_error` See [32989]
* `get_main_network_id()` See [32775]
* `wp_post_preview_js()` See [32809]
See #32891 .
Built from https://develop.svn.wordpress.org/trunk@33226
git-svn-id: http://core.svn.wordpress.org/trunk@33198 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-07-13 21:35:24 +00:00
Drew Jaynes
9e12c71872
Fix inline documentation syntax for two formatting functions added in 4.3.
...
* `wptexturize_primes()` See [32863]
* `format_for_editor()` See [32899]
See #32891 .
Built from https://develop.svn.wordpress.org/trunk@33225
git-svn-id: http://core.svn.wordpress.org/trunk@33197 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-07-13 21:30:24 +00:00
Drew Jaynes
21632885c7
Fix summaries for new feed functions added in 4.3.
...
* `get_last_build_date_feed()` [32765]
* `atom_site_icon()` [32994]
* `rss2_site_icon()` [32994]
See #32891 .
Built from https://develop.svn.wordpress.org/trunk@33224
git-svn-id: http://core.svn.wordpress.org/trunk@33196 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-07-13 21:27:24 +00:00
Drew Jaynes
536cdddbcd
Fix inline documentation syntax for `get_default_comment_status()`, introduced in 4.3.
...
See [33122]. See #32891 .
Built from https://develop.svn.wordpress.org/trunk@33223
git-svn-id: http://core.svn.wordpress.org/trunk@33195 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-07-13 21:23:25 +00:00
Drew Jaynes
b72f822a69
Add a missing `$html` parameter variable in the hook docs for the `style_loader_tag` filter.
...
See #32246 . See #32891 .
Built from https://develop.svn.wordpress.org/trunk@33222
git-svn-id: http://core.svn.wordpress.org/trunk@33194 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-07-13 21:03:24 +00:00
Drew Jaynes
c6cff377e7
Fix syntax and add missing `@access` tags to a variety of methods and properties in `WP_Customize_Nav_Menu_Item_Setting` added in 4.3.
...
See [32806]. See #32891 .
Built from https://develop.svn.wordpress.org/trunk@33221
git-svn-id: http://core.svn.wordpress.org/trunk@33193 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-07-13 21:01:25 +00:00
Drew Jaynes
d1a84b6f2e
Fix syntax and add missing `@access` tags to a variety of methods added to `WP_Customize_Section`, `WP_Customize_Nav_Menu_Section`, and `WP_Customize_New_Menu_Section` in 4.3.
...
See [32658] and [32806]. See #32891 .
Built from https://develop.svn.wordpress.org/trunk@33220
git-svn-id: http://core.svn.wordpress.org/trunk@33192 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-07-13 20:49:24 +00:00
Drew Jaynes
2475426aa8
Fix syntax and add missing `@access` tags to a variety of methods added to `WP_Customize_Nav_Menus_Panel` in 4.3.
...
See [32855]. See #32891 .
Built from https://develop.svn.wordpress.org/trunk@33219
git-svn-id: http://core.svn.wordpress.org/trunk@33191 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-07-13 20:44:24 +00:00
Drew Jaynes
65a4946d9a
Fix syntax and add missing `@access` tags to various methods in `WP_Customize_Nav_Menus`, added in 4.3.
...
See [32806]. See #32891 .
Built from https://develop.svn.wordpress.org/trunk@33218
git-svn-id: http://core.svn.wordpress.org/trunk@33190 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-07-13 20:39:25 +00:00
Drew Jaynes
442f8fa753
Fix parameter descriptions for two methods added to `WP_Customize_Manager` in 4.3.
...
See [32658]. See #32891 .
Built from https://develop.svn.wordpress.org/trunk@33217
git-svn-id: http://core.svn.wordpress.org/trunk@33189 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-07-13 20:32:24 +00:00
Drew Jaynes
eb5b64112b
Fix missing or inconsistent parameter descriptions for constructors in `WP_Customize_Control`, `WP_Customize_Color_Control`, `WP_Customize_Media_Control`, `WP_Customize_Image_Control`, `WP_Customize_Background_Image_Control`, `WP_Customize_Site_Icon_Control`, `WP_Customizer_Header_Image_Control`, and `WP_Customize_Nav_Menu_Item_Control`.
...
See #32891 . See #32246 .
Built from https://develop.svn.wordpress.org/trunk@33216
git-svn-id: http://core.svn.wordpress.org/trunk@33188 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-07-13 20:25:24 +00:00
Drew Jaynes
34f0605186
Fix inline documentation syntax, and/or add missing `@access` tags for a variety of Customizer subclasses and methods added in 4.3.
...
See #32891 .
Built from https://develop.svn.wordpress.org/trunk@33215
git-svn-id: http://core.svn.wordpress.org/trunk@33187 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-07-13 20:17:25 +00:00
Drew Jaynes
665c3936d4
Fix summaries for for `WP_User->__call()` and `wp_roles()`, both added in 4.3.
...
See [32731], [32548]. See #32891 .
Built from https://develop.svn.wordpress.org/trunk@33214
git-svn-id: http://core.svn.wordpress.org/trunk@33186 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-07-13 20:01:25 +00:00
Drew Jaynes
7ab106e1f5
Fix the summary and parameter description for `wp_admin_bar_customize_menu()` added in 4.3.
...
See [33130]. See #32891 .
Built from https://develop.svn.wordpress.org/trunk@33213
git-svn-id: http://core.svn.wordpress.org/trunk@33185 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-07-13 19:58:25 +00:00
Drew Jaynes
e4ecc7e5c4
Fix summaries and add missing `@global` descriptions to the `upgrade_430_fix_comments()` and `split_all_shared_terms()` functions added in 4.3.
...
See [33020], [32643]. See #32891 .
Built from https://develop.svn.wordpress.org/trunk@33212
git-svn-id: http://core.svn.wordpress.org/trunk@33184 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-07-13 19:56:24 +00:00
Drew Jaynes
f9194e361c
Add a description for the dynamic portion of the `nav_menu_items_{$post_type_name}_recent` filter added in 4.3.
...
See [32833]. See #32891 .
Built from https://develop.svn.wordpress.org/trunk@33211
git-svn-id: http://core.svn.wordpress.org/trunk@33183 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-07-13 19:51:24 +00:00
Drew Jaynes
2d0721aab9
Fix the summary for the `WP_Users_List_Table->get_default_primary_column_name()` method added in 4.3.
...
See [32644]. See #32891 .
Built from https://develop.svn.wordpress.org/trunk@33210
git-svn-id: http://core.svn.wordpress.org/trunk@33182 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-07-13 19:48:25 +00:00
Drew Jaynes
0322d0e89b
Fix inline documentation syntax in the `WP_Upgrader->clear_destination()` method added in 4.3.
...
See [32854]. See #32891 .
Built from https://develop.svn.wordpress.org/trunk@33209
git-svn-id: http://core.svn.wordpress.org/trunk@33181 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-07-13 19:46:25 +00:00
Konstantin Obenland
d932607416
Passwords: Add trailing periods in new strings.
...
Props akibjorklund.
See #32589 .
Built from https://develop.svn.wordpress.org/trunk@33208
git-svn-id: http://core.svn.wordpress.org/trunk@33180 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-07-13 18:30:24 +00:00
Drew Jaynes
f9070e11b4
Fix summaries for two methods added to `WP_Terms_List_Table` in 4.3.
...
See [32644]. See #32891 .
Built from https://develop.svn.wordpress.org/trunk@33207
git-svn-id: http://core.svn.wordpress.org/trunk@33179 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-07-13 18:22:25 +00:00
Konstantin Obenland
281d2ed535
Passwords: Improve display of show/hide toggle for touch and small-screen devices.
...
See #32589 .
Built from https://develop.svn.wordpress.org/trunk@33206
git-svn-id: http://core.svn.wordpress.org/trunk@33178 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-07-13 18:21:24 +00:00
Drew Jaynes
050e95d5ee
Re-add parameter names to the `add()` DocBlock in `wptextpattern` accidentally replaced only with descriptions in [33200].
...
Props iseulde.
See #32891 .
Built from https://develop.svn.wordpress.org/trunk@33205
git-svn-id: http://core.svn.wordpress.org/trunk@33177 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-07-13 18:09:24 +00:00
Drew Jaynes
d1a3d2e6ea
Add missing summaries, `@access` tags, and some parameter descriptions for methods added to `WP_Links_List_Table` in 4.3.
...
See [32753]. See #32891 .
Built from https://develop.svn.wordpress.org/trunk@33204
git-svn-id: http://core.svn.wordpress.org/trunk@33176 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-07-13 18:03:24 +00:00
Drew Jaynes
5b34f6faff
Add a true return description to the `test()` method added to wpEmoji in 4.3.
...
See [32335]. See #32891 .
Built from https://develop.svn.wordpress.org/trunk@33203
git-svn-id: http://core.svn.wordpress.org/trunk@33175 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-07-13 17:59:24 +00:00
Konstantin Obenland
2829827c1c
Site Icon: Add Android-specific app icon.
...
Falling back to Apple app icons is deprecated behavior and will not work
forever. 192px is the recommended size for that icon.
Props kraftbj.
Fixes #32964 .
Built from https://develop.svn.wordpress.org/trunk@33202
git-svn-id: http://core.svn.wordpress.org/trunk@33174 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-07-13 17:58:47 +00:00
Drew Jaynes
12e970c72c
Minor documentation fixes for the `wp.a11y.speak()` and `addContainer()` DocBlocks.
...
See [33000]. See #32891 .
Built from https://develop.svn.wordpress.org/trunk@33201
git-svn-id: http://core.svn.wordpress.org/trunk@33173 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-07-13 17:58:24 +00:00
Drew Jaynes
a6687bccad
Add true descriptions to parameters for the `add()` method for `wptextpattern`, added in 4.3.
...
See [32703]. See #32891 .
Built from https://develop.svn.wordpress.org/trunk@33200
git-svn-id: http://core.svn.wordpress.org/trunk@33172 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-07-13 17:55:25 +00:00
Drew Jaynes
5ebb6855b6
Add missing summaries, `@access` tags, and some parameter descriptions for methods added to `WP_MS_Sites_List_Table` in 4.3.
...
See [32755]. See #32891 .
Built from https://develop.svn.wordpress.org/trunk@33199
git-svn-id: http://core.svn.wordpress.org/trunk@33171 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-07-13 17:53:24 +00:00
Drew Jaynes
88229587c0
Improving formatting for various pieces of inline documentation in the new `WP_Site_Icon` class added in 4.3.
...
See [32994]. See #32891 .
Built from https://develop.svn.wordpress.org/trunk@33198
git-svn-id: http://core.svn.wordpress.org/trunk@33170 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-07-13 17:51:24 +00:00
Drew Jaynes
b2cc4de9b2
Add missing summaries, `@access` tags, and some parameter descriptions to methods added to `WP_Posts_List_Table` in 4.3.
...
See [32740]. See #32891 .
Built from https://develop.svn.wordpress.org/trunk@33197
git-svn-id: http://core.svn.wordpress.org/trunk@33169 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-07-13 17:49:25 +00:00
Drew Jaynes
9a2261d3bf
Fix the DocBlock summary for `WP_Plugins_List_Table->get_primary_column_name()`, added in 4.3.
...
See [32644]. See #32891 .
Built from https://develop.svn.wordpress.org/trunk@33196
git-svn-id: http://core.svn.wordpress.org/trunk@33168 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-07-13 17:46:26 +00:00
Drew Jaynes
3361f39479
Add missing summaries and parameter descriptions to new methods added to `WP_MS_Users_List_Table` in 4.3.
...
See [32757]. See #32891 .
Built from https://develop.svn.wordpress.org/trunk@33195
git-svn-id: http://core.svn.wordpress.org/trunk@33167 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-07-13 17:43:25 +00:00
Jeremy Felt
1d95cf1886
Handle MS Sites bulk action verification separately from individual actions.
...
After [33173], bulk actions would not process due to broken verification of the `bulk-sites` action. This reintroduces the proper action and treats bulk actions differently than individual site actions.
See #32963 .
Built from https://develop.svn.wordpress.org/trunk@33194
git-svn-id: http://core.svn.wordpress.org/trunk@33166 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-07-13 17:24:24 +00:00
Drew Jaynes
5961dbb65b
Add missing summaries to new methods added to `WP_MS_Themes_List_Table` in 4.3.
...
See [32756]. See #32891 .
Built from https://develop.svn.wordpress.org/trunk@33193
git-svn-id: http://core.svn.wordpress.org/trunk@33165 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-07-13 16:13:26 +00:00
John Blackbourn
f3eba1581c
Place the locale inside the md5 hash in the dashboard RSS feed widget transient key to prevent the transient timeout option name becoming longer than the allowed field size.
...
Props andg
Fixes #32804
Built from https://develop.svn.wordpress.org/trunk@33192
git-svn-id: http://core.svn.wordpress.org/trunk@33164 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-07-13 15:32:25 +00:00
Dominik Schilling
72b383b3d4
Customizer: Fix broken cap check in `WP_Customize_Nav_Menus::ajax_search_available_items`.
...
see #33163 .
Built from https://develop.svn.wordpress.org/trunk@33191
git-svn-id: http://core.svn.wordpress.org/trunk@33163 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-07-13 14:31:24 +00:00
John Blackbourn
396cc7b2e4
Correct a parameter name in the docs for `wp_insert_category()`.
...
Built from https://develop.svn.wordpress.org/trunk@33190
git-svn-id: http://core.svn.wordpress.org/trunk@33162 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-07-13 12:59:25 +00:00
Weston Ruter
ae50d09585
Customizer: Disambiguate a menu's auto-add pages option from preceding menu location checkboxes.
...
Creates a separate `nav_menu_auto_add` control type following the pattern of the `nav_menu_name` control type.
Props valendesigns.
Fixes #32820 .
Built from https://develop.svn.wordpress.org/trunk@33189
git-svn-id: http://core.svn.wordpress.org/trunk@33161 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-07-13 08:40:26 +00:00
Jeremy Felt
58de0d05cd
Tests: Check downsized images against dynamic rather than static filename when original is expected.
...
See #32971 .
Built from https://develop.svn.wordpress.org/trunk@33188
git-svn-id: http://core.svn.wordpress.org/trunk@33160 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-07-13 03:34:24 +00:00
Andrew Ozz
4bd5e2db01
TinyMCE:
...
- Go back to encoding the editor content only when TinyMCE is used.
- Add check and encode `</textarea>` if present.
See #32425 .
Built from https://develop.svn.wordpress.org/trunk@33187
git-svn-id: http://core.svn.wordpress.org/trunk@33159 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-07-13 03:19:24 +00:00
Jeremy Felt
a5f6dd3ea1
Network Admin: Improved header information in Edit Site tabs.
...
* Use the site's name rather than URL in the Edit Site header.
* Provide "Visit" and "Dashboard" links for the site on all tabs.
Props @Fab1en, @jeremyfelt.
Fixes #32525 .
Built from https://develop.svn.wordpress.org/trunk@33186
git-svn-id: http://core.svn.wordpress.org/trunk@33158 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-07-13 00:27:24 +00:00
Jeremy Felt
562f49d683
Add explicit testing for `pre_get_space_used()` filter.
...
See #30202 .
Built from https://develop.svn.wordpress.org/trunk@33185
git-svn-id: http://core.svn.wordpress.org/trunk@33157 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-07-13 00:14:25 +00:00
Jeremy Felt
c122491c70
Exclude individual site directories when calculating space used for the main site.
...
* Add an `$exclude` parameter to `recurse_dirsize()`.
* Use this parameter in `get_dirsize()` to exclude `/sites` when on the main site.
* Add tests for main site and switched site.
Props @earnjam, @jeremyfelt.
Fixes #30202 .
Built from https://develop.svn.wordpress.org/trunk@33184
git-svn-id: http://core.svn.wordpress.org/trunk@33156 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-07-13 00:07:24 +00:00
John Blackbourn
1f7a3bc58d
Append the current locale to dashboard RSS widget cache keys so they refresh accordingly when the locale is changed.
...
Fixes #32804
Props andg
Built from https://develop.svn.wordpress.org/trunk@33183
git-svn-id: http://core.svn.wordpress.org/trunk@33155 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-07-12 22:07:25 +00:00
Aaron Jorbin
50b32fc6eb
Add Unit Tests for get_objects_in_term()
...
Props rodrigosprimo.
Fixes #32946 .
Built from https://develop.svn.wordpress.org/trunk@33182
git-svn-id: http://core.svn.wordpress.org/trunk@33154 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-07-12 20:13:24 +00:00
Konstantin Obenland
43ae0c0b13
Site Icon: Unit tests for `WP_Site_Icon` and its API.
...
Props obenland, jorbin.
See #16434 .
Built from https://develop.svn.wordpress.org/trunk@33181
git-svn-id: http://core.svn.wordpress.org/trunk@33153 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-07-12 20:07:24 +00:00
Konstantin Obenland
13ab10fff7
Site Icon: Improve a11y in Settings.
...
Props afercia.
Fixes #32970 .
Built from https://develop.svn.wordpress.org/trunk@33180
git-svn-id: http://core.svn.wordpress.org/trunk@33152 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-07-12 19:43:24 +00:00
Drew Jaynes
967b04a7f8
Add missing summaries and `@access` tags to methods added to `WP_Media_List_Table` in 4.3.
...
See [32754]. See #32891 .
Built from https://develop.svn.wordpress.org/trunk@33179
git-svn-id: http://core.svn.wordpress.org/trunk@33151 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-07-12 18:34:24 +00:00
Drew Jaynes
d7c887fe5d
Fix the summaries for a few methods and hooks added to `WP_List_Table` in 4.3.
...
See [32644]. See #32891 .
Built from https://develop.svn.wordpress.org/trunk@33178
git-svn-id: http://core.svn.wordpress.org/trunk@33150 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-07-12 18:32:24 +00:00
Drew Jaynes
c333809c0e
Fix the summary and add a missing variable in the hook docs for the `edit_comment_misc_actions` filter.
...
See [32929]. See #32891 .
Built from https://develop.svn.wordpress.org/trunk@33177
git-svn-id: http://core.svn.wordpress.org/trunk@33149 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-07-12 18:29:23 +00:00
Drew Jaynes
703d4c259c
Fix filter doc vernacular for the new `wp_ajax_cropped_attachment_id` hook added in 4.3.
...
See #32891 .
Built from https://develop.svn.wordpress.org/trunk@33176
git-svn-id: http://core.svn.wordpress.org/trunk@33148 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-07-12 18:26:24 +00:00
Aaron Jorbin
6deae61e77
Add dbDelta insert test
...
Test to make sure that dbDelta properly inserts a value into the DB.
Props tryon, jtsternberg, ebinnion, JPry, avnarun, kevkoeh, salcode.
Fixes #29020 .
Built from https://develop.svn.wordpress.org/trunk@33175
git-svn-id: http://core.svn.wordpress.org/trunk@33147 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-07-12 17:29:24 +00:00
Dominik Schilling
cfa6e60bcb
Nav menus: Add an ID attribute to the menu select box to link it with the label.
...
see #31816 .
fixes #32699 .
Built from https://develop.svn.wordpress.org/trunk@33174
git-svn-id: http://core.svn.wordpress.org/trunk@33146 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-07-12 12:08:24 +00:00
Jeremy Felt
9f0506e3b2
Add better handling for actions and messaging in MS Sites List Table row actions
...
* Simplify URLs used for row actions to remove messaging and site domain/path.
* Use confirmation messaging from a managed list of actions when handling the request.
* Find the site address from the site ID rather than using information passed in the URL.
Fixes #32963 .
Built from https://develop.svn.wordpress.org/trunk@33173
git-svn-id: http://core.svn.wordpress.org/trunk@33145 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-07-12 02:36:26 +00:00
Jeremy Felt
72e83d6aec
Restrict search inputs in network dashboard's Right Now to max width of 100%.
...
This prevents the fields from bleeding outside of the widget area on smaller mobile devices.
See #32846 .
Built from https://develop.svn.wordpress.org/trunk@33172
git-svn-id: http://core.svn.wordpress.org/trunk@33144 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-07-11 23:17:24 +00:00
Jeremy Felt
b8ffa8ecb9
Restrict textarea fields in network setup to a max width of 100%.
...
This avoids the content overrunning the screen on mobile devices.
See #32846 .
Built from https://develop.svn.wordpress.org/trunk@33171
git-svn-id: http://core.svn.wordpress.org/trunk@33143 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-07-11 22:53:25 +00:00
Andrew Ozz
0241081bae
TinyMCE, shortcuts help popup: do not use translatable strings for the keys.
...
See #31441 .
Built from https://develop.svn.wordpress.org/trunk@33170
git-svn-id: http://core.svn.wordpress.org/trunk@33142 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-07-11 22:37:24 +00:00