⚡ NEW: Changeset/ - Uncensored 2025

Changeset 60644


Ignore:
Timestamp:
08/18/2025 12:31:19 PM (4 months ago)
Author:
SergeyBiryukov
Message:

Users: Remove deprecated user contact methods.

The three default contact methods (AIM, Yahoo IM, Jabber) were removed for new installations in WordPress 3.6.

This commit removes the remaining references from the codebase, as the associated services were discontinued quite a while ago.

The user_contactmethods filter is available for adding or removing contact methods.

Follow-up to [23588], [25606].

Props butterflymedia, birgire, Presskopp, yashjawale, SergeyBiryukov.
Fixes #44374.

Location:
trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/author-template.php

    r60299 r60644  
    125125 *
    126126 * - admin_color
    127  * - aim
    128127 * - comment_shortcuts
    129128 * - description
     
    131130 * - first_name
    132131 * - ID
    133  * - jabber
    134132 * - last_name
    135133 * - nickname
     
    150148 * - user_status
    151149 * - user_url
    152  * - yim
    153150 *
    154151 * @since 2.8.0
     152 * @since 6.9.0 Removed `aim`, `jabber`, and `yim` as valid values for the `$field` parameter.
    155153 *
    156154 * @global WP_User $authordata The current author's data.
  • trunk/src/wp-includes/user.php

    r60634 r60644  
    29542954 * Sets up the user contact methods.
    29552955 *
    2956  * Default contact methods were removed in 3.6. A filter dictates contact methods.
     2956 * Default contact methods were removed for new installations in WordPress 3.6
     2957 * and completely removed from the codebase in WordPress 6.9.
     2958 *
     2959 * Use the {@see 'user_contactmethods'} filter to add or remove contact methods.
    29572960 *
    29582961 * @since 3.7.0
     2962 * @since 6.9.0 Removed references to `aim`, `jabber`, and `yim` contact methods.
    29592963 *
    29602964 * @param WP_User|null $user Optional. WP_User object.
     
    29632967