Make WordPress Core

Changes between Initial Version and Version 2 of Ticket #21431


Ignore:
Timestamp:
07/31/2012 05:46:24 PM (13 years ago)
Author:
ryan
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #21431 – Description

    initial v2  
    1 count_many_users_posts() calls get_posts_by_author_sql() which contains some cap checks. This make the output dependent on the current user and not very cacheable. Let's add a means of counting only public posts that skips the cap and current user checks.
     1count_many_users_posts() calls get_posts_by_author_sql() which contains some cap checks. This makes the output dependent on the current user and thus not very cacheable. Let's add a means of counting only public posts that skips the cap and current user checks.