[wp-trac] [WordPress Trac] #12076: Admin > User contact methods extended

WordPress Trac wp-trac at lists.automattic.com
Fri Jan 29 13:12:40 UTC 2010


#12076: Admin > User contact methods extended
-------------------------+--------------------------------------------------
 Reporter:  F J Kaiser   |       Owner:                                                                                  
     Type:  enhancement  |      Status:  new                                                                             
 Priority:  normal       |   Milestone:  3.0                                                                             
Component:  Users        |     Version:  2.9.1                                                                           
 Severity:  normal       |    Keywords:  Usermeta, User, skype, aim, jabber, google talk, yahoo im, facebook, twitter, im
-------------------------+--------------------------------------------------
Changes (by F J Kaiser):

  * keywords:  Usermeta, User, skype, aim, jabber, google talk, yahoo im =>
               Usermeta, User, skype, aim, jabber, google
               talk, yahoo im, facebook, twitter, im


Comment:

 so, we can simply change


 {{{
 324  function _wp_get_user_contactmethods() {
  325      $user_contactmethods = array(
  326          'aim' => __('AIM'),
  327          'yim' => __('Yahoo IM'),
  328          'jabber' => __('Jabber / Google Talk')
  329      );
  330      return
 apply_filters('user_contactmethods',$user_contactmethods);
  331  }

 }}}

 to


 {{{
 324  function _wp_get_user_contactmethods() {
  325      $user_contactmethods = array(
  326          'twitter' => __('Twitter'),
  327          'facebook' => __('Facebook'),
  328          'skype' => __('Skype')
  329      );
  330      return
 apply_filters('user_contactmethods',$user_contactmethods);
  331  }
 }}}

 I´m sry for simply pasting this in here. i a) don´t know how to add
 patches b) don´t use twitter c) have no idea what data facebook needs.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/12076#comment:3>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list