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
Andrea Fercia
660608f219
Accessibility: Correctly associate the search input label in the new Themes favorites tab introduced in [35527].
...
Fixes #35122 .
git-svn-id: https://develop.svn.wordpress.org/trunk@35977 602fd350-edb4-49c9-b593-d223f7449a82
2015-12-16 22:29:38 +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
f8909ca7d6
Docs: Clarify the return value for wp_create_categories()
.
...
See #32246 .
git-svn-id: https://develop.svn.wordpress.org/trunk@35975 602fd350-edb4-49c9-b593-d223f7449a82
2015-12-16 19:58:40 +00:00
Pascal Birchler
9dbca6b6c3
Docs: Correct a parameter name for the press_this_redirect_in_parent
filter.
...
See #32246 .
git-svn-id: https://develop.svn.wordpress.org/trunk@35974 602fd350-edb4-49c9-b593-d223f7449a82
2015-12-16 19:42:46 +00:00
Pascal Birchler
505fc319c7
Docs: Correct a parameter name for the force_filtered_html_on_import
filter.
...
See #32246 .
git-svn-id: https://develop.svn.wordpress.org/trunk@35973 602fd350-edb4-49c9-b593-d223f7449a82
2015-12-16 19:39:34 +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
Pascal Birchler
44f82fcc70
Docs: Correct a parameter name for the allow_subdirectory_install
filter.
...
See #32246 .
git-svn-id: https://develop.svn.wordpress.org/trunk@35971 602fd350-edb4-49c9-b593-d223f7449a82
2015-12-16 19:31:30 +00:00
Pascal Birchler
9a9e2f6a5a
Docs: Correct a parameter name for the do_mu_upgrade
filter.
...
See #32246 .
git-svn-id: https://develop.svn.wordpress.org/trunk@35970 602fd350-edb4-49c9-b593-d223f7449a82
2015-12-16 19:29:12 +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
036f50b7d2
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 .
git-svn-id: https://develop.svn.wordpress.org/trunk@35966 602fd350-edb4-49c9-b593-d223f7449a82
2015-12-16 17:58:35 +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
Sergey Biryukov
b5b92d9cbd
Accessibility: Add missing label for the theme upload input.
...
See [11152] for plugins.
Props mercime.
Fixes #35113 .
git-svn-id: https://develop.svn.wordpress.org/trunk@35958 602fd350-edb4-49c9-b593-d223f7449a82
2015-12-16 07:55:31 +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
Andrea Fercia
e222e3e273
Accessibility: Remove title attributes from the Plugin Cards on the Plugin install screen.
...
Fixes #35050 .
git-svn-id: https://develop.svn.wordpress.org/trunk@35953 602fd350-edb4-49c9-b593-d223f7449a82
2015-12-15 22:32:15 +00:00
Andrea Fercia
e7296c25b9
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 .
git-svn-id: https://develop.svn.wordpress.org/trunk@35952 602fd350-edb4-49c9-b593-d223f7449a82
2015-12-15 22:17:40 +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
Andrea Fercia
8da5918fbc
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 .
git-svn-id: https://develop.svn.wordpress.org/trunk@35947 602fd350-edb4-49c9-b593-d223f7449a82
2015-12-15 13:24:13 +00:00
Dion Hulse
9249f66609
Filesystem: Avoid PHP warnings when using the FTP Sockets class.
...
See #35026
git-svn-id: https://develop.svn.wordpress.org/trunk@35946 602fd350-edb4-49c9-b593-d223f7449a82
2015-12-15 03:11:17 +00:00
Dion Hulse
5564545ea8
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
git-svn-id: https://develop.svn.wordpress.org/trunk@35944 602fd350-edb4-49c9-b593-d223f7449a82
2015-12-15 02:35:26 +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
Dion Hulse
f6972f0fae
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
git-svn-id: https://develop.svn.wordpress.org/trunk@35942 602fd350-edb4-49c9-b593-d223f7449a82
2015-12-15 00:28:59 +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
Andrea Fercia
f20dc0f0ee
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 .
git-svn-id: https://develop.svn.wordpress.org/trunk@35924 602fd350-edb4-49c9-b593-d223f7449a82
2015-12-14 16:06:55 +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
6b718eaa83
Correct the position of the $alt
parameter's @param
doc in image_add_caption()
.
...
See #32246
git-svn-id: https://develop.svn.wordpress.org/trunk@35918 602fd350-edb4-49c9-b593-d223f7449a82
2015-12-14 03:00:09 +00:00
jeremyfelt
5f5898d200
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 .
git-svn-id: https://develop.svn.wordpress.org/trunk@35917 602fd350-edb4-49c9-b593-d223f7449a82
2015-12-14 02:58:22 +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
John Blackbourn
cb068034ee
Add missing @param
doc to wp_hash()
.
...
See #32246
git-svn-id: https://develop.svn.wordpress.org/trunk@35913 602fd350-edb4-49c9-b593-d223f7449a82
2015-12-14 02:38:10 +00:00
John Blackbourn
f4c5b65138
Add missing variadic markers to the optional parameters of do_action()
and apply_filters()
.
...
See #32246
git-svn-id: https://develop.svn.wordpress.org/trunk@35912 602fd350-edb4-49c9-b593-d223f7449a82
2015-12-14 02:35:29 +00:00
John Blackbourn
823c734524
Revert [35910].
...
git-svn-id: https://develop.svn.wordpress.org/trunk@35911 602fd350-edb4-49c9-b593-d223f7449a82
2015-12-14 02:34:42 +00:00
John Blackbourn
70d44588ce
git-svn-id: https://develop.svn.wordpress.org/trunk@35910 602fd350-edb4-49c9-b593-d223f7449a82
2015-12-14 02:32:04 +00:00
John Blackbourn
a8ee60eebc
Add missing @param
doc to wp_check_password()
and update the check_password
filter docs.
...
See #32246
git-svn-id: https://develop.svn.wordpress.org/trunk@35909 602fd350-edb4-49c9-b593-d223f7449a82
2015-12-14 02:29:04 +00:00
John Blackbourn
69c27ec4fc
Correct the name of the @param
doc for WP_Query::parse_tax_query()
.
...
See #32246
git-svn-id: https://develop.svn.wordpress.org/trunk@35908 602fd350-edb4-49c9-b593-d223f7449a82
2015-12-14 02:07:14 +00:00
John Blackbourn
29b1f4484e
Add a missing @param
doc to wp_update_term_count()
.
...
See #32246
git-svn-id: https://develop.svn.wordpress.org/trunk@35907 602fd350-edb4-49c9-b593-d223f7449a82
2015-12-14 02:03:21 +00:00
John Blackbourn
bc4e0a1c4e
Remove a redundant @param
tag from the_taxonomies()
.
...
See #32246
git-svn-id: https://develop.svn.wordpress.org/trunk@35906 602fd350-edb4-49c9-b593-d223f7449a82
2015-12-14 02:01:43 +00:00
Andrea Fercia
a366c4fde3
Accessibility: remove title attributes from the available headers in the (no more used) custom-header.php
screen.
...
Fixes #35062 .
git-svn-id: https://develop.svn.wordpress.org/trunk@35905 602fd350-edb4-49c9-b593-d223f7449a82
2015-12-14 00:08:24 +00:00
Pascal Birchler
94da64bff3
Docs: Improve documentation for format_for_editor()
and the 'the_editor_content'
filter it is hooked to.
...
Props AramZS for initial patch.
Fixes #34866 .
git-svn-id: https://develop.svn.wordpress.org/trunk@35904 602fd350-edb4-49c9-b593-d223f7449a82
2015-12-13 19:21:32 +00:00
Sergey Biryukov
81a9fe9c09
I18N: Use better context for post statuses.
...
See #35054 .
git-svn-id: https://develop.svn.wordpress.org/trunk@35903 602fd350-edb4-49c9-b593-d223f7449a82
2015-12-13 19:17:10 +00:00
Sergey Biryukov
4e130ed78f
I18N: Use better context for comment statuses.
...
See #35054 .
git-svn-id: https://develop.svn.wordpress.org/trunk@35902 602fd350-edb4-49c9-b593-d223f7449a82
2015-12-13 19:10:04 +00:00
Sergey Biryukov
3068a5b333
I18N: Add missing context for 'Trash' strings.
...
Fixes #35054 .
git-svn-id: https://develop.svn.wordpress.org/trunk@35901 602fd350-edb4-49c9-b593-d223f7449a82
2015-12-13 19:02:30 +00:00
Sergey Biryukov
f5d2251f50
List tables: After [34006], remove unnecessary context from 'View' string, for consistency with other strings in the same context.
...
Props MikeHansenMe, subharanjan.
Fixes #34914 .
git-svn-id: https://develop.svn.wordpress.org/trunk@35900 602fd350-edb4-49c9-b593-d223f7449a82
2015-12-13 18:36:22 +00:00
Sergey Biryukov
b0f06b48aa
Customizer: Change "Display Header Text" checkbox label to "Display Site Title and Tagline", to make it clearer that it affects both settings.
...
Props juanfra, vlad.olaru.
Fixes #31829 .
git-svn-id: https://develop.svn.wordpress.org/trunk@35899 602fd350-edb4-49c9-b593-d223f7449a82
2015-12-13 17:49:51 +00:00
Sergey Biryukov
94005d9402
Credits: After [26354], replace another instance of the "Contributing to WordPress" Codex link with http://make.wordpress.org/ .
...
Remove redundant translator comments, add comments for placeholders instead.
See #25806 .
git-svn-id: https://develop.svn.wordpress.org/trunk@35898 602fd350-edb4-49c9-b593-d223f7449a82
2015-12-13 15:23:54 +00:00
Pascal Birchler
5d302ca4d2
Login: After [34213], use the login_post
scheme again for login forms.
...
See #34925 .
git-svn-id: https://develop.svn.wordpress.org/trunk@35897 602fd350-edb4-49c9-b593-d223f7449a82
2015-12-13 14:02:04 +00:00
Pascal Birchler
d0ef84ea8c
Admin: After [35128], make the 'Configure' link work again for dashboard widgets.
...
See #34987 .
git-svn-id: https://develop.svn.wordpress.org/trunk@35896 602fd350-edb4-49c9-b593-d223f7449a82
2015-12-13 13:56:49 +00:00
Sergey Biryukov
5cae9f6aba
Docs: Improve documentation for wp_count_terms()
.
...
Props bordoni, swissspidy.
Fixes #34861 .
git-svn-id: https://develop.svn.wordpress.org/trunk@35895 602fd350-edb4-49c9-b593-d223f7449a82
2015-12-13 12:10:26 +00:00
Andrea Fercia
6e3838503c
Dashboard: remove not clickable spaces between icons and links in the "At a Glance" panel. Also, some CSS cleanup.
...
Props 5um17 for the initial patch.
Fixes #27813 .
git-svn-id: https://develop.svn.wordpress.org/trunk@35894 602fd350-edb4-49c9-b593-d223f7449a82
2015-12-13 12:00:12 +00:00
Jeremy Felt
03310b2e22
MS: Update "Add New Site" address description text for accuracy.
...
Add hyphens to the list of allowed characters and add the `description` class to helper text paragraph tag.
Props thomaswm for the initial patch.
Fixes #26388 .
git-svn-id: https://develop.svn.wordpress.org/trunk@35893 602fd350-edb4-49c9-b593-d223f7449a82
2015-12-13 03:12:11 +00:00
Mel Choyce
e9b376bfe4
Customizer: Bold pixel value under Site Icon to match the Custom Header instructions.
...
Props karmatosed.
Fixes #35039 .
git-svn-id: https://develop.svn.wordpress.org/trunk@35892 602fd350-edb4-49c9-b593-d223f7449a82
2015-12-13 00:13:12 +00:00
Joe Hoyle
a375d93001
REST API: Improve formatting of failed validation errors.
...
If a validation_callback returns a WP_Error it should give the same response format as if it returned `false`. This makes programmatically reading the validation errors better.
Props bradyvercher for initial patch.
Fixes #35028 .
git-svn-id: https://develop.svn.wordpress.org/trunk@35890 602fd350-edb4-49c9-b593-d223f7449a82
2015-12-12 18:22:02 +00:00
Drew Jaynes
cca457a958
Docs: Document the optional $args
parameter in wp_delete_term()
in the hash notation style.
...
Props slushman, swissspidy.
Fixes #34862 .
git-svn-id: https://develop.svn.wordpress.org/trunk@35889 602fd350-edb4-49c9-b593-d223f7449a82
2015-12-12 16:26:42 +00:00
Sergey Biryukov
ddf45b0142
Docs: Improve documentation for request_filesystem_credentials()
and the corresponding filter.
...
Props swissspidy, danhgilmore, slushman.
Fixes #34858 .
git-svn-id: https://develop.svn.wordpress.org/trunk@35888 602fd350-edb4-49c9-b593-d223f7449a82
2015-12-12 16:15:07 +00:00
Sergey Biryukov
7dbca374a6
Docs: Remove @todo
entry from get_archives_link()
, as all optional arguments are now documented.
...
See #34856 .
git-svn-id: https://develop.svn.wordpress.org/trunk@35887 602fd350-edb4-49c9-b593-d223f7449a82
2015-12-12 15:54:11 +00:00
Sergey Biryukov
9689976129
Docs: Document optional parameters in get_archives_link()
.
...
Props kiranpotphode.
Fixes #34856 .
git-svn-id: https://develop.svn.wordpress.org/trunk@35886 602fd350-edb4-49c9-b593-d223f7449a82
2015-12-12 15:51:57 +00:00
Pascal Birchler
4e58589669
Docs: Fix some minor DocBlock alignment issues.
...
See #32246 .
git-svn-id: https://develop.svn.wordpress.org/trunk@35885 602fd350-edb4-49c9-b593-d223f7449a82
2015-12-12 15:36:36 +00:00
Sergey Biryukov
fd30730949
I18N: In WP_Locale::init()
, replace space as a thousands separator with a non-breaking space.
...
* If PHP version is 5.4.0 or greater, a regular space as a thousands separator is replaced with a non-breaking space, decoded using the `blog_charset` option.
* If PHP version is 5.2.x or 5.3.x, ` ` or ` ` as a thousands separator is replaced with a regular space, as multiple bytes are not supported there.
Fixes #10373 .
git-svn-id: https://develop.svn.wordpress.org/trunk@35884 602fd350-edb4-49c9-b593-d223f7449a82
2015-12-12 02:05:37 +00:00
Sergey Biryukov
2bfa87c2df
Editor: Move 'Password protected' and 'Private' options description directly after 'Visibility' setting description.
...
Props christophherr.
Fixes #34919 .
git-svn-id: https://develop.svn.wordpress.org/trunk@35883 602fd350-edb4-49c9-b593-d223f7449a82
2015-12-12 01:55:07 +00:00
Sergey Biryukov
c81f71b550
Docs: Correct wp_debug_mode()
description to clarify that WP_DEBUG_DISPLAY
is true by default.
...
Props jrf.
Fixes #34960 .
git-svn-id: https://develop.svn.wordpress.org/trunk@35882 602fd350-edb4-49c9-b593-d223f7449a82
2015-12-12 01:48:41 +00:00
Sergey Biryukov
e7287de7f3
Fix typo in wp-admin/setup-config.php
.
...
Props obrienlabs.
Fixes #34916 .
git-svn-id: https://develop.svn.wordpress.org/trunk@35881 602fd350-edb4-49c9-b593-d223f7449a82
2015-12-12 01:44:56 +00:00
Sergey Biryukov
bbce167f29
I18N: In wp_maybe_decline_date()
, bail early if translation functions are not available, e.g. in SHORTINIT
mode.
...
Fixes #34967 for trunk.
git-svn-id: https://develop.svn.wordpress.org/trunk@35880 602fd350-edb4-49c9-b593-d223f7449a82
2015-12-12 01:41:24 +00:00
Sergey Biryukov
d1b6832295
Revert [35878].
...
See #34967 .
git-svn-id: https://develop.svn.wordpress.org/trunk@35879 602fd350-edb4-49c9-b593-d223f7449a82
2015-12-12 01:40:06 +00:00
Sergey Biryukov
27f35b5675
I18N: In wp_maybe_decline_date()
, bail early if translation functions are not available, e.g. in SHORTINIT
mode.
...
Fixes #34967 for trunk.
git-svn-id: https://develop.svn.wordpress.org/trunk@35878 602fd350-edb4-49c9-b593-d223f7449a82
2015-12-12 01:34:33 +00:00
Drew Jaynes
7493d90f96
Docs: Update the summary for the comment_form_fields
hook docs to explicitly mention inclusion of the textarea element as a filterable element.
...
Previously [35723]
Props bappidgreat.
Fixes #34973 .
git-svn-id: https://develop.svn.wordpress.org/trunk@35877 602fd350-edb4-49c9-b593-d223f7449a82
2015-12-12 01:06:03 +00:00
John Blackbourn
9c354378ff
Avoid a PHP notice when trying to access the post_parent
property of hierarchical post type nav menu items.
...
FIxes #34446
git-svn-id: https://develop.svn.wordpress.org/trunk@35876 602fd350-edb4-49c9-b593-d223f7449a82
2015-12-12 01:05:27 +00:00
Andrea Fercia
4dfb95179a
When editing terms, properly display an admin notice-warning
when tag_ID
is empty.
...
Also, avoids two related PHP notices when empty or not set (and thus the global `$tag` is a WP_Error object).
Fixes : #34515 .
git-svn-id: https://develop.svn.wordpress.org/trunk@35875 602fd350-edb4-49c9-b593-d223f7449a82
2015-12-11 22:48:49 +00:00
Pascal Birchler
5a445d7515
Admin Menu: Deprecate add_object_page()
and add_utility_page()
.
...
These functions are not used in core and are just wrappers for `add_menu_page()`.
Fixes #23108 .
git-svn-id: https://develop.svn.wordpress.org/trunk@35874 602fd350-edb4-49c9-b593-d223f7449a82
2015-12-11 22:11:03 +00:00
Pascal Birchler
64b89c09f0
Dashboard: Do not show "Search Engines Discouraged" text when the blog_public
option is not set.
...
Search engines are only discouraged from indexing the site when the option is explicitly set to `0`.
Fixes #34860 .
git-svn-id: https://develop.svn.wordpress.org/trunk@35873 602fd350-edb4-49c9-b593-d223f7449a82
2015-12-11 22:02:27 +00:00
Pascal Birchler
410aa27b1d
Passwords: Hide weak password confirmation checkbox when password strength improves.
...
Props subharanjan for initial patch.
Fixes #34950 .
git-svn-id: https://develop.svn.wordpress.org/trunk@35870 602fd350-edb4-49c9-b593-d223f7449a82
2015-12-11 21:53:29 +00:00
John Blackbourn
eaa8863723
Correct the hash notation documentation introduced in [34891].
...
See #32147
git-svn-id: https://develop.svn.wordpress.org/trunk@35869 602fd350-edb4-49c9-b593-d223f7449a82
2015-12-11 20:15:54 +00:00
Drew Jaynes
91f343c461
Docs: Remove indentation from a wrapped line in the DocBlock description for get_post_type_labels()
to prevent incorrect formatting when parsed.
...
With the false indentation in place, the parser for the Code Reference incorrectly interprets it as a block quote.
Fixes #35019 .
git-svn-id: https://develop.svn.wordpress.org/trunk@35868 602fd350-edb4-49c9-b593-d223f7449a82
2015-12-11 18:41:37 +00:00
Sergey Biryukov
e01a52e878
Post Template: Pass the post ID to the_guid
and get_the_guid
filters.
...
Props danielbachhuber for initial patch.
Fixes #35015 .
git-svn-id: https://develop.svn.wordpress.org/trunk@35867 602fd350-edb4-49c9-b593-d223f7449a82
2015-12-11 16:38:15 +00:00
Andrea Fercia
d0da333cf0
Accessibility: on the Updates screen, remove a redundant title attribute.
...
Removes the title attribute from the Plugin details link and adds the Plugin name hidden with `screen-reader-text` within the link text.
Props Cheffheid.
Fixes #35001 .
git-svn-id: https://develop.svn.wordpress.org/trunk@35866 602fd350-edb4-49c9-b593-d223f7449a82
2015-12-11 16:31:06 +00:00
Drew Jaynes
fb5997f206
Administration: Improve the message displayed in the login form modal when a user's session has expired.
...
Props obrienlabs.
Fixes #34340 .
git-svn-id: https://develop.svn.wordpress.org/trunk@35865 602fd350-edb4-49c9-b593-d223f7449a82
2015-12-11 16:00:36 +00:00
Drew Jaynes
640599e8f5
Docs: Document the optional $options
parameter for wp_register_widget_control()
as a hash notation.
...
Props stephanethomas.
Fixes #34855 .
git-svn-id: https://develop.svn.wordpress.org/trunk@35864 602fd350-edb4-49c9-b593-d223f7449a82
2015-12-11 15:23:26 +00:00
Gary Pendergast
d498c9f0f2
About: Add a fallback -webkit-calc()
to about.css
...
We forgot to run `grunt precommit` before [35834] was committed.
This change doesn't need to be backported to the 4.4 branch, as it only affects Chrome < 26, it's really just to clean up the behaviour of `grunt precommit`.
See #34663 .
git-svn-id: https://develop.svn.wordpress.org/trunk@35862 602fd350-edb4-49c9-b593-d223f7449a82
2015-12-11 03:52:26 +00:00
Eric Andrew Lewis
f1b07f779f
Add inline documentation for get_page_by_path()
.
...
Fixes #34964 .
git-svn-id: https://develop.svn.wordpress.org/trunk@35861 602fd350-edb4-49c9-b593-d223f7449a82
2015-12-11 03:49:40 +00:00
ericlewis
26e7188154
Don't suppress error messages in database function calls.
...
Fixes #21870 .
git-svn-id: https://develop.svn.wordpress.org/trunk@35860 602fd350-edb4-49c9-b593-d223f7449a82
2015-12-11 03:39:52 +00:00
Dominik Schilling (ocean90)
ab584ff499
L10n: Use an absolute path for the is_dir()
check when looking for installed translations.
...
Avoids warnings when `open_basedir` restrictions are in effect.
Props Profforg.
Fixes #34526 .
git-svn-id: https://develop.svn.wordpress.org/trunk@35856 602fd350-edb4-49c9-b593-d223f7449a82
2015-12-10 23:08:46 +00:00
Andrea Fercia
56dc5b5b30
Updates screen: make the new strings introduced in [35854] translatable.
...
Props walbo.
Fixes #34763 .
git-svn-id: https://develop.svn.wordpress.org/trunk@35855 602fd350-edb4-49c9-b593-d223f7449a82
2015-12-10 19:23:30 +00:00
Andrea Fercia
f207e68c27
Accessibility: the iframes used for the update progress in the Updates screen need title attributes to describe their content.
...
Fixes #34763 .
git-svn-id: https://develop.svn.wordpress.org/trunk@35854 602fd350-edb4-49c9-b593-d223f7449a82
2015-12-10 17:20:18 +00:00
Rachel Baker
d13adcc9bf
Comments: Comments don’t need no Post ID when created, so they don’t be needing one to be edited.
...
In `wp_update_comment()` only check if the given `comment_post_ID` is valid if it isn’t `0`. This allows comments that were created programmatically via `wp_insert_comment()` without the (optional) `comment_post_ID` parameter to be edited.
Props subharanjan for the initial patch.
Fixes #34954
git-svn-id: https://develop.svn.wordpress.org/trunk@35853 602fd350-edb4-49c9-b593-d223f7449a82
2015-12-10 15:16:51 +00:00
Boone Gorges
52384c2e6b
Improve handling for WP_Error
objects in get_the_terms()
.
...
`wp_get_object_terms()` can return a `WP_Error` object. As such, the
`get_the_terms()` cache wrapper should handle them properly. To wit:
* Don't try to map an error object to `get_term()`. Introduced in [35032].
* Don't cache an error object as taxonomy relationships. Introduced in at least [16487], maybe earlier.
Props stephenharris.
Fixes #34723 .
git-svn-id: https://develop.svn.wordpress.org/trunk@35850 602fd350-edb4-49c9-b593-d223f7449a82
2015-12-10 03:34:51 +00:00
John Blackbourn
c4cf5124ca
Comments: The year is 2003. Permalinks are a new thing and everyone's using Blogger. It's a time when opening a modal window in JavaScript to view a section of a website is not a completely weird thing, although many users get annoyed by it. b2 has recently become WordPress, and with it comes a bunch of functionality that will become stale over the next decade, remnants of simpler times.
...
Twelve years later, after no fewer than three themes have intentionally implemented popup comments in their functionality, before being abandoned for at least the last six years, we've reached a time where we can put this era behind us. A time when we can remove comment popup functionality from WordPress.
If this breaks the internet, I'll eat my hat.
Fixes #28617
git-svn-id: https://develop.svn.wordpress.org/trunk@35848 602fd350-edb4-49c9-b593-d223f7449a82
2015-12-10 03:05:34 +00:00
John Blackbourn
c2f597280b
Formatting: Don't make links inside <script>
and <style>
tags clickable.
...
Fixes #30162
Props ninos-ego, adamsilverstein
git-svn-id: https://develop.svn.wordpress.org/trunk@35847 602fd350-edb4-49c9-b593-d223f7449a82
2015-12-09 23:54:24 +00:00
Andrea Fercia
08f67db8a3
Accessibility: remove no-purpose title attributes from the login screen.
...
Also, it's hard to convey the ironic tone of the sentences used for these title attributes in languages other than English.
Fixes #34943 .
git-svn-id: https://develop.svn.wordpress.org/trunk@35846 602fd350-edb4-49c9-b593-d223f7449a82
2015-12-09 22:19:01 +00:00
Rachel Baker
7d1436ffb7
Docs: Better param descriptions and fix incorrect param name within REST API deprecated functions
...
`rest_handle_deprecated_function`: you get better parameter descriptions.
`rest_handle_deprecated_argument`: you get a corrected parameter name ($replacement->$message), appropriate i18n translation hints, and better parameter descriptions.
Props ocean90.
Fixes #34908
git-svn-id: https://develop.svn.wordpress.org/trunk@35845 602fd350-edb4-49c9-b593-d223f7449a82
2015-12-09 21:25:15 +00:00
Drew Jaynes
3e57adcf39
Docs: Move the hook doc for the view_mode_post_types
filter to directly precede the apply_filters()
line.
...
See #32246 .
git-svn-id: https://develop.svn.wordpress.org/trunk@35844 602fd350-edb4-49c9-b593-d223f7449a82
2015-12-09 16:16:07 +00:00
Dominik Schilling (ocean90)
0339d7d145
About Page: Add release video and update post embed.
...
Props camikaos, siobhan, rosso99, wonderboymusic.
See #34663 .
git-svn-id: https://develop.svn.wordpress.org/trunk@35839 602fd350-edb4-49c9-b593-d223f7449a82
2015-12-08 23:22:25 +00:00
Dominik Schilling (ocean90)
a6e6501fc8
Install/Upgrade: Keep indexing bots away until a site is ready to be seen.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@35837 602fd350-edb4-49c9-b593-d223f7449a82
2015-12-08 21:55:48 +00:00
Scott Taylor
6c2de78c9c
About Page: use ReverbNation instead of Cloudup to avoid Ad Blocker cruff with tracking pixels. Adjust the layout accordingly, and improve the layout at smaller breakpoints.
...
Props melchoyce.
See #34663 .
git-svn-id: https://develop.svn.wordpress.org/trunk@35834 602fd350-edb4-49c9-b593-d223f7449a82
2015-12-08 20:24:52 +00:00
Dominik Schilling (ocean90)
2f7d3c9163
About Page: Remove three superfluous parentheses.
...
Props jaspermdegroot.
See #34663 .
git-svn-id: https://develop.svn.wordpress.org/trunk@35833 602fd350-edb4-49c9-b593-d223f7449a82
2015-12-08 18:14:57 +00:00
Dominik Schilling (ocean90)
4669e09241
About Page: Use w.org CDN for images.
...
See #34663 .
git-svn-id: https://develop.svn.wordpress.org/trunk@35832 602fd350-edb4-49c9-b593-d223f7449a82
2015-12-08 17:56:33 +00:00
Michael Arestad
492b67cc74
Administration: Adds a height to number inputs.
...
Number inputs didn't match the height of other form elements. Now they have a height of 28px and 40px on mobile. Both align with the sizes of other elements.
Props valendesigns.
Fixes #28984 .
git-svn-id: https://develop.svn.wordpress.org/trunk@35831 602fd350-edb4-49c9-b593-d223f7449a82
2015-12-08 16:07:00 +00:00
Dominik Schilling (ocean90)
07f0443526
Bundled Themes: Update POT files.
...
See #34804 .
git-svn-id: https://develop.svn.wordpress.org/trunk@35829 602fd350-edb4-49c9-b593-d223f7449a82
2015-12-08 15:18:00 +00:00
Scott Taylor
70cba0dc0e
About Page: use the source of the Make/Core Embed response instead of discovering it (or reading from the cache) every time.
...
See #34663 .
git-svn-id: https://develop.svn.wordpress.org/trunk@35826 602fd350-edb4-49c9-b593-d223f7449a82
2015-12-08 03:37:22 +00:00
Scott Taylor
b67ed6e9b5
About Page: use srcset
for images, also known as Recursive Dogfooding.
...
Props joemcgill.
See #34663 .
git-svn-id: https://develop.svn.wordpress.org/trunk@35825 602fd350-edb4-49c9-b593-d223f7449a82
2015-12-08 03:32:37 +00:00
Dominik Schilling (ocean90)
485ccc6ab2
About Page: Add Cloudup embed and cache the embeds as site transients.
...
Props wonderboymusic.
See #34663 .
git-svn-id: https://develop.svn.wordpress.org/trunk@35823 602fd350-edb4-49c9-b593-d223f7449a82
2015-12-07 23:27:32 +00:00
Rachel Baker
5ddbe89dc8
REST API: Make strings translatable in register_rest_route
.
...
Adds i18n to the `doing_it_wrong()` messages for invalid parameters within `register_rest_route()`.
Props Latz,danielbachhuber.
Fixes #34902
git-svn-id: https://develop.svn.wordpress.org/trunk@35822 602fd350-edb4-49c9-b593-d223f7449a82
2015-12-07 22:39:25 +00:00
Mike Schroder
5b025834f9
Media: Don't generate responsive image attributes if src
does not match ID in wp-image-
class.
...
We rely on the `wp-image-` class to quickly find an attachment ID to add responsive image attributes.
To avoid incorrect images being displayed, do not add these attributes if the `src` does not match the
meta from the attachment ID in the class.
Props azaozz, kovshenin, joemcgill.
Fixes : #34898 .
git-svn-id: https://develop.svn.wordpress.org/trunk@35820 602fd350-edb4-49c9-b593-d223f7449a82
2015-12-07 20:07:37 +00:00
Dominik Schilling (ocean90)
333d2f205a
List Tables: Revert [34728] and [35482].
...
Part of [34728] was already reverted in [35682], but the default values still made it impossible to set a default ordering for custom post types.
See #25493 .
See #34825 .
git-svn-id: https://develop.svn.wordpress.org/trunk@35818 602fd350-edb4-49c9-b593-d223f7449a82
2015-12-07 19:15:16 +00:00
Joe Hoyle
0a2a83056c
Prevent unnecessary $wpdb->update() when hierarchical post doesn't have children.
...
Props danielbachhuber.
Fixes #34896 .
git-svn-id: https://develop.svn.wordpress.org/trunk@35817 602fd350-edb4-49c9-b593-d223f7449a82
2015-12-07 17:46:35 +00:00
Mel Choyce
57a81709a4
About: Update image of the Twenty Sixteen red color scheme so it matches the updated scheme color.
...
See #34663 .
git-svn-id: https://develop.svn.wordpress.org/trunk@35816 602fd350-edb4-49c9-b593-d223f7449a82
2015-12-07 17:07:37 +00:00
Pascal Birchler
4868527c04
Docs: After [35314], fix the DocBlock for url_shorten()
.
...
See #20166 .
git-svn-id: https://develop.svn.wordpress.org/trunk@35813 602fd350-edb4-49c9-b593-d223f7449a82
2015-12-07 16:38:24 +00:00
Dominik Schilling (ocean90)
a850b67ce2
About: Sync tagline from about page with credits and freedoms.
...
See #34663 .
git-svn-id: https://develop.svn.wordpress.org/trunk@35812 602fd350-edb4-49c9-b593-d223f7449a82
2015-12-07 16:16:48 +00:00
Ella Iseulde Van Dorpe
14c3f3c871
Make date format consistent across the admin
...
The 'date_format' and 'time_format' options shouldn't affect the backend.
See #30864
git-svn-id: https://develop.svn.wordpress.org/trunk@35811 602fd350-edb4-49c9-b593-d223f7449a82
2015-12-07 04:25:53 +00:00
Weston Ruter
f57e09f0fc
Customizer: Apply customize_dynamic_setting_class
and customize_dynamic_setting_args
filters in calls to WP_Customize_Manager::add_setting( $id, $args )
.
...
Ensure that plugin filters apply as expected for any settings registered statically without passing in an explicit class instance to `WP_Customize_Manager::add_setting()`.
Fixes #34597 .
git-svn-id: https://develop.svn.wordpress.org/trunk@35810 602fd350-edb4-49c9-b593-d223f7449a82
2015-12-06 23:21:46 +00:00
Michael Adams (mdawaffe)
0eb87d02c5
Meta Boxes: Preserve radio inputs' state when sorting metaboxes.
...
When sorting a metabox, a clone of that metabox is created as a drag/drop "helper".
Previously, any checked radio input in the original metabox would become unchecked, when its clone "helper" was inserted into the DOM
(since only one radio within a set of radios of the same name can be checked).
Continued use of the clone helper is important so that the element being dragged isn't subject to the click and other event handlers attached to the real metabox,
so we can't just switch to dragging around the real metabox. See, for example, comment:10:ticket:16972.
Preserve the radios' state via some name attribute trickery.
Fixes #16972
git-svn-id: https://develop.svn.wordpress.org/trunk@35809 602fd350-edb4-49c9-b593-d223f7449a82
2015-12-06 22:22:44 +00:00
Helen Hou-Sandi
093707c534
Plugins: Provide a link to searching the plugin directory when no search results are found.
...
Many new users do not know the difference between managing installed plugins and those found in the plugin directory. This helps with discoverability. The link is not provided in multisite installs because we assume that somebody with that kind of power in a network is experienced enough not to need it. This can always be reconsidered later.
props mordauk for the initial patch.
fixes #29865 .
git-svn-id: https://develop.svn.wordpress.org/trunk@35808 602fd350-edb4-49c9-b593-d223f7449a82
2015-12-06 22:22:11 +00:00
Mel Choyce
c2dc14c159
Twenty Eleven/Docs: Remove duplicate "can" from footer template.
...
See #34885 .
git-svn-id: https://develop.svn.wordpress.org/trunk@35807 602fd350-edb4-49c9-b593-d223f7449a82
2015-12-06 22:11:53 +00:00
Nikolay Bachiyski
662ed9feea
Docs: clarify inline docs for hash_equals
...
Before the docs implied the complexity of the function was O(1) by using the term "constant time", now we use the more descriptive term "Timing attack safe".
Props AramZS.
Fixes #32778 .
git-svn-id: https://develop.svn.wordpress.org/trunk@35805 602fd350-edb4-49c9-b593-d223f7449a82
2015-12-06 22:03:41 +00:00
John Blackbourn
872bfdeed0
Use site_url()
when generating WP_CONTENT_URL
so it correctly adjusts for pages served over HTTPS. This mainly only affects old plugins which still use WP_CONTENT_URL
instead of the newer plugins_url()
function.
...
Fixes #13941
Props micropat
git-svn-id: https://develop.svn.wordpress.org/trunk@35804 602fd350-edb4-49c9-b593-d223f7449a82
2015-12-06 22:03:33 +00:00
Pascal Birchler
15aed980c8
Docs: Add proper @param
and @return
tags for capital_P_dangit()
.
...
Props timplunkett.
Fixes #34863 .
git-svn-id: https://develop.svn.wordpress.org/trunk@35803 602fd350-edb4-49c9-b593-d223f7449a82
2015-12-06 22:01:44 +00:00
Mike Schroder
22f683be42
Bundled Themes: Bump version numbers in default themes.
...
Props davidakennedy.
Fixes #34804 .
git-svn-id: https://develop.svn.wordpress.org/trunk@35802 602fd350-edb4-49c9-b593-d223f7449a82
2015-12-06 22:00:57 +00:00
Andrea Fercia
455ad2fd44
Notices: improve styling consistency of links within notices.
...
For accessibility, links inside lines or blocks of text should be always underlined.
Props walbo.
Fixes #34606 .
git-svn-id: https://develop.svn.wordpress.org/trunk@35801 602fd350-edb4-49c9-b593-d223f7449a82
2015-12-06 21:59:26 +00:00
Eric Andrew Lewis
a84227aab7
Posts: Don't modify post_name if it wasn't supplied to wp_insert_post()
.
...
Previously when updating a post using wp_insert_post(), post_name was
regenerated based on post_title every time if post_name was not passed in
explicitly. This irons out the expectation that properties not passed into the
function should not be modified.
Props jason_the_adams.
Fixes #34865 .
git-svn-id: https://develop.svn.wordpress.org/trunk@35800 602fd350-edb4-49c9-b593-d223f7449a82
2015-12-06 21:57:59 +00:00
Pascal Birchler
171ae0f20d
Docs: Fix a typo in the stylesheet_directory
filter docs.
...
Props ixkaito.
Fixes #34859 .
git-svn-id: https://develop.svn.wordpress.org/trunk@35799 602fd350-edb4-49c9-b593-d223f7449a82
2015-12-06 21:56:16 +00:00
Konstantin Kovshenin
c6da294f32
Docs: Make "list table table tag" a bit more readable.
...
See: #34885 , r35796.
git-svn-id: https://develop.svn.wordpress.org/trunk@35797 602fd350-edb4-49c9-b593-d223f7449a82
2015-12-06 21:53:57 +00:00
Konstantin Kovshenin
318455ff24
Docs: Remove some more dittography.
...
See #34885 , r35793.
git-svn-id: https://develop.svn.wordpress.org/trunk@35796 602fd350-edb4-49c9-b593-d223f7449a82
2015-12-06 21:49:43 +00:00
Pascal Birchler
b09fd386fd
Toolbar: Allow adding lang
and dir
attributes to toolbar items.
...
This is useful from a multilingual and accessibility perspective.
Props Chouby, leemon.
Fixes #33513 .
git-svn-id: https://develop.svn.wordpress.org/trunk@35795 602fd350-edb4-49c9-b593-d223f7449a82
2015-12-06 21:36:49 +00:00
Jeremy Felt
b077af3e08
Te Docs: Fix te the misspelling.
...
Previously, [35793].
Fixes #34888 .
git-svn-id: https://develop.svn.wordpress.org/trunk@35794 602fd350-edb4-49c9-b593-d223f7449a82
2015-12-06 21:31:47 +00:00
Gary Pendergast
3025e87fa2
The the Docs: Fix the the dittography
...
Sometimes, it's easy to to type the the same word twice, especially if if it's a simple word. We probably shouldn't do do do (do do do doo) it, though.
(I've excluded external libs from this change.)
Fixes #34885 .
git-svn-id: https://develop.svn.wordpress.org/trunk@35793 602fd350-edb4-49c9-b593-d223f7449a82
2015-12-06 21:22:10 +00:00
Aaron D. Campbell
57408e271a
Consider both home and site domains to be valid in wp_validate_redirect()
.
...
Props layotte.
Fixes #34028 .
git-svn-id: https://develop.svn.wordpress.org/trunk@35792 602fd350-edb4-49c9-b593-d223f7449a82
2015-12-06 21:16:12 +00:00
Michael Arestad
53430a7343
Administration: Improve color contrast of 'Add New' buttons.
...
This also includes improved focus styles for 'Add New'.
fixes #34876 , #34864 .
git-svn-id: https://develop.svn.wordpress.org/trunk@35791 602fd350-edb4-49c9-b593-d223f7449a82
2015-12-06 21:06:33 +00:00
Boone Gorges
ded2547b57
Show user_login in Dashboard user dropdowns.
...
User dropdowns in wp-admin have traditionally shown the users' display names.
However, this causes ambiguity when users share display names. To correct this,
we now show the unique user_login in parentheses after the display name.
The new `display_name_with_login` value for the `show` parameter of
`wp_dropdown_users()` enables this functionality. The default value of `show`
has not been changed, for backward compatibility, but all instances of
`wp_dropdown_users()` in core wp-admin have been switched.
This changeset also reduces some duplicated logic when assembling a user list
when `include_selected` is true.
Props krogsgard, boonebgorges.
Fixes #31251 .
git-svn-id: https://develop.svn.wordpress.org/trunk@35790 602fd350-edb4-49c9-b593-d223f7449a82
2015-12-06 20:56:11 +00:00
Rachel Baker
c3b6753782
Multisite: Clarify purpose of hook from [35786] and match our naming convention.
...
`network_site_new_created_user_pending` -> `pre_network_site_new_created_user`
See #33631
git-svn-id: https://develop.svn.wordpress.org/trunk@35789 602fd350-edb4-49c9-b593-d223f7449a82
2015-12-06 20:31:04 +00:00
Konstantin Kovshenin
1aa7dda524
Allow usage of angle brackets in a site title or tagline.
...
The whole string is escaped with `esc_html()` anyway, so we don't
need to `wp_kses_post()`. This is a better experience for users who
want to use angle brackets in their site title or description.
Does not allow any HTML, adds unit tests.
props BandonRandon, pauldewouters.
fixes #27942 .
git-svn-id: https://develop.svn.wordpress.org/trunk@35788 602fd350-edb4-49c9-b593-d223f7449a82
2015-12-06 20:28:26 +00:00
Drew Jaynes
800971f2fd
Docs: Fix mid-file separator syntax in wp-includes/wp-db.php.
...
Props liamdempsey.
See #32246 .
git-svn-id: https://develop.svn.wordpress.org/trunk@35787 602fd350-edb4-49c9-b593-d223f7449a82
2015-12-06 20:25:45 +00:00
Rachel Baker
a9bf2e7aaa
Multisite: Add hook before a new user is created during the creation of a new site.
...
New `network_site_new_created_user_pending` action fires before a new user will be created via the network site-new.php page.
Props mackensen
Fixes #33631
git-svn-id: https://develop.svn.wordpress.org/trunk@35786 602fd350-edb4-49c9-b593-d223f7449a82
2015-12-06 20:09:50 +00:00
Konstantin Obenland
d2bcc5fa55
Plugins: Allow long plugin names to wrap on small screens.
...
Props mapk, rickalee.
Fixes #32569 .
git-svn-id: https://develop.svn.wordpress.org/trunk@35785 602fd350-edb4-49c9-b593-d223f7449a82
2015-12-06 19:57:45 +00:00
Boone Gorges
f8a0095574
Bump readme.html to 4.5.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@35784 602fd350-edb4-49c9-b593-d223f7449a82
2015-12-06 18:48:05 +00:00
Weston Ruter
1b2dae4668
Customizer: Re-use public api.preview
instance in widgets preview instead of unnecessarily capturing in api.Preview
constructor wrapper.
...
The preview instance is no longer private.
Props joshlevinson, westonruter.
Fixes #30890 .
See #30726 .
git-svn-id: https://develop.svn.wordpress.org/trunk@35783 602fd350-edb4-49c9-b593-d223f7449a82
2015-12-06 18:38:45 +00:00
Jeremy Felt
775b27d8a5
MS: Populate public
on empty $current_blog
during subdomain activation.
...
Activation of a subdomain site is done through that new site's address. This address does not exist in the `wp_blogs` table until activation is complete.
In this case we need to make sure `public` is populated to avoid a PHP notice.
Props uglyrobot.
Fixes #24760 .
git-svn-id: https://develop.svn.wordpress.org/trunk@35782 602fd350-edb4-49c9-b593-d223f7449a82
2015-12-06 18:23:18 +00:00
Weston Ruter
1689948965
Customizer: Return added instances for panels, sections, controls, and settings when calling WP_Customize_Manager::add_*()
methods.
...
Add missing phpDoc.
Props fusillicode, jubstuff.
Fixes #34596 .
git-svn-id: https://develop.svn.wordpress.org/trunk@35781 602fd350-edb4-49c9-b593-d223f7449a82
2015-12-06 18:09:42 +00:00
Mark Jaquith
db288f6aa3
About Page: Add the WordPress 4.4 tagline.
...
"Connected" because of REST API and cross-site embeds.
"Responsive" because of responsive images and under-the-hood tweaks.
See #34663 .
git-svn-id: https://develop.svn.wordpress.org/trunk@35780 602fd350-edb4-49c9-b593-d223f7449a82
2015-12-06 17:51:21 +00:00
Andrew Nacin
57d7375d46
Updates: Avoid stomping global $wp_version
in wp_version_check()
and related.
...
fixes #34868 .
git-svn-id: https://develop.svn.wordpress.org/trunk@35779 602fd350-edb4-49c9-b593-d223f7449a82
2015-12-06 17:38:35 +00:00
Dion Hulse
fc87f96e07
Upgrader: FTP: Cleanup temporary files during FTP download failures.
...
Props ruud@joyo
Fixes #34772
git-svn-id: https://develop.svn.wordpress.org/trunk@35777 602fd350-edb4-49c9-b593-d223f7449a82
2015-12-06 17:06:53 +00:00
Andrew Nacin
b5bbba2026
Trunk is now 4.5-alpha.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@35776 602fd350-edb4-49c9-b593-d223f7449a82
2015-12-06 16:43:16 +00:00
Andrew Nacin
66b0dfe31b
Add initial_db_version to wp_version_check().
...
fixes #34854 .
git-svn-id: https://develop.svn.wordpress.org/trunk@35774 602fd350-edb4-49c9-b593-d223f7449a82
2015-12-06 15:43:49 +00:00
Scott Taylor
f89c25a43d
REST API: Core typically sends nocache headers on all auth'ed responses, as in wp
, admin-ajax
, etc. Because the REST API infrastructure is hooked in pre-wp, we should be setting this ourselves.
...
Adds unit tests.
Props joehoyle.
Fixes #34832 .
git-svn-id: https://develop.svn.wordpress.org/trunk@35773 602fd350-edb4-49c9-b593-d223f7449a82
2015-12-04 23:35:54 +00:00
Boone Gorges
a1f89f4e86
Use 'invalid_username' error code when tripping 'illegal_user_logins'.
...
This gives us better compatibility with existing errors thrown by
`sanitize_user()`, especially in Multisite, where user_login has more
restrictions on allowed characters.
Props markjaquith.
Fixes #27317 .
git-svn-id: https://develop.svn.wordpress.org/trunk@35772 602fd350-edb4-49c9-b593-d223f7449a82
2015-12-04 23:24:56 +00:00
Aaron Jorbin
6825c7226e
Make comment screen row actions focusable
...
In [34504], tabbing through row actions on comments that lacked links was broken. This restores the desired behavior and ensures that the row actions can be seen by no-js users.
Second Permanent Committer sign off was by WonderBoyMusic
See #15520
Fixes #34791
Props afercia, azaozz
git-svn-id: https://develop.svn.wordpress.org/trunk@35771 602fd350-edb4-49c9-b593-d223f7449a82
2015-12-04 23:12:57 +00:00
Scott Taylor
12f4c30551
Canonical: introduce strip_fragment_from_url()
and use when comparing URLs in redirect_canonical()
.
...
Props tellyworth.
Fixes #19918 .
git-svn-id: https://develop.svn.wordpress.org/trunk@35770 602fd350-edb4-49c9-b593-d223f7449a82
2015-12-04 23:10:09 +00:00
Drew Jaynes
db281bf80e
About page: Make strings translatable.
...
See #34663 .
git-svn-id: https://develop.svn.wordpress.org/trunk@35769 602fd350-edb4-49c9-b593-d223f7449a82
2015-12-04 18:08:21 +00:00
Drew Jaynes
267164d5b8
About page: Final string changes.
...
Props petya, ocean90, DrewAPicture
See #34663 .
git-svn-id: https://develop.svn.wordpress.org/trunk@35768 602fd350-edb4-49c9-b593-d223f7449a82
2015-12-04 17:54:35 +00:00
Drew Jaynes
1a3a997433
About page: Add non-breaking spaces to "Reddit Comments" and "Speaker Deck" oEmbed provider names to prevent line wrapping between the words.
...
Props ocean90.
See #34663 .
git-svn-id: https://develop.svn.wordpress.org/trunk@35766 602fd350-edb4-49c9-b593-d223f7449a82
2015-12-04 16:26:35 +00:00
Drew Jaynes
cc5e86207b
About page: Fix some minor string errors and simplify URL-building for the plugin install link for capable users.
...
Props ocean90, DrewAPicture
See #34663 .
git-svn-id: https://develop.svn.wordpress.org/trunk@35765 602fd350-edb4-49c9-b593-d223f7449a82
2015-12-04 16:12:51 +00:00
Dominik Schilling (ocean90)
5f4902605e
Reset Password: Add a missing new
operator for WP_Error
in get_password_reset_key()
.
...
Missed in [34923].
Fixes #34180 .
git-svn-id: https://develop.svn.wordpress.org/trunk@35764 602fd350-edb4-49c9-b593-d223f7449a82
2015-12-04 15:30:17 +00:00
Drew Jaynes
1035906de6
First pass of the 4.4 about page. Adds strings (not yet translatable) and screen shots (not CDN).
...
Props wonderboymusic, markjaquith, helen, nacin, liljimmi, mordauk, melchoyce, ryelle, ocean90, DrewAPicture
See #34663 .
git-svn-id: https://develop.svn.wordpress.org/trunk@35763 602fd350-edb4-49c9-b593-d223f7449a82
2015-12-04 12:23:24 +00:00
Andrew Nacin
12b1cc4410
Embeds: Enforce, via unit tests, the no-ampersand rule for wp-embed.js.
...
fixes #34698 .
git-svn-id: https://develop.svn.wordpress.org/trunk@35762 602fd350-edb4-49c9-b593-d223f7449a82
2015-12-04 05:45:29 +00:00
Scott Taylor
dedff8fd0e
WP oEmbed: validate the secret
send via postMessage
in wp.receiveEmbedMessage
. Also, compare window
instances.
...
In the data sent to us from the embedded iframe by postMessage(), the secret value is being used directly in a document.querySelectorAll() call without first being validated or escaped.
In theory, this could lead to some broken embeds.
Props mdawaffe.
Fixes #34831 .
git-svn-id: https://develop.svn.wordpress.org/trunk@35761 602fd350-edb4-49c9-b593-d223f7449a82
2015-12-03 20:16:28 +00:00
Helen Hou-Sandi
3e85312bbf
Media: Avoid rel="rel="
situations.
...
props lucymtc, swissspidy.
fixes #34826 . see #32074 .
git-svn-id: https://develop.svn.wordpress.org/trunk@35760 602fd350-edb4-49c9-b593-d223f7449a82
2015-12-03 17:16:57 +00:00
Gary Pendergast
76367a145e
Readme: Bump recommended MySQL version to 5.6, as 5.5 is now over 5 years old.
...
Happy birthday, MySQL 5.5!
Fixes #34840 .
git-svn-id: https://develop.svn.wordpress.org/trunk@35759 602fd350-edb4-49c9-b593-d223f7449a82
2015-12-03 16:45:22 +00:00
Mark Jaquith
2ddab3adf8
Route HEAD API requests through the GET callback method
...
fixes #34837
props danielbachhuber
git-svn-id: https://develop.svn.wordpress.org/trunk@35758 602fd350-edb4-49c9-b593-d223f7449a82
2015-12-03 16:34:00 +00:00
Boone Gorges
14eae0a8a7
Ensure that order is specified when querying for comment descendants.
...
Props tellyworth.
Fixes #34838 .
git-svn-id: https://develop.svn.wordpress.org/trunk@35757 602fd350-edb4-49c9-b593-d223f7449a82
2015-12-03 15:49:37 +00:00
wonderboymusic
594ce27b61
Install: after [35508], the margin on the header for the Install screen is too big.
...
Props SergeyBiryukov.
Fixes #34819 .
git-svn-id: https://develop.svn.wordpress.org/trunk@35756 602fd350-edb4-49c9-b593-d223f7449a82
2015-12-01 21:01:02 +00:00
Scott Taylor
a8523ae92a
Responsive Images: Currently images are included in the srcset
if the aspect ratio difference is smaller than 0.01
. This number is too high, set it to 0.002
...
Props joemcgill.
Fixes #34810 .
git-svn-id: https://develop.svn.wordpress.org/trunk@35755 602fd350-edb4-49c9-b593-d223f7449a82
2015-12-01 20:57:42 +00:00
Scott Taylor
69900349ca
Media: don't use get_media_embedded_in_content()
in wp_make_content_images_responsive()
.
...
Adds unit test.
Props azaozz.
Fixes #34807 .
git-svn-id: https://develop.svn.wordpress.org/trunk@35753 602fd350-edb4-49c9-b593-d223f7449a82
2015-12-01 20:49:13 +00:00
Scott Taylor
a69f591c55
Media: show Trash filter for Media list table when MEDIA_TRASH
is true.
...
Props chacha102.
Fixes #34795 .
git-svn-id: https://develop.svn.wordpress.org/trunk@35752 602fd350-edb4-49c9-b593-d223f7449a82
2015-12-01 20:47:24 +00:00
Ryan McCue
cfbd88836d
REST API: Unabbreviate error string.
...
Props daniel-koskinen.
Fixes #34818 .
git-svn-id: https://develop.svn.wordpress.org/trunk@35750 602fd350-edb4-49c9-b593-d223f7449a82
2015-11-30 09:50:56 +00:00
Mark Jaquith
baa1da6c57
Do not pass FALSE as second parameter in variable class_exists() checks
...
Because these are generally plugin-provided, we want plugins to be
able to use autoloaders.
fixes #20523
git-svn-id: https://develop.svn.wordpress.org/trunk@35749 602fd350-edb4-49c9-b593-d223f7449a82
2015-11-30 04:14:31 +00:00
John Blackbourn
6565b3e423
In a similar vein to [34133], escape the email address and IP address of comment authors to increase defence in depth.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@35748 602fd350-edb4-49c9-b593-d223f7449a82
2015-11-29 02:40:42 +00:00
John Blackbourn
da2acf666a
When a post is scheduled for publication, treat it the same as a published post when calculating the capabilities required to edit or delete it.
...
Fixes #33694
git-svn-id: https://develop.svn.wordpress.org/trunk@35747 602fd350-edb4-49c9-b593-d223f7449a82
2015-11-29 02:24:15 +00:00
John Blackbourn
a8ea7d98b5
Ensure the correct error message is returned when a user attempts to comment on a post to which they do not have access.
...
Adds more tests.
git-svn-id: https://develop.svn.wordpress.org/trunk@35745 602fd350-edb4-49c9-b593-d223f7449a82
2015-11-28 18:28:54 +00:00
Scott Taylor
4476731011
WordPress 4.4 RC 1 version bump
...
git-svn-id: https://develop.svn.wordpress.org/trunk@35744 602fd350-edb4-49c9-b593-d223f7449a82
2015-11-25 23:01:35 +00:00
Scott Taylor
3494cb3ed0
WordPress 4.4 RC 1
...
git-svn-id: https://develop.svn.wordpress.org/trunk@35743 602fd350-edb4-49c9-b593-d223f7449a82
2015-11-25 22:52:22 +00:00
Dominik Schilling (ocean90)
daa3fe4d26
Users: Allow to create users without sending an email to the new user.
...
This adds a checkbox to `wp-admin/user-new.php` to prevent sending an email with the username and a password reset link to the new user. Restores the behavior of pre-4.3.
Fixes #33504 .
Props tharsheblows, SergeyBiryukov, DrewAPicture, ocean90.
git-svn-id: https://develop.svn.wordpress.org/trunk@35742 602fd350-edb4-49c9-b593-d223f7449a82
2015-11-25 22:37:35 +00:00
Ryan McCue
6b37ee4b48
REST API: Mark WP_REST_Server::get_raw_data as static.
...
This is just a utility function for getting the request body, not
tied to the server class.
Fixes #34768 .
git-svn-id: https://develop.svn.wordpress.org/trunk@35741 602fd350-edb4-49c9-b593-d223f7449a82
2015-11-25 22:21:51 +00:00