WordPress.org

Make WordPress Core

Opened 4 years ago

Closed 3 years ago

#14123 closed enhancement (fixed)

Introduce get_users()

Reported by: scribu Owned by: scribu
Milestone: 3.1 Priority: normal
Severity: normal Version:
Component: Users Keywords: gsoc
Focuses: Cc:

Description

There should be a simple function for retrieving a list of users, just like get_posts(), get_terms() etc.

Change History (12)

comment:1 scribu4 years ago

I've already started work on this over on the GSoC trac:

http://gsoc.trac.wordpress.org/browser/2010/scribu/wp-includes/user.php#L328

comment:2 johnbillion4 years ago

  • Cc johnbillion@… added

comment:4 voyagerfan57614 years ago

  • Cc WordPress@… added

comment:5 scribu4 years ago

So, the function is in: [15491]

Now we just have to use it where it makes sense.

comment:6 scribu4 years ago

Related: #14123

comment:7 scribu4 years ago

I meant #14572

comment:8 scribu4 years ago

  • Milestone 3.1 deleted
  • Resolution set to duplicate
  • Status changed from new to closed

I'm just going to close this as dup of #14572, since that's where the discussion is happening.

comment:9 scribu3 years ago

(In [16889]) Prevent redundant wp_usermeta JOIN on single-site installs. See #14123

comment:10 scribu3 years ago

(In [16890]) Slight logic tweak to [16889]. See #14123

comment:11 nacin3 years ago

  • Milestone set to 3.1
  • Resolution duplicate deleted
  • Status changed from closed to reopened

comment:12 nacin3 years ago

  • Resolution set to fixed
  • Status changed from reopened to closed
Note: See TracTickets for help on using tickets.