Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #55942, comment 29


Ignore:
Timestamp:
03/11/2023 03:41:24 AM (15 months ago)
Author:
azaozz
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #55942, comment 29

    initial v1  
    99> We could leverage this to handle saving/retrieving data from the database
    1010
    11 Yep, should be able to. Just need to add some code to "juggle" `number` <=> `float` for the REST API.
     11Yep, should be able to. Just need to add some code to "juggle" `number` <=> `float` for the REST API.
     12
     13On the other hand PHP's `gettype()` returns `double` anyways and it needs to be changed to `float`. Can probably use `number` everywhere in WP (with enough docs/explanations).