WordPress.org

Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #18488, comment 12


Ignore:
Timestamp:
08/26/12 20:31:21 (20 months ago)
Author:
nacin
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #18488, comment 12

    initial v1  
    1 WordPress accepts scalar values for its option, transient, and meta APIs. It also accepts non-scalar values that are serializable. An array is, as are most objects. However, I see no reason to have custom code to handle SinpleXML objects, or any other non-serializable elements. They cannot be serialized for whichever reason the writer decided. 
     1WordPress accepts scalar values for its option, transient, and meta APIs. It also accepts non-scalar values that are serializable. An array is, as are most objects. However, I see no reason to have custom code to handle SimpleXML objects, or any other non-serializable elements. They cannot be serialized for whichever reason the writer decided. 
    22 
    33If you need to store such objects, I suggest you employ a custom workaround. 
    4  I don't see what else we should do here.  
     4 
     5I don't see what else we should do here.