[wp-trac] [WordPress Trac] #23753: Switch to JSON encoding instead of PHP serialisation

WordPress Trac noreply at wordpress.org
Wed Mar 13 13:32:51 UTC 2013


#23753: Switch to JSON encoding instead of PHP serialisation
-----------------------------+------------------------------
 Reporter:  sanchothefat     |       Owner:
     Type:  feature request  |      Status:  closed
 Priority:  normal           |   Milestone:  Awaiting Review
Component:  Database         |     Version:  trunk
 Severity:  minor            |  Resolution:  wontfix
 Keywords:  dev-feedback     |
-----------------------------+------------------------------
Changes (by sanchothefat):

 * status:  new => closed
 * resolution:   => wontfix


Comment:

 Replying to [comment:2 johnbillion]:

 Thanks John, now that I'm thinking about it more I can see why so as you
 suggest fixing unicode serialisation would be a better proposal.

 I'll post an example from the twitter API where I noticed it first as soon
 as I find one. Can't seem to replicate it directly with `serialize` and
 `unserialize` using unicode emoticons and the like just yet. Must have
 been a very obscure character.

 In the meantime this outlines one possible way to get around the issue:

 http://davidwalsh.name/php-serialize-unserialize-issues

 I think my question has been answered anyway. Will close the ticket.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/23753#comment:5>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list