WordPress.org

Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #41944, comment 2


Ignore:
Timestamp:
09/21/2017 01:55:12 PM (19 months ago)
Author:
charlestonsw
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #41944, comment 2

    initial v1  
    77
    88And since there are many instances where you are looking up a KEY which can be a MySQL unsigned int doing a select * where key=%u seems prudent.   Unless someone can confirm that PHP sprintf engine allows %d to render a full unsigned int.    I'm not familiar with the internal workings of PHP but the public docs indicate %d and %u are different.
     9
     10I'm not saying "replace %d with %u" , BTW, just saying %u should ALSO be supported.