Changes between Initial Version and Version 2 of Ticket #21431

Timestamp:
07/31/12 17:46:24 (10 months 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.