[wp-trac] [WordPress Trac] #44374: Remove deprecated contact methods

WordPress Trac noreply at wordpress.org
Mon Jun 1 10:27:48 UTC 2020


#44374: Remove deprecated contact methods
----------------------------+------------------------------
 Reporter:  butterflymedia  |       Owner:  (none)
     Type:  defect (bug)    |      Status:  new
 Priority:  normal          |   Milestone:  Awaiting Review
Component:  Users           |     Version:  4.9.6
 Severity:  normal          |  Resolution:
 Keywords:  needs-patch     |     Focuses:
----------------------------+------------------------------

Comment (by Presskopp):

 As far as I understand this I'd say we could at least empty out the
 function wp_get_user_contact_methods(), meaning to delete the complete if
 statement in user.php, Line 2210:


 {{{
 function wp_get_user_contact_methods( $user = null ) {
         $methods = array();
         if ( get_site_option( 'initial_db_version' ) < 23588 ) {
                 $methods = array(
                         'aim'    => __( 'AIM' ),
                         'yim'    => __( 'Yahoo IM' ),
                         'jabber' => __( 'Jabber / Google Talk' ),
                 );
         }
 }}}

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/44374#comment:5>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list