Permalink
Commits on Jul 27, 2017
  1. Formatting: Update the author description tests since the formatting …

    johnbillion committed Jul 27, 2017
    …change made in [41172].
    
    See #40040
    
    Built from https://develop.svn.wordpress.org/trunk@41173
    
    
    git-svn-id: http://core.svn.wordpress.org/trunk@41013 1a063a9b-81f0-0310-95a4-ce76da25c4cd
  2. Formatting: Add formatting and texturization to author descriptions s…

    johnbillion committed Jul 27, 2017
    …o they match the formatting of term descriptions.
    
    Props henry.wright
    
    Fixes #40040
    
    Built from https://develop.svn.wordpress.org/trunk@41172
    
    
    git-svn-id: http://core.svn.wordpress.org/trunk@41012 1a063a9b-81f0-0310-95a4-ce76da25c4cd
  3. Users: Further fixes to entitiy decoding in the user email address ch…

    johnbillion committed Jul 27, 2017
    …ange confirmation email, and the corresponding tests.
    
    See #16470, #40015
    
    Built from https://develop.svn.wordpress.org/trunk@41171
    
    
    git-svn-id: http://core.svn.wordpress.org/trunk@41011 1a063a9b-81f0-0310-95a4-ce76da25c4cd
  4. Users: Update some tests for admin email change confirmation emails a…

    johnbillion committed Jul 27, 2017
    …fter [41164].
    
    See #40015, #39117
    
    Built from https://develop.svn.wordpress.org/trunk@41170
    
    
    git-svn-id: http://core.svn.wordpress.org/trunk@41010 1a063a9b-81f0-0310-95a4-ce76da25c4cd
  5. Build/Test Tools: Clarify the error message when running the test sui…

    johnbillion committed Jul 27, 2017
    …te without the WordPress Importer plugin present in the test suite.
    
    See #41345
    
    Built from https://develop.svn.wordpress.org/trunk@41169
    
    
    git-svn-id: http://core.svn.wordpress.org/trunk@41009 1a063a9b-81f0-0310-95a4-ce76da25c4cd
  6. Docs: Remove some more top-level `@aacess` tags from function DocBlocks.

    DrewAPicture committed Jul 27, 2017
    See #414532.
    
    Built from https://develop.svn.wordpress.org/trunk@41168
    
    
    git-svn-id: http://core.svn.wordpress.org/trunk@41008 1a063a9b-81f0-0310-95a4-ce76da25c4cd
  7. Options, Meta APIs: Fix a typo introduced in [41164].

    johnbillion committed Jul 27, 2017
    See #39117
    
    Built from https://develop.svn.wordpress.org/trunk@41167
    
    
    git-svn-id: http://core.svn.wordpress.org/trunk@41007 1a063a9b-81f0-0310-95a4-ce76da25c4cd
  8. Users: Add the new email address to the email address change notifica…

    johnbillion committed Jul 27, 2017
    …tion email.
    
    Fixes #39112
    
    Built from https://develop.svn.wordpress.org/trunk@41166
    
    
    git-svn-id: http://core.svn.wordpress.org/trunk@41006 1a063a9b-81f0-0310-95a4-ce76da25c4cd
  9. Users: Re-add entity decoding to the site name before it's used in th…

    johnbillion committed Jul 27, 2017
    …e email address change confirmation email.
    
    This was accidentally removed in [41163].
    
    See #40015, #16470
    
    Built from https://develop.svn.wordpress.org/trunk@41165
    
    
    git-svn-id: http://core.svn.wordpress.org/trunk@41005 1a063a9b-81f0-0310-95a4-ce76da25c4cd
  10. Options, Meta APIs: Send a notification to the old admin email addres…

    johnbillion committed Jul 27, 2017
    …s when the site admin email or network admin email address is changed.
    
    This reduces the chances of a site compromise going unnoticed, in the same way that the same notifications for user account email address changes reduces the chances of a user account compromise going unnoticed.
    
    Props MatheusGimenez, johnbillion
    
    Fixes #39117
    
    Built from https://develop.svn.wordpress.org/trunk@41164
    
    
    git-svn-id: http://core.svn.wordpress.org/trunk@41004 1a063a9b-81f0-0310-95a4-ce76da25c4cd
  11. Users: Require a confirmation link in an email to be clicked when a u…

    johnbillion committed Jul 27, 2017
    …ser attempts to change their email address.
    
    This adds this previously Multisite-only functionality to single site installations too. This change prevents accidental or erroneous email address changes from potentially locking users out of their account.
    
    Props rodrigosprimo, tharsheblows, johnbillion
    
    Fixes #16470
    
    Built from https://develop.svn.wordpress.org/trunk@41163
    
    
    git-svn-id: http://core.svn.wordpress.org/trunk@41003 1a063a9b-81f0-0310-95a4-ce76da25c4cd
  12. Docs: Remove `@access` notations from method DocBlocks in wp-includes…

    DrewAPicture committed Jul 27, 2017
    …/* classes.
    
    Prior to about 2013, many class methods lacked even access modifiers which made the `@access` notations that much more useful. Now that we've gotten to a point where the codebase is more mature from a maintenance perspective and we can finally remove these notations. Notable exceptions to this change include standalone functions notated as private as well as some classes still considered to represent "private" APIs.
    
    See #41452.
    
    Built from https://develop.svn.wordpress.org/trunk@41162
    
    
    git-svn-id: http://core.svn.wordpress.org/trunk@41002 1a063a9b-81f0-0310-95a4-ce76da25c4cd
  13. Docs: Remove `@access` notations from method DocBlocks in wp-admin/* …

    DrewAPicture committed Jul 27, 2017
    …classes.
    
    Prior to about 2013, many class methods lacked even access modifiers which made the `@access` notations that much more useful. Now that we've gotten to a point where the codebase is more mature from a maintenance perspective and we can finally remove these notations. Notable exceptions to this change include standalone functions notated as private as well as some classes still considered to represent "private" APIs.
    
    See #41452.
    
    Built from https://develop.svn.wordpress.org/trunk@41161
    
    
    git-svn-id: http://core.svn.wordpress.org/trunk@41001 1a063a9b-81f0-0310-95a4-ce76da25c4cd
Commits on Jul 26, 2017
  1. Administration: Remove `Edit` links from all plugin listing screens a…

    johnbillion committed Jul 26, 2017
    …nd the remaining theme listing screens.
    
    This simplifies these list tables, reducing user confusion, without removing functionality.
    
    Fixes #38169
    
    Built from https://develop.svn.wordpress.org/trunk@41160
    
    
    git-svn-id: http://core.svn.wordpress.org/trunk@41000 1a063a9b-81f0-0310-95a4-ce76da25c4cd
  2. Toolbar: Add `View User` and `Edit User` links to the admin toolbar t…

    johnbillion committed Jul 26, 2017
    …o ease navigation between a user's archives and the user editing screen.
    
    Props georgestephanis, lessbloat, johnbillion
    
    Fixes #20307
    
    Built from https://develop.svn.wordpress.org/trunk@41159
    
    
    git-svn-id: http://core.svn.wordpress.org/trunk@40999 1a063a9b-81f0-0310-95a4-ce76da25c4cd
  3. Login and Registration: Introduce a `username_exists` filter, which a…

    johnbillion committed Jul 26, 2017
    …llows for control over registration of usernames.
    
    Props shamim51
    
    Fixes #39320
    
    Built from https://develop.svn.wordpress.org/trunk@41158
    
    
    git-svn-id: http://core.svn.wordpress.org/trunk@40998 1a063a9b-81f0-0310-95a4-ce76da25c4cd
  4. Upgrade/Install: In `WP_Ajax_Upgrader_Skin`, call `::get_error_codes(…

    SergeyBiryukov committed Jul 26, 2017
    …)` method on a `WP_Error` object `$this->errors` instead of a string variable `$errors`.
    
    Props yrpwayne.
    Fixes #41449.
    Built from https://develop.svn.wordpress.org/trunk@41157
    
    
    git-svn-id: http://core.svn.wordpress.org/trunk@40997 1a063a9b-81f0-0310-95a4-ce76da25c4cd
  5. Users: Use `esc_url()` instead of `esc_attr()` to escape the value of…

    SergeyBiryukov committed Jul 26, 2017
    … the `srcset` attribute in `get_avatar()`.
    
    Props joemcgill, henry.wright.
    Fixes #41215.
    Built from https://develop.svn.wordpress.org/trunk@41156
    
    
    git-svn-id: http://core.svn.wordpress.org/trunk@40996 1a063a9b-81f0-0310-95a4-ce76da25c4cd
  6. REST API: Update the fixture data for `wp-api.js` tests.

    pento committed Jul 26, 2017
    [41139] changed how the REST API URL is generated, but included an incorrect version of `wp-api-generated.js`.
    
    This updates the generator to create the correct `wp-api-generated.js`, and updates ``wp-api-generated.js`.
    
    See #40886.
    
    
    Built from https://develop.svn.wordpress.org/trunk@41154
    
    
    git-svn-id: http://core.svn.wordpress.org/trunk@40994 1a063a9b-81f0-0310-95a4-ce76da25c4cd
  7. Users: Introduce filters for the contents of email notifications for …

    johnbillion committed Jul 26, 2017
    …new user registrations and password resets.
    
    Introduces:
    
    * `wp_password_change_notification_subject`
    * `wp_password_change_notification_message`
    * `wp_password_change_notification_headers`
    * `wp_new_user_notification_admin_subject`
    * `wp_new_user_notification_admin_message`
    * `wp_new_user_notification_admin_headers`
    * `wp_new_user_notification_subject`
    * `wp_new_user_notification_message`
    * `wp_new_user_notification_headers`
    
    Props pbearne, dipesh.kakadiya
    
    Fixes #38068
    
    Built from https://develop.svn.wordpress.org/trunk@41153
    
    
    git-svn-id: http://core.svn.wordpress.org/trunk@40993 1a063a9b-81f0-0310-95a4-ce76da25c4cd
Commits on Jul 25, 2017
  1. I18N: Use a consistent context for Visual and Text editor tab labels.

    SergeyBiryukov committed Jul 25, 2017
    Props pedromendonca.
    Fixes #41438.
    Built from https://develop.svn.wordpress.org/trunk@41152
    
    
    git-svn-id: http://core.svn.wordpress.org/trunk@40992 1a063a9b-81f0-0310-95a4-ce76da25c4cd
  2. Docs: Use 3-digit, x.x.x style semantic versioning for `@since 4.8.0`…

    SergeyBiryukov committed Jul 25, 2017
    … entries.
    
    See #41017.
    Built from https://develop.svn.wordpress.org/trunk@41151
    
    
    git-svn-id: http://core.svn.wordpress.org/trunk@40991 1a063a9b-81f0-0310-95a4-ce76da25c4cd
  3. Users: Show a `Super Admin` label next to Super Admins on all user li…

    johnbillion committed Jul 25, 2017
    …sting screens when the current user can manage network users.
    
    Fixes #41165
    
    Built from https://develop.svn.wordpress.org/trunk@41150
    
    
    git-svn-id: http://core.svn.wordpress.org/trunk@40990 1a063a9b-81f0-0310-95a4-ce76da25c4cd
  4. Widgets: make the Recent Posts widget output '(no title)' for posts w…

    afercia committed Jul 25, 2017
    …ithout a title.
    
    Since WordPress 2.3, the Recent Posts widget used to output the post ID for posts
    with an empty title. Using '(no title)' seems a best option and is consistent with
    what's already used in other similar cases.
    
    Props antonrinas, Ankit K Gupta.
    Fixes #35709.
    
    Built from https://develop.svn.wordpress.org/trunk@41149
    
    
    git-svn-id: http://core.svn.wordpress.org/trunk@40989 1a063a9b-81f0-0310-95a4-ce76da25c4cd
  5. Administration: WP_Screen: strip all tags from the columns display name.

    afercia committed Jul 25, 2017
    This ensures all the column titles, not just the Comments column one, are
    "clean" when later reused for the Screen Options checkboxes. Also introduces
    some consistency with what is already done in WP_List_Table.
    
    Fixes #41261.
    
    Built from https://develop.svn.wordpress.org/trunk@41148
    
    
    git-svn-id: http://core.svn.wordpress.org/trunk@40988 1a063a9b-81f0-0310-95a4-ce76da25c4cd
  6. Docs: Correct `@global` entry for `$cat_id` in `WP_Links_List_Table::…

    SergeyBiryukov committed Jul 25, 2017
    …column_categories()`.
    
    Props tejas5989.
    Fixes #41436.
    Built from https://develop.svn.wordpress.org/trunk@41147
    
    
    git-svn-id: http://core.svn.wordpress.org/trunk@40987 1a063a9b-81f0-0310-95a4-ce76da25c4cd
  7. Docs: Add a `@global` entry for `$wpdb` in `_get_cron_lock`.

    SergeyBiryukov committed Jul 25, 2017
    Props tejas5989.
    Fixes #41433.
    Built from https://develop.svn.wordpress.org/trunk@41146
    
    
    git-svn-id: http://core.svn.wordpress.org/trunk@40986 1a063a9b-81f0-0310-95a4-ce76da25c4cd
  8. Docs: Add `@access` entry for `WP_Comment_Query::fill_descendants()`.

    SergeyBiryukov committed Jul 25, 2017
    Props umangvaghela123.
    Fixes #41435.
    Built from https://develop.svn.wordpress.org/trunk@41145
    
    
    git-svn-id: http://core.svn.wordpress.org/trunk@40985 1a063a9b-81f0-0310-95a4-ce76da25c4cd
  9. TinyMCE: Fix styling of selected state for linked images containing c…

    westonruter committed Jul 25, 2017
    …aptions.
    
    Props azaozz.
    Fixes #41408.
    
    Built from https://develop.svn.wordpress.org/trunk@41141
    
    
    git-svn-id: http://core.svn.wordpress.org/trunk@40981 1a063a9b-81f0-0310-95a4-ce76da25c4cd
  10. REST API: Always add `index.php` to the REST URL when pretty permalin…

    pento committed Jul 25, 2017
    …ks are disabled.
    
    When pretty permalinks are disabled, the web server will internally forward requests to `index.php`. Unfortunately, nginx only forwards HTTP/1.0 methods: `PUT`, `PATCH`, and `DELETE` methods will return a 405 error.
    
    To work around this nginx behaviour, including `index.php` in the REST URL skips the internal redirect.
    
    Fixes #40886.
    
    
    Built from https://develop.svn.wordpress.org/trunk@41139
    
    
    git-svn-id: http://core.svn.wordpress.org/trunk@40979 1a063a9b-81f0-0310-95a4-ce76da25c4cd
  11. Users: Ensure that users with no role on a site are taken into consid…

    johnbillion committed Jul 25, 2017
    …eration when listing users on Multisite.
    
    This ensures that users who are a member of a site but have no role are correctly listed on the Users screen and can be filtered from the 'None' role filter.
    
    Props tobi823, flixos90, scottlee
    
    Fixes #36196
    
    Built from https://develop.svn.wordpress.org/trunk@41138
    
    
    git-svn-id: http://core.svn.wordpress.org/trunk@40978 1a063a9b-81f0-0310-95a4-ce76da25c4cd
Commits on Jul 24, 2017
  1. Customize: Update Text widget starter content to utilize visual mode.

    westonruter committed Jul 24, 2017
    Amends [38991].
    Props dlh, westonruter.
    See #35243, #38114.
    Fixes #41410.
    
    Built from https://develop.svn.wordpress.org/trunk@41136
    
    
    git-svn-id: http://core.svn.wordpress.org/trunk@40976 1a063a9b-81f0-0310-95a4-ce76da25c4cd
  2. Widgets: Improve notice in Text widget's legacy mode.

    westonruter committed Jul 24, 2017
    Also fixes phpunit test which broke in [41132].
    
    Props melchoyce, westonruter, gk.loveweb.
    See #41394, #35243, #40951, #40907.
    Fixes #41386.
    
    Built from https://develop.svn.wordpress.org/trunk@41134
    
    
    git-svn-id: http://core.svn.wordpress.org/trunk@40974 1a063a9b-81f0-0310-95a4-ce76da25c4cd
  3. Widgets: Rename Text widget's `legacy` mode to non-`visual` mode, res…

    westonruter committed Jul 24, 2017
    …tore boolean `filter` prop, and improve compatibility for `widget_text` filters applied in Custom HTML widget.
    
    Props westonruter, obenland, timmydcrawford for testing.
    Amends [41050].
    See #35243, #40951, #40907.
    Fixes #41394.
    
    Built from https://develop.svn.wordpress.org/trunk@41132
    
    
    git-svn-id: http://core.svn.wordpress.org/trunk@40972 1a063a9b-81f0-0310-95a4-ce76da25c4cd
  4. Networks and Sites: Introduce an AYS when bulk deleting sites from th…

    johnbillion committed Jul 24, 2017
    …e Sites screen in Network Admin.
    
    Props flixos90, MaximeCulea
    
    Fixes #41177
    
    Built from https://develop.svn.wordpress.org/trunk@41131
    
    
    git-svn-id: http://core.svn.wordpress.org/trunk@40971 1a063a9b-81f0-0310-95a4-ce76da25c4cd