[wpmu-trac] Re: [WordPress MU Trac] #385: Loss of plugin data when Site Admin edits blog under Site Admin -> Blogs ->(edit individual blog)

WordPress MU Trac wpmu-trac at lists.automattic.com
Wed Aug 8 04:24:46 GMT 2007


#385: Loss of plugin data when Site Admin edits blog under Site Admin -> Blogs
->(edit individual blog)
-------------------------------------+--------------------------------------
 Reporter:  lunabyte                 |        Owner:  donncha 
     Type:  defect                   |       Status:  assigned
 Priority:  highest                  |    Milestone:  WPMU 2.0
Component:  component1               |      Version:  1.0     
 Severity:  critical                 |   Resolution:          
 Keywords:  plugin option loss data  |  
-------------------------------------+--------------------------------------
Comment (by lunabyte):

 Donncha,

 we're not talking about serialized date. Not all fields are serialized.

 Example:

 Plugin adds 3 fields to wp_X_options. Lets say they are pl_op1, pl_op2,
 pl_op3.

 Now, let's say pl_op2 is entered on the plugins specific admin page as a
 text area. That text area then is added, line breaks and all, as the value
 for that option field.

 Then, that field isn't serialized, because it's its own separate value and
 not part of an array, etc.

 So, the end result, is that if the site admin goes to edit the blog
 options under Site Admin -> Blogs -> Edit (individual blog), any
 additional line option on that field is cut off.

 Hope that makes more sense.

-- 
Ticket URL: <http://trac.mu.wordpress.org/ticket/385#comment:2>
WordPress MU Trac <http://mu.wordpress.org/>
WordPress Multiuser


More information about the wpmu-trac mailing list