[wp-trac] [WordPress Trac] #64913: Code Quality: Replace is_integer() with is_int() for consistency

WordPress Trac noreply at wordpress.org
Tue Mar 24 14:28:25 UTC 2026


#64913: Code Quality: Replace is_integer() with is_int() for consistency
--------------------------+-------------------------------
 Reporter:  Soean         |       Owner:  (none)
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  7.1
Component:  General       |     Version:
 Severity:  normal        |  Resolution:
 Keywords:  has-patch     |     Focuses:  coding-standards
--------------------------+-------------------------------
Changes (by westonruter):

 * milestone:  Awaiting Review => 7.1


Comment:

 Replying to [comment:2 Soean]:
 > Maybe we should include:
 >
 > `is_double()` => `is_float()`
 > `is_long()` => `is_int()`

 Makes sense to me.

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


More information about the wp-trac mailing list