[wp-trac] [WordPress Trac] #34405: Retrieval of meta value that is an array.

WordPress Trac noreply at wordpress.org
Tue Nov 3 03:03:47 UTC 2015


#34405: Retrieval of meta value that is an array.
----------------------------------------+------------------------------
 Reporter:  alexwbaumann                |       Owner:
     Type:  defect (bug)                |      Status:  new
 Priority:  normal                      |   Milestone:  Awaiting Review
Component:  Options, Meta APIs          |     Version:  4.3.1
 Severity:  normal                      |  Resolution:
 Keywords:  has-patch needs-unit-tests  |     Focuses:
----------------------------------------+------------------------------

Comment (by alexwbaumann):

 This is my first time attempting to do a unit test. Following the
 directions to get everything installed, I can get expected results when
 attempting to just compare simple strings.

 When I would run the unit test I uploaded, I could not get it to reproduce
 the result that I was experiencing to submit this ticket. I found that
 this seems to because that during sanitizing, it was now using the 'raw'
 context instead of 'edit'.

 Any pointers to help with creating a unit test that would work as we
 expect would be a great help.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/34405#comment:3>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list