Make WordPress Core

Opened 15 years ago

Closed 14 years ago

#14123 closed enhancement (fixed)

Introduce get_users()

Reported by: scribu's profile scribu Owned by: scribu's profile 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)

#1 @scribu
15 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

#2 @johnbillion
15 years ago

  • Cc johnbillion@… added

#4 @voyagerfan5761
15 years ago

  • Cc WordPress@… added

#5 @scribu
15 years ago

So, the function is in: [15491]

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

#6 @scribu
15 years ago

Related: #14123

#7 @scribu
15 years ago

I meant #14572

#8 @scribu
15 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.

#9 @scribu
14 years ago

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

#10 @scribu
14 years ago

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

#11 @nacin
14 years ago

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

#12 @nacin
14 years ago

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