WordPress.org

Make WordPress Core

Opened 6 years ago

Closed 6 years ago

#7786 closed enhancement (fixed)

get_usernumposts : what if I want to count pages ?

Reported by: 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 6 years ago.
user.php.2.diff (680 bytes) - added by Malaiac 6 years ago.
corrected, userid is now a parameter

Download all attachments as: .zip

Change History (3)

Malaiac6 years ago

Malaiac6 years ago

corrected, userid is now a parameter

comment:1 westi6 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.