[wp-trac] [WordPress Trac] #57213: Coding standards : Use Strict Comparison except Loose Comparison wp-includes/class-wp-hook.php

WordPress Trac noreply at wordpress.org
Fri Jan 20 19:53:39 UTC 2023


#57213: Coding standards : Use Strict Comparison except Loose Comparison wp-
includes/class-wp-hook.php
-------------------------------------+-------------------------------
 Reporter:  rockonshajib             |       Owner:  (none)
     Type:  enhancement              |      Status:  new
 Priority:  normal                   |   Milestone:  6.2
Component:  General                  |     Version:  4.7
 Severity:  normal                   |  Resolution:
 Keywords:  has-patch needs-testing  |     Focuses:  coding-standards
-------------------------------------+-------------------------------
Changes (by johnbillion):

 * keywords:  has-patch commit => has-patch needs-testing


Comment:

 Is there a performance impact to this change? I doubt it but I'd like to
 see some numbers, possibly with PHPBench similar to #53218. We're allowed
 to nitpick and micro-optimise `apply_filters()` and `do_action()` because
 they're used so frequently :)

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


More information about the wp-trac mailing list