Make WordPress Core

Opened 4 years ago

Closed 4 years ago

Last modified 4 years ago

#46279 closed defect (bug) (invalid)

Parameters for get_the_author_meta()

Reported by: milana_cap's profile milana_cap Owned by:
Milestone: Priority: normal
Severity: normal Version:
Component: Users Keywords: has-patch
Focuses: docs Cc:


In docs for get_the_author_meta() some parameters are deprecated (yim, jabber) and some are missing (facebook, twitter etc).

Attachments (3)

46279.patch (522 bytes) - added by milana_cap 4 years ago.
46279.diff (680 bytes) - added by mukesh27 4 years ago.
Remove "aim" as it is also deprecated.
46279-1.patch (634 bytes) - added by milana_cap 4 years ago.

Download all attachments as: .zip

Change History (8)

4 years ago

#1 follow-up: @mukesh27
4 years ago

@milana_cap, Can't find googleplus, twitter, facebook in user meta.

4 years ago

Remove "aim" as it is also deprecated.

#2 in reply to: ↑ 1 @milana_cap
4 years ago

Replying to mukesh27:

@milana_cap, Can't find googleplus, twitter, facebook in user meta.

Ah, you're right. That was a plugin. Only url should be added then.

4 years ago

#3 @swissspidy
4 years ago

It's worth noting that the aim, jabber, and yim fields were removed as default user contact methods for new installations. See wp_get_user_contact_methods(). That means old sites potentially still have these fields, which makes these totally valid arguments for get_the_author_meta().

#4 @mukesh27
4 years ago

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

@swissspidy, Yes aim, jabber, and yim are use for backward compatibility for old WordPress installations so it is not required to remove that from get_the_author_meta() function documentation and @milana_cap said that those new fields(facebook, twitter etc) coming from plugin.

So i am going to close this ticket as it was not required any action. Feel free to open ticket again if i miss understood anything.

#5 @ocean90
4 years ago

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