WordPress.org

Make WordPress Core

Opened 5 years ago

Closed 4 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 @scribu5 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 @johnbillion5 years ago

  • Cc johnbillion@… added

comment:4 @voyagerfan57615 years ago

  • Cc WordPress@… added

comment:5 @scribu5 years ago

So, the function is in: [15491]

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

comment:6 @scribu5 years ago

Related: #14123

comment:7 @scribu5 years ago

I meant #14572

comment:8 @scribu5 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 @scribu4 years ago

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

comment:10 @scribu4 years ago

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

comment:11 @nacin4 years ago

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

comment:12 @nacin4 years ago

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