WordPress.org

Make WordPress Core

Opened 7 years ago

Closed 7 years ago

#6800 closed defect (bug) (invalid)

why use get_user_meta(user_id) at all?

Reported by: Denis-de-Bernardy Owned by:
Milestone: Priority: normal
Severity: normal Version: 2.5
Component: Optimization Keywords: dev-feedback
Focuses: Cc:

Description

http://trac.wordpress.org/changeset/7764

got me wondering what the point in get_user_meta($user_id) might be at all... Retrieving unnamed meta is completely pointless anyway. Why doesn't it return false when no meta_key is entered?

D.

Change History (2)

comment:1 @DD327 years ago

  • Keywords dev-feedback added
  • Milestone set to 2.7

comment:2 @pishmishy7 years ago

  • Milestone 2.7 deleted
  • Resolution set to invalid
  • Status changed from new to closed

I think this particular function has disappeared from trunk unless I've overlooked something. Please feel free to correct me.

Note: See TracTickets for help on using tickets.