Drew Jaynes
90cee037c2
Docs: Fix syntax for marking parameters optional in the DocBlock for is_active_widget().
...
See #32246 .
git-svn-id: https://develop.svn.wordpress.org/trunk@35990 602fd350-edb4-49c9-b593-d223f7449a82
2015-12-17 17:18:53 +00:00
Drew Jaynes
87653e2eb3
Docs: Add a missing summary, @since version, and parameter descriptions to the DocBlock for _register_widget_update_callback().
...
Introduced in [10798].
See #32246 .
git-svn-id: https://develop.svn.wordpress.org/trunk@35989 602fd350-edb4-49c9-b593-d223f7449a82
2015-12-17 17:15:53 +00:00
Drew Jaynes
b56bcec8cc
Docs: Add missing parameter and return descriptions to the DocBlock for _wp_get_user_contactmethods().
...
See #32246 .
git-svn-id: https://develop.svn.wordpress.org/trunk@35986 602fd350-edb4-49c9-b593-d223f7449a82
2015-12-17 16:40:18 +00:00
Drew Jaynes
ae560a7712
Docs: Add a missing summary and @since version to the DocBlock for _maybe_update_core().
...
Introduced in [10583].
See #32246 .
git-svn-id: https://develop.svn.wordpress.org/trunk@35985 602fd350-edb4-49c9-b593-d223f7449a82
2015-12-17 16:37:25 +00:00
Boone Gorges
22b0cb2029
Introduce 'tag-link-position-x' class to tag cloud links.
...
The new class describes the cardinal position of a link in the cloud, allowing
more fine-grained CSS and JS targeting.
Props Mte90, chmac.
Fixes #5172 .
git-svn-id: https://develop.svn.wordpress.org/trunk@35984 602fd350-edb4-49c9-b593-d223f7449a82
2015-12-17 16:26:06 +00:00
Drew Jaynes
34bb276504
Docs: Add a missing summary, parameter, and return notations to the DocBlock for strip_shortcode_tag().
...
Introduced in [18952].
See #32246 .
git-svn-id: https://develop.svn.wordpress.org/trunk@35982 602fd350-edb4-49c9-b593-d223f7449a82
2015-12-16 23:22:33 +00:00
Drew Jaynes
e635606cc1
Docs: Add a missing notation for the $args parameter in the DocBlock for wp_get_post_revisions().
...
See #32246 .
git-svn-id: https://develop.svn.wordpress.org/trunk@35981 602fd350-edb4-49c9-b593-d223f7449a82
2015-12-16 23:17:39 +00:00
Drew Jaynes
649644ff00
Docs: Add missing parameter and return notations to the DocBlock for _wp_sanitize_utf8_in_redirect().
...
See #32246 .
git-svn-id: https://develop.svn.wordpress.org/trunk@35980 602fd350-edb4-49c9-b593-d223f7449a82
2015-12-16 23:14:12 +00:00
Drew Jaynes
6135b8d055
Docs: Clarify the summary and add missing parameter notations to the DocBlock for _wp_delete_tax_menu_item().
...
See #32246 .
git-svn-id: https://develop.svn.wordpress.org/trunk@35979 602fd350-edb4-49c9-b593-d223f7449a82
2015-12-16 23:10:47 +00:00
Sergey Biryukov
72fb826044
Widgets: Remove extra quotes from widget title in WP_Widget_RSS, accidentally added in [33814].
...
Props ShinichiN.
Fixes #34978 for trunk.
git-svn-id: https://develop.svn.wordpress.org/trunk@35978 602fd350-edb4-49c9-b593-d223f7449a82
2015-12-16 22:34:55 +00:00
Pascal Birchler
ca529a52fd
Docs: Document the default value for the $validate parameter in the validate_current_theme hook docs.
...
See #32246 .
git-svn-id: https://develop.svn.wordpress.org/trunk@35976 602fd350-edb4-49c9-b593-d223f7449a82
2015-12-16 20:09:58 +00:00
Pascal Birchler
b041e9b189
Docs: Correct a parameter name for the validate_current_theme filter.
...
See #32246 .
git-svn-id: https://develop.svn.wordpress.org/trunk@35972 602fd350-edb4-49c9-b593-d223f7449a82
2015-12-16 19:35:20 +00:00
John Blackbourn
4ae4883372
Correct a parameter name for the allow_password_reset filter so its entry on developer.wordpress.org displays correctly.
...
See #32246
git-svn-id: https://develop.svn.wordpress.org/trunk@35969 602fd350-edb4-49c9-b593-d223f7449a82
2015-12-16 19:19:26 +00:00
Drew Jaynes
7a5128c4b0
Docs: Add missing parameter descriptions to the DocBlock for WP_Query::set_found_posts().
...
See #32246 .
git-svn-id: https://develop.svn.wordpress.org/trunk@35968 602fd350-edb4-49c9-b593-d223f7449a82
2015-12-16 18:10:59 +00:00
Drew Jaynes
d4b779fd47
Docs: Add a missing summary to the DocBlock for WP_Locale::rtl_src_admin_notice().
...
See #32246 .
git-svn-id: https://develop.svn.wordpress.org/trunk@35967 602fd350-edb4-49c9-b593-d223f7449a82
2015-12-16 18:07:29 +00:00
Drew Jaynes
d8aea7de83
Docs: Add missing DocBlocks, including summaries and @since versions, to the __construct() and init() methods in WP_Scripts.
...
See #32246 .
git-svn-id: https://develop.svn.wordpress.org/trunk@35965 602fd350-edb4-49c9-b593-d223f7449a82
2015-12-16 17:47:07 +00:00
Drew Jaynes
193c0fe9a2
Docs: Add a missing summary, @since version, and parameter descriptions to the DocBlock for wp_xmlrpc_server::pingback_error().
...
Introduced in [23329]. Also corrects return descriptions for two deprecated methods.
See #32246 .
git-svn-id: https://develop.svn.wordpress.org/trunk@35964 602fd350-edb4-49c9-b593-d223f7449a82
2015-12-16 17:37:33 +00:00
Drew Jaynes
62d70a58a3
Docs: Add a missing summary, @since version, and parameter descriptions to the DocBlock for wp_xmlrpc_server::add_enclosure_if_new().
...
Introduced in [10383].
See #32246 .
git-svn-id: https://develop.svn.wordpress.org/trunk@35963 602fd350-edb4-49c9-b593-d223f7449a82
2015-12-16 17:31:10 +00:00
Drew Jaynes
86d78d3975
Docs: Add missing notations for the unused $args parameter in the blogger_getTemplate() and blogger_setTemplate() methods in wp_xmlrpc_server.
...
See #32246 .
git-svn-id: https://develop.svn.wordpress.org/trunk@35962 602fd350-edb4-49c9-b593-d223f7449a82
2015-12-16 17:25:02 +00:00
Drew Jaynes
7b51c13f17
Docs: Add missing property and method summaries in DocBlocks for Walker_PageDropdown.
...
See #32246 .
git-svn-id: https://develop.svn.wordpress.org/trunk@35961 602fd350-edb4-49c9-b593-d223f7449a82
2015-12-16 16:35:11 +00:00
Sergey Biryukov
d727e3b516
KSES: Allow the reversed attribute for <ol>.
...
Props lancewillett.
Fixes #35079 .
git-svn-id: https://develop.svn.wordpress.org/trunk@35960 602fd350-edb4-49c9-b593-d223f7449a82
2015-12-16 09:53:18 +00:00
Sergey Biryukov
959f377c3e
I18N: Add a unit test for before_last_bar().
...
Props realloc.
Fixes #35073 .
git-svn-id: https://develop.svn.wordpress.org/trunk@35959 602fd350-edb4-49c9-b593-d223f7449a82
2015-12-16 08:03:38 +00:00
Drew Jaynes
a9d3c9cc91
Docs: Add a missing notation for the $args parameter in the DocBlock for wp_xmlrpc_server::_multisite_getUsersBlogs().
...
Also adds a missing `@since` version. The method was introduced in [12852].
See #32246 .
git-svn-id: https://develop.svn.wordpress.org/trunk@35957 602fd350-edb4-49c9-b593-d223f7449a82
2015-12-16 05:48:10 +00:00
Drew Jaynes
f40efb487a
Docs: Add a missing summary and @since version to the DocBlock for wp_xmlrpc_server::serve_request().
...
Introduced in [11789].
See #32246 .
git-svn-id: https://develop.svn.wordpress.org/trunk@35956 602fd350-edb4-49c9-b593-d223f7449a82
2015-12-16 05:42:11 +00:00
Drew Jaynes
57aa67b2cf
Docs: Add missing summaries and @since versions to DocBlocks for the _get_display_callback(), _get_update_callback(), and _get_form_callback() methods in WP_Widget.
...
Introduced in [10764].
See #32246 .
git-svn-id: https://develop.svn.wordpress.org/trunk@35955 602fd350-edb4-49c9-b593-d223f7449a82
2015-12-16 05:38:46 +00:00
Drew Jaynes
228c200b35
Docs: Add variadic markers to the optional $object_id parameter notation for WP_User::has_cap().
...
See #32246 .
git-svn-id: https://develop.svn.wordpress.org/trunk@35954 602fd350-edb4-49c9-b593-d223f7449a82
2015-12-16 05:31:27 +00:00
Sergey Biryukov
333f1c38ea
I18N: After [35884], remove html_entity_decode() for the thousands separator in WP_Locale::init(), use the entity directly.
...
We can't `get_option( 'blog_charset' )` here, because the database may not be available.
Fixes #10373 .
git-svn-id: https://develop.svn.wordpress.org/trunk@35951 602fd350-edb4-49c9-b593-d223f7449a82
2015-12-15 21:34:15 +00:00
Rachel Baker
c2943ef70a
Comments: Use an integer as the default value for comment_post_ID in wp_insert_comment to match database column.
...
Props MikeHansenMe, juanfra, rabmalin.
Fixes #34956
git-svn-id: https://develop.svn.wordpress.org/trunk@35948 602fd350-edb4-49c9-b593-d223f7449a82
2015-12-15 15:12:50 +00:00
Weston Ruter
d33deeeb74
Customize: Ensure that "Change" button appears when there are only 2 themes.
...
Fixes defect introduced in [35535].
Props igmoweb.
See #34549 .
Fixes #35081 .
git-svn-id: https://develop.svn.wordpress.org/trunk@35943 602fd350-edb4-49c9-b593-d223f7449a82
2015-12-15 01:20:49 +00:00
Drew Jaynes
6de1483105
Docs: Add missing parameter and return descriptions to the DocBlock for WP_Rewrite::iis7_url_rewrite_rules().
...
See #32246 .
git-svn-id: https://develop.svn.wordpress.org/trunk@35941 602fd350-edb4-49c9-b593-d223f7449a82
2015-12-14 23:57:09 +00:00
Drew Jaynes
83b882ebe2
Docs: Add missing parameter documentation for the $args parameter in the DocBlock for WP_Http_Streams::test().
...
See #32246 .
git-svn-id: https://develop.svn.wordpress.org/trunk@35940 602fd350-edb4-49c9-b593-d223f7449a82
2015-12-14 23:53:44 +00:00
Drew Jaynes
ec3f5efbf9
Docs: Remove an extra 'arguments' introduced in [35938].
...
See #32246 .
git-svn-id: https://develop.svn.wordpress.org/trunk@35939 602fd350-edb4-49c9-b593-d223f7449a82
2015-12-14 23:51:50 +00:00
Drew Jaynes
43857268a9
Docs: Add missing parameter documentation for the $args parameter in the DocBlock for WP_Http_Curl::test().
...
See #32246 .
git-svn-id: https://develop.svn.wordpress.org/trunk@35938 602fd350-edb4-49c9-b593-d223f7449a82
2015-12-14 23:42:54 +00:00
Drew Jaynes
e20a31a888
Docs: Add missing parameter and return descriptions to the DocBlock for WP_Http_Curl::stream_body().
...
See #32246 .
git-svn-id: https://develop.svn.wordpress.org/trunk@35937 602fd350-edb4-49c9-b593-d223f7449a82
2015-12-14 23:40:55 +00:00
Drew Jaynes
5effdb5445
Docs: Clarify documentation for WP_Role::has_cap() to more clearing indicate that the method checks for capabilities against the role rather than the user.
...
Also updates syntax in the DocBlock summary and description.
Props GunGeekATX for the initial patch.
Fixes #35080 .
git-svn-id: https://develop.svn.wordpress.org/trunk@35935 602fd350-edb4-49c9-b593-d223f7449a82
2015-12-14 20:04:39 +00:00
Boone Gorges
42fe7609c7
Omit cpage query var in comment link if comment pagination is disabled.
...
WP 4.4 changed the way comment pagination is calculated. See #8071 . In the
context of `get_comment_link()`, these changes introduced a regression that
causes `cpage` (or its pretty-permalink correlate `comment-page-x`) to appear
in comment links when comment pagination is disabled. The current changeset
fixes the regression.
Fixes #34946 .
git-svn-id: https://develop.svn.wordpress.org/trunk@35933 602fd350-edb4-49c9-b593-d223f7449a82
2015-12-14 19:45:45 +00:00
Boone Gorges
4732139799
Don't use array_merge() when building comment children arrays.
...
`array_merge()` is much slower than building the combined array using a
`foreach` loop. The performance difference was causing a speed regression with
the `get_children()` functionality introduced in 4.4.
Props rogerhub.
Fixes #35025 .
git-svn-id: https://develop.svn.wordpress.org/trunk@35931 602fd350-edb4-49c9-b593-d223f7449a82
2015-12-14 19:36:05 +00:00
Drew Jaynes
293de63969
Docs: Add missing parameter and return descriptions to the DocBlock for WP_Http_Curl::stream_headers().
...
See #32246 .
git-svn-id: https://develop.svn.wordpress.org/trunk@35930 602fd350-edb4-49c9-b593-d223f7449a82
2015-12-14 19:20:58 +00:00
Drew Jaynes
b3f7fd1741
Docs: Add more complete property and method documentation for Walker_Page.
...
* Adds missing DocBlock summaries
* Adds missing `@param` descriptions
* Marks some optional parameters as such
* Reorders some DocBlock tags
See #32246 .
git-svn-id: https://develop.svn.wordpress.org/trunk@35929 602fd350-edb4-49c9-b593-d223f7449a82
2015-12-14 18:05:06 +00:00
Drew Jaynes
3ea73eb0d9
Docs: Add a missing description for the $id parameter in the DocBlock for Walker_PageDropdown::start_el(), which is implemented by Walker but unused by the subclass method.
...
Also marks the other optional parameters as such.
See #32246 .
git-svn-id: https://develop.svn.wordpress.org/trunk@35928 602fd350-edb4-49c9-b593-d223f7449a82
2015-12-14 17:53:49 +00:00
Drew Jaynes
0794999be8
Docs: Document the $id parameter for Walker_Comment::start_el(), which is implemented by Walker but unused in the subclass method.
...
See #32246 .
git-svn-id: https://develop.svn.wordpress.org/trunk@35927 602fd350-edb4-49c9-b593-d223f7449a82
2015-12-14 17:49:22 +00:00
Drew Jaynes
4f765b688a
Docs: Document the $id parameter for Walker_CategoryDropdown::start_el(), which is implemented by Walker but unused in the subclass method.
...
See #32246 .
git-svn-id: https://develop.svn.wordpress.org/trunk@35926 602fd350-edb4-49c9-b593-d223f7449a82
2015-12-14 17:46:27 +00:00
Andrea Fercia
e17a5cee94
Authentication modal dialog: the spinner should disappear when loading is done.
...
Also, when using spinners as background images, the re-painted area should be the
smallest possible one. See similar performance issue in #33311 .
Fixes #34951 .
git-svn-id: https://develop.svn.wordpress.org/trunk@35925 602fd350-edb4-49c9-b593-d223f7449a82
2015-12-14 16:39:48 +00:00
Sergey Biryukov
3cf74baa5b
I18N: Remove <strong> tags from translatable strings in WP_Customize_Manager::register_controls() and WP_Customize_Header_Image_Control::render_content().
...
Add translator comments.
See #35039 .
git-svn-id: https://develop.svn.wordpress.org/trunk@35923 602fd350-edb4-49c9-b593-d223f7449a82
2015-12-14 12:53:37 +00:00
Dion Hulse
7b273d6a5c
Update random_compat to latest master (~1.1.5)
...
Changes:
* Checks `disable_classes` for `COM()` before using to avoid PHP Warnings
* Uses `stream_set_chunk_size()` to avoid reading 8KiB from `/dev/urandom` unintentionally.
See #34948
git-svn-id: https://develop.svn.wordpress.org/trunk@35922 602fd350-edb4-49c9-b593-d223f7449a82
2015-12-14 07:45:13 +00:00
Sergey Biryukov
c2d8c86b93
Docs: Capitalize 'URL' correctly in the_guid() DocBlock. Fix a typo.
...
See #32246 .
git-svn-id: https://develop.svn.wordpress.org/trunk@35920 602fd350-edb4-49c9-b593-d223f7449a82
2015-12-14 05:20:25 +00:00
Dion Hulse
f9cd8c4d15
HTTP: Partially revert [34283] which removed the 1024bit certificates from our trust store.
...
Most browsers no longer trust 1024bit certificates, or certificates signed by them, instead verifying them by a trusted intermediate or a cross-sign from another trusted certificate.
Unfortunately, as it turns out, OpenSSL prior to 1.0.1g cannot correctly handle certificates chains such as this, even if one of the intermediates is trusted.
The solution is that we need to continue to trust the 1024bit legacy root certificates forthe foreseeable future
This adds the following certificates back into our trust store:
{{{
GTE CyberTrust Global Root
Thawte Server CA
Thawte Premium Server CA
Verisign Class 3 Public Primary Certification Authority
Verisign Class 3 Public Primary Certification Authority - G2
ValiCert Class 1 VA
ValiCert Class 2 VA
RSA Root Certificate 1
Entrust.net Secure Server CA
Equifax Secure Global eBusiness CA
Equifax Secure eBusiness CA 1
America Online Root Certification Authority 1
America Online Root Certification Authority 2
NetLock Business (Class B) Root
NetLock Express (Class C) Root
Verisign Class 3 Public Primary Certification Authority
}}}
Props rmccue
Fixes #34935 for trunk.
git-svn-id: https://develop.svn.wordpress.org/trunk@35919 602fd350-edb4-49c9-b593-d223f7449a82
2015-12-14 05:19:24 +00:00
John Blackbourn
11b969c95b
Correct some @param doc names in the WP_Tax_Query and WP_User_Query classes.
...
See #32246
git-svn-id: https://develop.svn.wordpress.org/trunk@35916 602fd350-edb4-49c9-b593-d223f7449a82
2015-12-14 02:49:54 +00:00
John Blackbourn
8c6d4d5d83
Correct a parameter name in the @param docs for get_home_url().
...
See #32246
git-svn-id: https://develop.svn.wordpress.org/trunk@35915 602fd350-edb4-49c9-b593-d223f7449a82
2015-12-14 02:44:03 +00:00
John Blackbourn
860aa2dd98
Add missing @param docs to wp_safe_redirect() and wp_sanitize_redirect().
...
See #32246
git-svn-id: https://develop.svn.wordpress.org/trunk@35914 602fd350-edb4-49c9-b593-d223f7449a82
2015-12-14 02:42:29 +00:00