Make WordPress Core

Changes between Version 46 and Version 48 of Ticket #55942


Ignore:
Timestamp:
04/28/2023 03:57:04 AM (17 months ago)
Author:
azaozz
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #55942 – Description

    v46 v48  
    22
    33The initial idea to support "strict" types of the options and meta values remains the same, but the implementation has changed. The new approach is to add another parameter to the above functions. This would ensure 100% backwards compatibility and at the same time will provide approximately the same benefits:
    4        
    54- Consistent types of the return values from `get_option()`, `get_metadata()`.
    65- Reduced use of `maybe_unserialize()` and `is_serialized()`.