[wp-trac] [WordPress Trac] #58723: Remove deprecated parameter tests in comments_link()

WordPress Trac noreply at wordpress.org
Thu Jul 6 06:51:55 UTC 2023


#58723: Remove deprecated parameter tests in comments_link()
--------------------------+------------------------------
 Reporter:  Cybr          |       Owner:  (none)
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  Comments      |     Version:
 Severity:  normal        |  Resolution:
 Keywords:                |     Focuses:  performance
--------------------------+------------------------------

Comment (by Cybr):

 Here's the test proving `! empty()` is slower than a plain boolean check:
 https://3v4l.org/YvKIn.

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


More information about the wp-trac mailing list