[wp-trac] [WordPress Trac] #32565: Adding an underscore prefix meta key with a meta value provides an incorrect error message

WordPress Trac noreply at wordpress.org
Fri Oct 16 16:54:12 UTC 2015


#32565: Adding an underscore prefix meta key with a meta value provides an
incorrect error message
--------------------------------+-----------------------------
 Reporter:  danielpataki        |       Owner:  SergeyBiryukov
     Type:  enhancement         |      Status:  assigned
 Priority:  normal              |   Milestone:  4.4
Component:  Options, Meta APIs  |     Version:  4.3
 Severity:  normal              |  Resolution:
 Keywords:  has-patch           |     Focuses:
--------------------------------+-----------------------------

Comment (by MikeHansenMe):

 [attachment: 32565.3.diff] adds a the missing braces, removes assignment
 from inside the if, minor clean up, and stricter checks on $metakeyinput
 and $metakeyselect.

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


More information about the wp-trac mailing list