[wp-trac] [WordPress Trac] #13310: Extend option_name to varchar(255)

WordPress Trac noreply at wordpress.org
Mon Oct 20 14:03:43 UTC 2014


#13310: Extend option_name to varchar(255)
---------------------------------------------+-----------------------------
 Reporter:  scribu                           |       Owner:
     Type:  defect (bug)                     |      Status:  assigned
 Priority:  normal                           |   Milestone:  Future Release
Component:  Database                         |     Version:  3.4.2
 Severity:  normal                           |  Resolution:
 Keywords:  has-patch 2nd-opinion 4.1-early  |     Focuses:
---------------------------------------------+-----------------------------

Comment (by Hube2):

 For anyone in the same situation as myself that has altered options_name
 in the DB to allow 255 characters, I have also created a plugin that can
 be used to prevent WP from changing it back again.
 https://github.com/Hube2/wp-update-prevent-db-changes

 Validation is not sufficient because as was just mentioned, 64 characters
 is simply not a sufficient size under all conditions.

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


More information about the wp-trac mailing list