Scott Taylor
|
9b210df2b9
|
Eliminate use of `extract()` in `wp_generate_tag_cloud()`.
See #22400.
Built from https://develop.svn.wordpress.org/trunk@28435
git-svn-id: http://core.svn.wordpress.org/trunk@28262 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2014-05-15 17:48:15 +00:00 |
Scott Taylor
|
9c8becc1f7
|
Eliminate use of `extract()` in `wp_list_categories()`.
See #22400.
Built from https://develop.svn.wordpress.org/trunk@28434
git-svn-id: http://core.svn.wordpress.org/trunk@28261 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2014-05-15 17:28:14 +00:00 |
Scott Taylor
|
67c51361d6
|
Eliminate use of `extract()` in `default-widgets.php`.
Props rzen, wonderboymusic.
See #22400.
Built from https://develop.svn.wordpress.org/trunk@28433
git-svn-id: http://core.svn.wordpress.org/trunk@28260 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2014-05-15 16:33:15 +00:00 |
Scott Taylor
|
b788832722
|
Eliminate use of `extract()` in `wp_dropdown_categories()`.
See #22400.
Built from https://develop.svn.wordpress.org/trunk@28432
git-svn-id: http://core.svn.wordpress.org/trunk@28259 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2014-05-15 15:48:14 +00:00 |
Scott Taylor
|
78b6f2761d
|
Eliminate use of `extract()` in `get_comment_reply_link()`.
See #22400.
Built from https://develop.svn.wordpress.org/trunk@28431
git-svn-id: http://core.svn.wordpress.org/trunk@28258 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2014-05-15 15:35:15 +00:00 |
Scott Taylor
|
11aa170e30
|
Eliminate use of `extract()` in `WP_Ajax_Response::add()`. Just set most of the properties to variables to avoid interpolation churn.
See #22400.
Built from https://develop.svn.wordpress.org/trunk@28430
git-svn-id: http://core.svn.wordpress.org/trunk@28257 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2014-05-15 15:25:14 +00:00 |
Scott Taylor
|
7943f4715a
|
Eliminate the use of `extract()` in `get_post_reply_link()`.
See #22400.
Built from https://develop.svn.wordpress.org/trunk@28429
git-svn-id: http://core.svn.wordpress.org/trunk@28256 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2014-05-15 06:49:14 +00:00 |
Scott Taylor
|
0e2909ce89
|
Eliminate the use of `extract()` in `wp_list_comments()`. All unit tests pass.
See #22400.
Built from https://develop.svn.wordpress.org/trunk@28428
git-svn-id: http://core.svn.wordpress.org/trunk@28255 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2014-05-15 06:43:15 +00:00 |
Scott Taylor
|
a15d498d1a
|
Eliminate the use of `extract()` in `wp_update_comment()`. All unit tests pass.
See #22400.
Built from https://develop.svn.wordpress.org/trunk@28427
git-svn-id: http://core.svn.wordpress.org/trunk@28254 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2014-05-15 06:37:15 +00:00 |
Scott Taylor
|
bbcc03a750
|
Eliminate the use of `extract()` in `wp_check_filetype_and_ext()`.
See #22400.
Built from https://develop.svn.wordpress.org/trunk@28426
git-svn-id: http://core.svn.wordpress.org/trunk@28253 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2014-05-15 06:22:14 +00:00 |
Scott Taylor
|
8e98541d5f
|
Eliminate the use of `extract()` in `wp_mail()`. Check the filtered array for each value before re-setting variables.
See #22400.
Built from https://develop.svn.wordpress.org/trunk@28425
git-svn-id: http://core.svn.wordpress.org/trunk@28252 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2014-05-15 06:17:15 +00:00 |
Scott Taylor
|
f5bd0de275
|
Eliminate the use of `extract()` in `wp_validate_auth_cookie()`.
Don't do anything fancy here, just set the 4 returned properties to variables. This function is semi-important.
See #22400.
Built from https://develop.svn.wordpress.org/trunk@28424
git-svn-id: http://core.svn.wordpress.org/trunk@28251 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2014-05-15 06:11:13 +00:00 |
Scott Taylor
|
eb2bbf9c97
|
Eliminate the use of `extract()` in `get_objects_in_term()`. Only one property (`order`) was extracted.
See #22400.
Built from https://develop.svn.wordpress.org/trunk@28423
git-svn-id: http://core.svn.wordpress.org/trunk@28250 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2014-05-15 05:43:16 +00:00 |
Scott Taylor
|
80a37d2fcd
|
Eliminate the use of `extract()` in `WP_Tax_Query::get_sql()`. All unit tests still pass.
See #22400.
Built from https://develop.svn.wordpress.org/trunk@28422
git-svn-id: http://core.svn.wordpress.org/trunk@28249 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2014-05-15 05:41:14 +00:00 |
Scott Taylor
|
e6fad96f5e
|
Eliminate the use of `extract()` in `the_taxonomies()`. Adds unit test.
See #22400.
Built from https://develop.svn.wordpress.org/trunk@28421
git-svn-id: http://core.svn.wordpress.org/trunk@28248 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2014-05-15 05:25:14 +00:00 |
Scott Taylor
|
ee90a8c17c
|
Eliminate the use of `extract()` in `wp_dropdown_users()`.
See #22400.
Built from https://develop.svn.wordpress.org/trunk@28420
git-svn-id: http://core.svn.wordpress.org/trunk@28247 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2014-05-15 05:18:15 +00:00 |
Scott Taylor
|
ae61a48489
|
Set `@param` back to `$output`, not `$html`, in the inline filter docs. This was a copy/paste mistake.
See #22400.
Built from https://develop.svn.wordpress.org/trunk@28419
git-svn-id: http://core.svn.wordpress.org/trunk@28246 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2014-05-15 05:08:14 +00:00 |
Scott Taylor
|
c0b0b00e6d
|
Eliminate use of `extract()` in `get_the_taxonomies()`. Adds unit test.
See #22400.
Built from https://develop.svn.wordpress.org/trunk@28415
git-svn-id: http://core.svn.wordpress.org/trunk@28242 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2014-05-15 03:51:13 +00:00 |
Scott Taylor
|
dcc6cbc04f
|
Eliminate use of `extract()` in `gallery_shortcode()`.
See #22400.
Built from https://develop.svn.wordpress.org/trunk@28414
git-svn-id: http://core.svn.wordpress.org/trunk@28241 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2014-05-15 03:41:15 +00:00 |
Scott Taylor
|
947aa04900
|
Update the inline docs for `add_shortcode()` to eliminate suggestion to use `extract()`.
See #22400.
Built from https://develop.svn.wordpress.org/trunk@28413
git-svn-id: http://core.svn.wordpress.org/trunk@28240 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2014-05-15 03:28:15 +00:00 |
Scott Taylor
|
4b94efd93b
|
Eliminate use of `extract()` in `wp_xmlrpc_server::blogger_editPost()`.
See #22400.
Built from https://develop.svn.wordpress.org/trunk@28412
git-svn-id: http://core.svn.wordpress.org/trunk@28239 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2014-05-15 03:25:15 +00:00 |
Scott Taylor
|
54321f4c6e
|
Eliminate use of `extract()` in `get_media_item()`.
To test, fire open the old media in the console: `tb_show('Old Media is Weird', 'media-upload.php?type=image&TB_iframe=true&post_id=0');`
See #22400.
Built from https://develop.svn.wordpress.org/trunk@28407
git-svn-id: http://core.svn.wordpress.org/trunk@28234 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2014-05-15 02:45:15 +00:00 |
Scott Taylor
|
9d6eeca015
|
Eliminate use of `extract()` in `wp_list_bookmarks()`.
See #22400.
Built from https://develop.svn.wordpress.org/trunk@28405
git-svn-id: http://core.svn.wordpress.org/trunk@28232 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2014-05-15 02:18:16 +00:00 |
Scott Taylor
|
748765c5ad
|
Eliminate use of `extract()` in `_walk_bookmarks()`.
See #22400.
Built from https://develop.svn.wordpress.org/trunk@28404
git-svn-id: http://core.svn.wordpress.org/trunk@28231 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2014-05-15 02:05:15 +00:00 |
Scott Taylor
|
12a5b389ab
|
Eliminate use of `extract()` in `get_bookmarks()`.
See #22400.
Built from https://develop.svn.wordpress.org/trunk@28403
git-svn-id: http://core.svn.wordpress.org/trunk@28230 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2014-05-15 01:58:15 +00:00 |
Scott Taylor
|
a4a5560b22
|
Eliminate use of `extract()` in `Walker_Page::start_el()`.
See #22400.
Built from https://develop.svn.wordpress.org/trunk@28402
git-svn-id: http://core.svn.wordpress.org/trunk@28229 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2014-05-15 01:41:15 +00:00 |
Scott Taylor
|
7b8d797355
|
Eliminate use of `extract()` in `wp_list_pages()` which, surprisingly, didn't even use any of the extracted variables.
See #22400.
Built from https://develop.svn.wordpress.org/trunk@28401
git-svn-id: http://core.svn.wordpress.org/trunk@28228 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2014-05-15 01:22:15 +00:00 |
Scott Taylor
|
29d8832625
|
Eliminate use of `extract()` in `wp_dropdown_pages()`.
Adds unit tests to: `tests/post/template.php`.
There was previously only one wimpy assertion for `wp_dropdown_pages()`.
See #22400.
Built from https://develop.svn.wordpress.org/trunk@28399
git-svn-id: http://core.svn.wordpress.org/trunk@28227 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2014-05-15 01:12:13 +00:00 |
Scott Taylor
|
fe2d90ab4f
|
Eliminate use of `extract()` in `wp_link_pages()`.
Adds unit tests to a new file: `tests/post/template.php`.
There were previously no unit tests for `wp_link_pages()`.
See #22400.
Built from https://develop.svn.wordpress.org/trunk@28398
git-svn-id: http://core.svn.wordpress.org/trunk@28226 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2014-05-15 00:44:14 +00:00 |
Scott Taylor
|
d5acdd82c8
|
Eliminate use of `extract()` in `paginate_links()`. Adds unit tests. Moves `tests/general/template.php` (which only had one method) to `tests/general/paginateLinks.php`.
See #22400.
Built from https://develop.svn.wordpress.org/trunk@28397
git-svn-id: http://core.svn.wordpress.org/trunk@28225 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2014-05-14 22:29:14 +00:00 |
Scott Taylor
|
e866b5fb82
|
Eliminate use of `extract()` in `wp_list_authors()`.
See #22400.
Built from https://develop.svn.wordpress.org/trunk@28392
git-svn-id: http://core.svn.wordpress.org/trunk@28220 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2014-05-13 06:02:14 +00:00 |
Scott Taylor
|
92d2c60a65
|
Eliminate use of `extract()` in `the_title_attribute()`.
See #22400.
Built from https://develop.svn.wordpress.org/trunk@28383
git-svn-id: http://core.svn.wordpress.org/trunk@28211 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2014-05-13 04:48:15 +00:00 |
Scott Taylor
|
ef8b813682
|
Eliminate use of `extract()` in `trackback_url_list()`.
See #22400.
Built from https://develop.svn.wordpress.org/trunk@28382
git-svn-id: http://core.svn.wordpress.org/trunk@28210 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2014-05-13 04:44:15 +00:00 |
Scott Taylor
|
bee6492b9b
|
Eliminate use of `extract()` in `wp-includes/theme-compat/comments-popup.php`.
See #22400.
Built from https://develop.svn.wordpress.org/trunk@28381
git-svn-id: http://core.svn.wordpress.org/trunk@28209 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2014-05-13 04:40:16 +00:00 |
Scott Taylor
|
b110c7f887
|
Eliminate use of `extract()` in `wp_get_archives()`.
Adds unit tests: `tests/functions/getArchives.php`.
All other unit tests pass.
Props MikeHansenMe, wonderboymusic.
See #22400.
Built from https://develop.svn.wordpress.org/trunk@28379
git-svn-id: http://core.svn.wordpress.org/trunk@28207 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2014-05-13 04:29:26 +00:00 |
Drew Jaynes
|
62b6306739
|
Use a proper docs-specific variable for the first parameter passed to the `embed_oembed_discover` filter.
See #26869.
Built from https://develop.svn.wordpress.org/trunk@28378
git-svn-id: http://core.svn.wordpress.org/trunk@28206 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2014-05-13 04:29:14 +00:00 |
Drew Jaynes
|
08824b6529
|
Add a complete short description to the `get_attached_media` filter documentation.
See #26869.
Built from https://develop.svn.wordpress.org/trunk@28377
git-svn-id: http://core.svn.wordpress.org/trunk@28205 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2014-05-13 04:21:14 +00:00 |
Scott Taylor
|
f32dbfe62c
|
Add `xps` and `oxps` extensions to list of supported document types.
More: http://en.wikipedia.org/wiki/Open_XML_Paper_Specification
Fixes #15697.
Built from https://develop.svn.wordpress.org/trunk@28372
git-svn-id: http://core.svn.wordpress.org/trunk@28200 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2014-05-11 07:19:13 +00:00 |
Scott Taylor
|
5682d30b6e
|
In `wp.media.view.Settings::update()`, when handling checkboxes, check for a value of `'false'` in addition to casting `value` to boolean. `!! 'false'` evaluates to `true`.
Props adamsilverstein.
Fixes #23954.
Built from https://develop.svn.wordpress.org/trunk@28371
git-svn-id: http://core.svn.wordpress.org/trunk@28199 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2014-05-11 07:03:15 +00:00 |
Scott Taylor
|
aeadf0c7cf
|
Allow users to set overrides for MediaElement instances by always passing `_wpmejsSettings` instead of just `_wpmejsSettings.pluginPath`.
Props Otto42 for the initial patch.
Fixes #25243.
Built from https://develop.svn.wordpress.org/trunk@28370
git-svn-id: http://core.svn.wordpress.org/trunk@28198 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2014-05-11 06:25:15 +00:00 |
Scott Taylor
|
558cf6f86d
|
In the `Attachment Details` section of the media modal, only add `box-shadow` to images. Other mime-type icons look strange with an arbitrary border.
Props avryl.
Fixes #27949.
Built from https://develop.svn.wordpress.org/trunk@28369
git-svn-id: http://core.svn.wordpress.org/trunk@28197 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2014-05-11 06:19:14 +00:00 |
Scott Taylor
|
60f395e4c2
|
Update the default (WP-defined) styles for MediaElement players to be more in-line with our flat aesthetic. Use the new official colors.
Props celloexpressions.
Fixes #27516.
Built from https://develop.svn.wordpress.org/trunk@28365
git-svn-id: http://core.svn.wordpress.org/trunk@28193 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2014-05-11 02:23:14 +00:00 |
Scott Taylor
|
37b7f39e95
|
When pausing "all" players attached to MCE views, don't reach into global scope and pause "every" player. Only pause the players bound to MCE views.
Fixes #27971.
Built from https://develop.svn.wordpress.org/trunk@28364
git-svn-id: http://core.svn.wordpress.org/trunk@28192 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2014-05-11 02:07:14 +00:00 |
Scott Taylor
|
fb1aab6520
|
Support `loop` for `[audio]` and `[video]` shortcodes that specify files that are played using MediaElement's Flash plugin bridge.
Fixes #27368.
Built from https://develop.svn.wordpress.org/trunk@28363
git-svn-id: http://core.svn.wordpress.org/trunk@28191 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2014-05-11 01:28:15 +00:00 |
Scott Taylor
|
5df38694e9
|
In `get_the_author_posts()`, if there is no current `$post`, return `0` and bail.
Props krogsgard, aaroncampbell.
Fixes #27998.
Built from https://develop.svn.wordpress.org/trunk@28362
git-svn-id: http://core.svn.wordpress.org/trunk@28190 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2014-05-11 00:26:14 +00:00 |
Scott Taylor
|
d06c353995
|
MediaElement players need `clear: both` to play nice with adjacent floated elements.
Fixes #27385.
Built from https://develop.svn.wordpress.org/trunk@28361
git-svn-id: http://core.svn.wordpress.org/trunk@28189 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2014-05-11 00:14:14 +00:00 |
Scott Taylor
|
9daf458ff0
|
Remove the `title` attribute from markup generated in `wp-includes/category-template.php`:
* `get_category_parents()`
* `get_the_category_list()`
* `wp_generate_tag_cloud()`
* `Walker_Category::start_el()`
Props joedolson.
Fixes #26557.
Built from https://develop.svn.wordpress.org/trunk@28359
git-svn-id: http://core.svn.wordpress.org/trunk@28187 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2014-05-10 23:57:16 +00:00 |
Scott Taylor
|
f22beb987c
|
First pass at `wpview` logic for the `[embed]` shortcode. URLs on a their own line are parsed as well. The toolbar will appear with the "remove" button when the view is clicked. Edit has not been implemented yet.
Props avryl, wonderboymusic.
See #28195.
Built from https://develop.svn.wordpress.org/trunk@28358
git-svn-id: http://core.svn.wordpress.org/trunk@28186 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2014-05-10 23:36:18 +00:00 |
Drew Jaynes
|
9098b45e53
|
Add inline documentation of the default arguments for `wp_list_pages()`.
Props garza for the initial patches.
Fixes #11338.
Built from https://develop.svn.wordpress.org/trunk@28357
git-svn-id: http://core.svn.wordpress.org/trunk@28185 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2014-05-10 08:02:14 +00:00 |
Scott Taylor
|
1daa7d6723
|
Leverage `size_format()` when displaying `max_upload_size`:
* In `media_upload_form()`
* The `uploader-inline` Underscore template in the media modal.
Replaces 2 buggy inline implementations that could display size units off by one, or size values off by one.
Fixes #25643.
Built from https://develop.svn.wordpress.org/trunk@28343
git-svn-id: http://core.svn.wordpress.org/trunk@28171 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2014-05-07 18:25:14 +00:00 |