Make WordPress Core

Opened 17 years ago

Closed 17 years ago

#7786 closed enhancement (fixed)

get_usernumposts : what if I want to count pages ?

Reported by: malaiac's profile Malaiac Owned by:
Milestone: 2.7 Priority: normal
Severity: normal Version: 2.7
Component: Administration Keywords: has-patch
Focuses: Cc:

Description

in a WP as a CMS usage.

I'd like to count pages (or whatever else) in the "count" column of users listing.

There is no filter between the raw query and the display...

A simple filter addition to correct that.

Attachments (2)

user.php.diff (672 bytes) - added by Malaiac 17 years ago.
user.php.2.diff (680 bytes) - added by Malaiac 17 years ago.
corrected, userid is now a parameter

Download all attachments as: .zip

Change History (3)

@Malaiac
17 years ago

@Malaiac
17 years ago

corrected, userid is now a parameter

#1 @westi
17 years ago

  • Resolution set to fixed
  • Status changed from new to closed

(In [9009]) Add a filter to get_usernumposts. Fixes #7786 props Malaiac.

Note: See TracTickets for help on using tickets.