[wp-trac] [WordPress Trac] #44374: Remove deprecated contact methods
WordPress Trac
noreply at wordpress.org
Fri Jun 15 15:32:17 UTC 2018
#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 | Keywords: needs-patch
Focuses: |
----------------------------+-----------------------------
AIM is dead (December 15, 2017), Yahoo Messenger will be shut down on July
17, 2018. I'm not sure about Google Talk, I think it's been retired a long
time ago. In May 2013, Hangouts replaced Google Talk.
The way people are managing the contact methods nowadays is:
{{{#!php
<?php
function cinnamon_extra_contact_info($contactmethods) {
// Remove default contact methods
unset($contactmethods['aim']);
unset($contactmethods['yim']);
unset($contactmethods['jabber']);
// Add extra contact methods
$contactmethods['facebook'] = 'Facebook';
$contactmethods['twitter'] = 'Twitter';
$contactmethods['googleplus'] = 'Google+';
return $contactmethods;
}
add_filter('user_contactmethods', 'cinnamon_extra_contact_info');
}}}
All three of them need to be removed.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/44374>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list