Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #57728, comment 6


Ignore:
Timestamp:
04/08/2023 03:10:07 PM (8 months ago)
Author:
SergeyBiryukov
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #57728, comment 6

    initial v1  
    11Thanks for the PR!
    22
    3 Looks like it might have unintended consequences though, as some options, e.g. `blog_public`, actually rely on `null` being passed to `update_option()` if the option was not sent to `options.php` see [21849] and [21851] / #16416.
     3Looks like it might have unintended consequences though, as some options, e.g. `blog_public`, actually rely on `null` being passed to `update_option()` if the option was not sent to `options.php`, see [21849] and [21851] / #16416.
    44
    55I believe we can specifically check if `gmt_offset` is a string in `sanitize_option()`, see [attachment:"57728.diff"].