[wp-trac] [WordPress Trac] #24284: is_multi_author() should query by specific post type and status
WordPress Trac
noreply at wordpress.org
Sun May 4 23:48:58 UTC 2014
#24284: is_multi_author() should query by specific post type and status
-------------------------+------------------------------
Reporter: alex-ye | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: General | Version:
Severity: normal | Resolution:
Keywords: needs-patch | Focuses:
-------------------------+------------------------------
Comment (by cais):
Good thing I searched first, although this is not what I had in mind ...
... looking through my notes for some feature ideas I happened across the
`is_multi_author` function and thought I might put it to use, at least
until I saw it was basically incomplete for a standard WordPress
installation. It would be negligent to think WordPress installations could
only be filled with ```posts``` for multiple authors. I would actually
more expect to see multiple authors when the installation is only filled
with ```pages``` and looking at this function as is, it only queries for
posts and ignores the possibility another author may only write pages, or
that the site only contains pages and no posts.
Modifying the query should be easy enough to also take into account
```pages```
--
Ticket URL: <https://core.trac.wordpress.org/ticket/24284#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list