[wp-trac] [WordPress Trac] #52252: PHP Notice when `monthnum` query var is set without the `year` QV

WordPress Trac noreply at wordpress.org
Mon Aug 8 15:18:34 UTC 2022


#52252: PHP Notice when `monthnum` query var is set without the `year` QV
-------------------------------------------------+-------------------------
 Reporter:  dd32                                 |       Owner:
                                                 |  peterwilsoncc
     Type:  defect (bug)                         |      Status:  closed
 Priority:  normal                               |   Milestone:  6.1
Component:  Rewrite Rules                        |     Version:  4.3
 Severity:  normal                               |  Resolution:  fixed
 Keywords:  has-patch early needs-unit-tests     |     Focuses:
  commit                                         |
-------------------------------------------------+-------------------------

Comment (by TimothyBlynJacobs):

 Instead of `assertTrue( true )` we could potentially use
 `addToAssertionCount( 1 )`. Not sure if that is preferred, but thought I'd
 mention it.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/52252#comment:30>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list