Make WordPress Core

Opened 8 years ago

Closed 8 years ago

Last modified 8 years ago

#12076 closed enhancement (duplicate)

Admin > User contact methods extended

Reported by: F J Kaiser Owned by:
Milestone: Priority: normal
Severity: normal Version: 2.9.1
Component: Users Keywords: Usermeta, User, skype, aim, jabber, google talk, yahoo im, facebook, twitter, im
Focuses: Cc:



i think we can say, that AIM/Yahoo IM/Jabber are pretty old now. On the one hand i would say: Drop this and leave the implementation to a plugin (me: +1). On the other hand (if it doesn´t get dropped) i would say: extend it. As a minimum i would say: Add Skype.

I found the related function in /wp-includes/registration.php http://phpxref.ftwr.co.uk/wordpress/nav.html?_functions/index.html

but i don´t know where this get´s saved in the db. if it´s the user_meta-table it should be no problem to pass ex. skype into the functions array. (but i would really like to see this getting depr.)

Change History (5)

#1 @F J Kaiser
8 years ago

edit: (in case leaving this to plugins, which can offer more and more customized options) /wp-admin/user-edit.php > delete row 298 to 307 and /wp-includes/registration.php > delete line 314 to 333 - that should make it.

#2 @dd32
8 years ago

See also:

#11541: enhancement: Remove all IM fields from core. (accepted)

#11367: enhancement: Add Twitter & Facebook Options to User Contact Info (accepted)

#3 @F J Kaiser
8 years ago

  • Keywords facebook twitter added

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  }


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.

#4 @F J Kaiser
8 years ago

  • Resolution set to duplicate
  • Status changed from new to closed

ah. sry, didn´t reload the page, before answering... think we can close this ticket as dublicate.

#5 @nacin
8 years ago

  • Milestone 3.0 deleted
Note: See TracTickets for help on using tickets.