Drew Jaynes
bd1d3f0a8c
Docs: Apply inline `@see` tags to hooks referenced in DocBlocks in a variety of wp-includes/* files.
...
Applying these specially-crafted `@see` tags allows the Code Reference parser to recognize and link these elements as actions and filters.
See #36921 .
git-svn-id: https://develop.svn.wordpress.org/trunk@37542 602fd350-edb4-49c9-b593-d223f7449a82
2016-05-23 18:58:48 +00:00
Drew Jaynes
e82b32be51
Docs: Apply inline `@see` tags to hooks referenced in DocBlocks in wp-includes/general-template.php.
...
Applying these specially-crafted `@see` tags allows the Code Reference parser to recognize and link these elements as actions and filters.
See #36921 .
git-svn-id: https://develop.svn.wordpress.org/trunk@37541 602fd350-edb4-49c9-b593-d223f7449a82
2016-05-23 18:56:06 +00:00
Drew Jaynes
869b0a53e7
Docs: Apply inline `@see` tags to hooks referenced in DocBlocks in wp-includes/ms-functions.php.
...
Applying these specially-crafted `@see` tags allows the Code Reference parser to recognize and link these elements as actions and filters.
See #36921 .
git-svn-id: https://develop.svn.wordpress.org/trunk@37540 602fd350-edb4-49c9-b593-d223f7449a82
2016-05-23 18:55:17 +00:00
Drew Jaynes
b208dae5e6
Docs: Apply inline `@see` tags to hooks referenced in DocBlocks for core classes.
...
Applying these specially-crafted `@see` tags allows the Code Reference parser to recognize and link these elements as actions and filters.
See #36921 .
git-svn-id: https://develop.svn.wordpress.org/trunk@37539 602fd350-edb4-49c9-b593-d223f7449a82
2016-05-23 18:53:05 +00:00
Dominik Schilling (ocean90)
52caa1f06a
Database: Support backticks around field names when parsing a query for the field type.
...
Avoids an undefined index PHP warning by `dbDelta()`.
Props davidmosterd, ocean90.
See #20263 .
git-svn-id: https://develop.svn.wordpress.org/trunk@37538 602fd350-edb4-49c9-b593-d223f7449a82
2016-05-23 18:11:32 +00:00
Drew Jaynes
2111185ab9
Docs: Apply inline `@see` tags to hooks referenced in DocBlocks for wp-admin/* files.
...
Applying these specially-crafted `@see` tags allows the Code Reference parser to recognize and link these elements as actions and filters.
See #36921 .
git-svn-id: https://develop.svn.wordpress.org/trunk@37537 602fd350-edb4-49c9-b593-d223f7449a82
2016-05-23 17:27:19 +00:00
Drew Jaynes
3ae9bf6690
Docs: Apply inline `@see` tags to hooks referenced in DocBlocks for root directory files.
...
Applying these specially-crafted `@see` tags allows the Code Reference parser to recognize and link these elements as hooks.
See #36921 .
git-svn-id: https://develop.svn.wordpress.org/trunk@37536 602fd350-edb4-49c9-b593-d223f7449a82
2016-05-23 17:06:40 +00:00
Drew Jaynes
a1ee08a6db
Docs: Standardize filter docs in root folder files to use third-person singular verbs per the inline documentation standards for PHP.
...
Fixes #36913 .
git-svn-id: https://develop.svn.wordpress.org/trunk@37535 602fd350-edb4-49c9-b593-d223f7449a82
2016-05-23 16:43:20 +00:00
Drew Jaynes
08a0225d5c
Docs: Update the return notation for `get_current_screen()` to note that `null` can also be returned if the screen has not been defined.
...
Props screamingdev.
Fixes #36382 .
git-svn-id: https://develop.svn.wordpress.org/trunk@37534 602fd350-edb4-49c9-b593-d223f7449a82
2016-05-23 16:33:22 +00:00
Dominik Schilling (ocean90)
8fefe4e13c
Database: Remove debug comments in `dbDelta()`.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@37533 602fd350-edb4-49c9-b593-d223f7449a82
2016-05-23 15:03:18 +00:00
Dominik Schilling (ocean90)
9f19752175
Database: Reduce the number of `strtolower()` calls in `dbDelta()`.
...
Fixes #36919 .
git-svn-id: https://develop.svn.wordpress.org/trunk@37532 602fd350-edb4-49c9-b593-d223f7449a82
2016-05-23 14:57:19 +00:00
Andrea Fercia
d5373c004c
Accessibility: the Thickbox "Close" control should always be a button.
...
Fix the last case where the "Close" control was still a link. All the other ones
were already changed in buttons.
Fixes #36267 .
git-svn-id: https://develop.svn.wordpress.org/trunk@37531 602fd350-edb4-49c9-b593-d223f7449a82
2016-05-23 10:29:44 +00:00
Dominik Schilling (ocean90)
bd1527d4ab
Template: In `wp_get_archives()` use `add_query_arg()` instead of `sprintf()` to build the archive URL.
...
Props tloureiro.
Fixes #36414 .
git-svn-id: https://develop.svn.wordpress.org/trunk@37530 602fd350-edb4-49c9-b593-d223f7449a82
2016-05-23 10:22:36 +00:00
Dominik Schilling (ocean90)
5ca8f56abf
Menus: Use new colors for error/info notices.
...
Props barryceelen.
Fixes #36857 .
git-svn-id: https://develop.svn.wordpress.org/trunk@37529 602fd350-edb4-49c9-b593-d223f7449a82
2016-05-23 09:39:13 +00:00
Dominik Schilling (ocean90)
4587dee582
Customize: Make sure that preview and return URLs are URLs.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@37527 602fd350-edb4-49c9-b593-d223f7449a82
2016-05-23 09:32:47 +00:00
Dominik Schilling (ocean90)
8fceb0deda
External Libraries: Update jQuery to 1.12.4.
...
Release post: https://blog.jquery.com/2016/05/20/jquery-1-12-4-and-2-2-4-released/
Changelog: https://github.com/jquery/jquery/compare/1.12.3...1.12.4
See [37433].
Fixes #36533 .
git-svn-id: https://develop.svn.wordpress.org/trunk@37526 602fd350-edb4-49c9-b593-d223f7449a82
2016-05-23 08:59:07 +00:00
Gary Pendergast
2d14d5abab
Database: `dbDelta()` will no longer try to downgrade the size of `TEXT` and `BLOB` columns.
...
When upgrading to `utf8mb4`, `TEXT` fields will be upgraded to `MEDIUMTEXT` (and likewise for all other `*TEXT` and `*BLOB` fields). This is to allow for the additional space requirements of `utf8mb4`.
On the subsequent upgrade, after the `utf8mb4` upgrade, `dbDelta()` would try and downgrade the fields to their original size again. At best, this it a waste of time, at worst, this could truncate any data larger than the original size. There's no harm in leaving them at their original size, so let's do that.
Fixes #36748 .
git-svn-id: https://develop.svn.wordpress.org/trunk@37525 602fd350-edb4-49c9-b593-d223f7449a82
2016-05-23 08:35:59 +00:00
Gary Pendergast
448896a2c7
Database: Remove some duplicate code.
...
`schema.php` was manually defining the character set/collation query, instead of using `wpdb::get_charset_collate()`.
Props sudar.
Fixes #35756 .
git-svn-id: https://develop.svn.wordpress.org/trunk@37524 602fd350-edb4-49c9-b593-d223f7449a82
2016-05-23 06:37:53 +00:00
Gary Pendergast
a09ea91d16
Database: Use the `utf8mb4_unicode_520_ci` collation, when available.
...
The `utf8mb4_unicode_520_ci` (Unicode Collation Algorithm 5.2.0, October 2010) collation is an improvement over `utf8mb4_unicode_ci` (UCA 4.0.0, November 2003).
There is no word on when MySQL will support later UCAs.
Fixes #32105 .
git-svn-id: https://develop.svn.wordpress.org/trunk@37523 602fd350-edb4-49c9-b593-d223f7449a82
2016-05-23 06:31:44 +00:00
Gary Pendergast
c231052280
Tests: Remove a test for a function that can't be tested.
...
`wpdb::init_charset()` doesn't lend itself to being tested, so the unit test added in [37521] won't work under most circumstances.
See #32405 .
git-svn-id: https://develop.svn.wordpress.org/trunk@37522 602fd350-edb4-49c9-b593-d223f7449a82
2016-05-23 06:26:01 +00:00
pento
4422aac17c
Database: Obey locale-specific `utf8` collation settings.
...
Some sites prefer to use locale-specific location settings. For example, the Swedish WordPress package use `utf8_swedish_ci`, instead of `utf8_unicode_ci`. When upgrading the connection to `utf8mb4`, we were overriding this to be `utf8mb4_unicode_ci`, instead of maintaining the use of the `_swedish_ci` variant.
The locale-specific collations do have extra collation rules just for that language, so it's useful to maintain compatibility.
Fixes #32405 .
git-svn-id: https://develop.svn.wordpress.org/trunk@37521 602fd350-edb4-49c9-b593-d223f7449a82
2016-05-23 05:53:02 +00:00
Weston Ruter
e9bed0f3a5
Customize: Replace invalid reference to `$_SERVER['customized']` with `$_POST['customized']`.
...
Introduced in r31421.
Fixes #36852 .
git-svn-id: https://develop.svn.wordpress.org/trunk@37520 602fd350-edb4-49c9-b593-d223f7449a82
2016-05-23 05:09:57 +00:00
Boone Gorges
dd70966885
Tests: `get_terms()` 'search' test should have more precise fixtures..
...
Without a fixture that does not match the search term, it's possible for the
test to pass even if the search clause isn't built properly.
See #13992 , #35381 .
git-svn-id: https://develop.svn.wordpress.org/trunk@37519 602fd350-edb4-49c9-b593-d223f7449a82
2016-05-23 03:25:51 +00:00
Drew Jaynes
d11f7ed391
Docs: Standardize filter docs in remaining wp-includes/* files to use third-person singular verbs per the inline documentation standards for PHP.
...
See #36913 .
git-svn-id: https://develop.svn.wordpress.org/trunk@37518 602fd350-edb4-49c9-b593-d223f7449a82
2016-05-22 18:49:05 +00:00
Drew Jaynes
422cdb28a1
Docs: Standardize filter docs in wp-includes/l10n.php to use third-person singular verbs per the inline documentation standards for PHP.
...
See #36913 .
git-svn-id: https://develop.svn.wordpress.org/trunk@37517 602fd350-edb4-49c9-b593-d223f7449a82
2016-05-22 18:47:37 +00:00
Drew Jaynes
4fd2c46d89
Docs: Standardize filter docs in wp-includes/feed.php to use third-person singular verbs per the inline documentation standards for PHP.
...
See #36913 .
git-svn-id: https://develop.svn.wordpress.org/trunk@37516 602fd350-edb4-49c9-b593-d223f7449a82
2016-05-22 18:46:29 +00:00
Drew Jaynes
0e34dac34a
Docs: Standardize filter docs in wp-includes/formatting.php to use third-person singular verbs per the inline documentation standards for PHP.
...
See #36913 .
git-svn-id: https://develop.svn.wordpress.org/trunk@37515 602fd350-edb4-49c9-b593-d223f7449a82
2016-05-22 18:44:38 +00:00
Drew Jaynes
57794c02d8
Docs: Standardize filter docs in wp-includes/class-http.php to use third-person singular verbs per the inline documentation standards for PHP.
...
See #36913 .
git-svn-id: https://develop.svn.wordpress.org/trunk@37514 602fd350-edb4-49c9-b593-d223f7449a82
2016-05-22 18:42:48 +00:00
Drew Jaynes
872e55281b
Docs: Standardize filter docs in wp-includes/embed.php to use third-person singular verbs per the inline documentation standards for PHP.
...
See #36913 .
git-svn-id: https://develop.svn.wordpress.org/trunk@37513 602fd350-edb4-49c9-b593-d223f7449a82
2016-05-22 18:41:51 +00:00
Drew Jaynes
53a58c6933
Docs: Standardize filter docs in wp-includes/comment.php to use third-person singular verbs per the inline documentation standards for PHP.
...
See #36913 .
git-svn-id: https://develop.svn.wordpress.org/trunk@37512 602fd350-edb4-49c9-b593-d223f7449a82
2016-05-22 18:40:47 +00:00
Drew Jaynes
1dc4b17e93
Docs: Standardize filter docs in wp-includes/ms-functions.php to use third-person singular verbs per the inline documentation standards for PHP.
...
See #36913 .
git-svn-id: https://develop.svn.wordpress.org/trunk@37511 602fd350-edb4-49c9-b593-d223f7449a82
2016-05-22 18:39:17 +00:00
Drew Jaynes
39908cb2bb
Docs: Standardize filter docs in wp-includes/functions.php to use third-person singular verbs per the inline documentation standards for PHP.
...
See #36913 .
git-svn-id: https://develop.svn.wordpress.org/trunk@37510 602fd350-edb4-49c9-b593-d223f7449a82
2016-05-22 18:35:24 +00:00
Drew Jaynes
f70d94a8e6
Docs: Standardize filter docs in wp-includes/query.php to use third-person singular verbs per the inline documentation standards for PHP.
...
See #36913 .
git-svn-id: https://develop.svn.wordpress.org/trunk@37509 602fd350-edb4-49c9-b593-d223f7449a82
2016-05-22 18:34:42 +00:00
Drew Jaynes
e66f4fc503
Docs: Standardize filter docs in wp-includes/pluggable.php to use third-person singular verbs per the inline documentation standards for PHP.
...
See #36913 .
git-svn-id: https://develop.svn.wordpress.org/trunk@37508 602fd350-edb4-49c9-b593-d223f7449a82
2016-05-22 18:34:03 +00:00
Drew Jaynes
a003f843e8
Docs: Standardize filter docs in wp-includes/option.php to use third-person singular verbs per the inline documentation standards for PHP.
...
See #36913 .
git-svn-id: https://develop.svn.wordpress.org/trunk@37507 602fd350-edb4-49c9-b593-d223f7449a82
2016-05-22 18:33:13 +00:00
Drew Jaynes
5c56dc4035
Docs: Standardize filter docs in wp-includes/taxonomy.php to use third-person singular verbs per the inline documentation standards for PHP.
...
See #36913 .
git-svn-id: https://develop.svn.wordpress.org/trunk@37506 602fd350-edb4-49c9-b593-d223f7449a82
2016-05-22 18:31:56 +00:00
Drew Jaynes
b9f3c04720
Docs: Standardize filter docs in wp-includes/media.php to use third-person singular verbs per the inline documentation standards for PHP.
...
See #36913 .
git-svn-id: https://develop.svn.wordpress.org/trunk@37505 602fd350-edb4-49c9-b593-d223f7449a82
2016-05-22 18:31:20 +00:00
Drew Jaynes
516fbd33b7
Docs: Standardize filter docs in wp-includes/post.php to use third-person singular verbs per the inline documentation standards for PHP.
...
See #36913 .
git-svn-id: https://develop.svn.wordpress.org/trunk@37504 602fd350-edb4-49c9-b593-d223f7449a82
2016-05-22 18:30:23 +00:00
Drew Jaynes
e16029e958
Docs: Standardize filter docs in wp-includes/user.php to use third-person singular verbs per the inline documentation standards for PHP.
...
See #36913 .
git-svn-id: https://develop.svn.wordpress.org/trunk@37503 602fd350-edb4-49c9-b593-d223f7449a82
2016-05-22 18:29:11 +00:00
Drew Jaynes
72acee3818
Docs: Standardize filter docs in wp-includes/post-thumbnail-template.php to use third-person singular verbs per the inline documentation standards for PHP.
...
See #36913 .
git-svn-id: https://develop.svn.wordpress.org/trunk@37502 602fd350-edb4-49c9-b593-d223f7449a82
2016-05-22 18:28:11 +00:00
Drew Jaynes
421522e8b8
Docs: Standardize filter docs in wp-includes/post-template.php to use third-person singular verbs per the inline documentation standards for PHP.
...
See #36913 .
git-svn-id: https://develop.svn.wordpress.org/trunk@37501 602fd350-edb4-49c9-b593-d223f7449a82
2016-05-22 18:27:48 +00:00
Drew Jaynes
d3ef49c8c7
Docs: Standardize filter docs in wp-includes/nav-menu-template.php to use third-person singular verbs per the inline documentation standards for PHP.
...
See #36913 .
git-svn-id: https://develop.svn.wordpress.org/trunk@37500 602fd350-edb4-49c9-b593-d223f7449a82
2016-05-22 18:27:06 +00:00
Drew Jaynes
64ac60b8d3
Docs: Standardize filter docs in wp-includes/link-template.php to use third-person singular verbs per the inline documentation standards for PHP.
...
See #36913 .
git-svn-id: https://develop.svn.wordpress.org/trunk@37499 602fd350-edb4-49c9-b593-d223f7449a82
2016-05-22 18:26:44 +00:00
Drew Jaynes
14ca371c1c
Docs: Standardize filter docs in wp-includes/general-template.php to use third-person singular verbs per the inline documentation standards for PHP.
...
See #36913 .
git-svn-id: https://develop.svn.wordpress.org/trunk@37498 602fd350-edb4-49c9-b593-d223f7449a82
2016-05-22 18:25:45 +00:00
Drew Jaynes
dcd01f597a
Docs: Standardize filter docs in wp-includes/comment-template.php to use third-person singular verbs per the inline documentation standards for PHP.
...
See #36913 .
git-svn-id: https://develop.svn.wordpress.org/trunk@37497 602fd350-edb4-49c9-b593-d223f7449a82
2016-05-22 18:25:17 +00:00
Drew Jaynes
74d96b738f
Docs: Standardize filter docs in wp-includes/category-template.php to use third-person singular verbs per the inline documentation standards for PHP.
...
See #36913 .
git-svn-id: https://develop.svn.wordpress.org/trunk@37496 602fd350-edb4-49c9-b593-d223f7449a82
2016-05-22 18:24:47 +00:00
Drew Jaynes
23ecafeae9
Docs: Standardize filter docs in wp-includes/author-template.php to use third-person singular verbs per the inline documentation standards for PHP.
...
See #36913 .
git-svn-id: https://develop.svn.wordpress.org/trunk@37495 602fd350-edb4-49c9-b593-d223f7449a82
2016-05-22 18:24:23 +00:00
Drew Jaynes
0c72120925
Docs: Standardize filter docs in wp-includes/bookmark-template.php to use third-person singular verbs per the inline documentation standards for PHP.
...
See #36913 .
git-svn-id: https://develop.svn.wordpress.org/trunk@37494 602fd350-edb4-49c9-b593-d223f7449a82
2016-05-22 18:23:31 +00:00
Drew Jaynes
d4df7a92d8
Docs: Standardize filter docs in wp-includes/theme.php to use third-person singular verbs per the inline documentation standards for PHP.
...
See #36913 .
git-svn-id: https://develop.svn.wordpress.org/trunk@37493 602fd350-edb4-49c9-b593-d223f7449a82
2016-05-22 18:17:38 +00:00
Drew Jaynes
c49afe285c
Docs: Standardize filter docs in core classes in wp-includes/* to use third-person singular verbs per the inline documentation standards for PHP.
...
See #36913 .
git-svn-id: https://develop.svn.wordpress.org/trunk@37492 602fd350-edb4-49c9-b593-d223f7449a82
2016-05-22 18:14:19 +00:00