Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #12930, comment 16


Ignore:
Timestamp:
02/21/2013 11:28:26 AM (11 years ago)
Author:
hexalys
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #12930, comment 16

    initial v1  
    55
    66Right now add_option() store options as serialized while update_option() stores them as arrays which is very inconsistent.
    7 It really messes things up, especially with a memory cache, where you suddenly may get unexpected arrays instead of serialized values,but can't really know for sure what you will get.
     7It really messes things up, especially with a memory cache, where you suddenly may get unexpected arrays instead of serialized values, but can't really know for sure what you will get.