[wp-trac] [WordPress Trac] #39826: LIMIT clause not required in get_options function as there's already a UNIQUE KEY on option_name

WordPress Trac noreply at wordpress.org
Thu May 7 05:50:05 UTC 2020


#39826: LIMIT clause not required in get_options function as there's already a
UNIQUE KEY on option_name
-------------------------------------+------------------------------
 Reporter:  arjenlentz               |       Owner:  (none)
     Type:  enhancement              |      Status:  new
 Priority:  normal                   |   Milestone:  Awaiting Review
Component:  Database                 |     Version:  4.7.2
 Severity:  normal                   |  Resolution:
 Keywords:  2nd-opinion needs-patch  |     Focuses:
-------------------------------------+------------------------------
Changes (by markparnell):

 * keywords:   => 2nd-opinion needs-patch
 * component:  General => Database


Comment:

 @arjenlentz we discussed this in a bug scrub today, and it sounds
 reasonable. Tagging as `2nd-opinion` in case there is some history we're
 not aware of though.

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


More information about the wp-trac mailing list