WordPress.org

Make WordPress Core

Opened 20 months ago

Closed 20 months ago

Last modified 20 months ago

#46279 closed defect (bug) (invalid)

Parameters for get_the_author_meta()

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

Description

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 20 months ago.
46279.diff (680 bytes) - added by mukesh27 20 months ago.
Remove "aim" as it is also deprecated.
46279-1.patch (634 bytes) - added by milana_cap 20 months ago.

Download all attachments as: .zip

Change History (8)

@milana_cap
20 months ago

#1 follow-up: @mukesh27
20 months ago

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

@mukesh27
20 months ago

Remove "aim" as it is also deprecated.

#2 in reply to: ↑ 1 @milana_cap
20 months 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.

#3 @swissspidy
20 months 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
20 months 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
20 months ago

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