WordPress.org

Make WordPress Core


Ignore:
Timestamp:
08/20/2009 07:51:43 PM (12 years ago)
Author:
westi
Message:

Move _wp_get_user_contactmethods() into the registrations functions file so it is always available when required. Fixes #10662.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/includes/user.php

    r11784 r11852  
    838838}
    839839
    840 /**
    841  * Setup the default contact methods
    842  *
    843  * @access private
    844  * @since
    845  *
    846  * @return array $user_contactmethods Array of contact methods and their labels.
    847  */
    848 function _wp_get_user_contactmethods() {
    849     $user_contactmethods = array(
    850         'aim' => __('AIM'),
    851         'yim' => __('Yahoo IM'),
    852         'jabber' => __('Jabber / Google Talk')
    853     );
    854     return apply_filters('user_contactmethods',$user_contactmethods);
    855 }
    856 
    857840?>
Note: See TracChangeset for help on using the changeset viewer.