Make WordPress Core

Changes between Version 3 and Version 4 of Ticket #57131, comment 6


Ignore:
Timestamp:
11/18/2022 01:23:45 AM (17 months ago)
Author:
omaeyusuke
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #57131, comment 6

    v3 v4  
    1717}}}
    1818
    19 Also, since you are accepting int, there is no option not to use `get_post()` inside the function to check for non-existent posts, then I see no thin ...... reason not to accept nullable.
     19Also, since you are accepting int, ~~there is no option not to use `get_post()` inside the function to check for non-existent posts~~, then I see no thin ...... reason not to accept nullable.