[wp-trac] [WordPress Trac] #40059: Exclude a category site wide creates a 404 on calendar widget next month
    WordPress Trac 
    noreply at wordpress.org
       
    Tue Mar  7 13:50:57 UTC 2017
    
    
  
#40059: Exclude a category site wide creates a 404 on calendar widget next month
--------------------------+------------------------
 Reporter:  BackuPs       |       Owner:
     Type:  defect (bug)  |      Status:  closed
 Priority:  normal        |   Milestone:
Component:  General       |     Version:  4.7.3
 Severity:  normal        |  Resolution:  duplicate
 Keywords:                |     Focuses:
--------------------------+------------------------
Changes (by SergeyBiryukov):
 * status:  new => closed
 * resolution:   => duplicate
 * milestone:  Awaiting Review =>
Comment:
 Hi @BackuPs, thanks for the ticket!
 > Looking into general-template.php i can see that the previous and next
 do not take into account for excluded categories. There is also no filter
 to add excluded categories into the arguments passed to the query.
 That's right, the calendar should be switched over to user `get_posts()`
 instead of custom SQL queries.
 We're already tracking this issue in #29319.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/40059#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
    
    
More information about the wp-trac
mailing list