[wp-trac] [WordPress Trac] #17771: URL-encoded comment_author_url gets broken by MySQL varchar 200 length limit

WordPress Trac noreply at wordpress.org
Wed Sep 21 17:26:23 UTC 2016


#17771: URL-encoded comment_author_url gets broken by MySQL varchar 200 length
limit
---------------------------------+-----------------------------
 Reporter:  tenpura              |       Owner:  SergeyBiryukov
     Type:  defect (bug)         |      Status:  reviewing
 Priority:  normal               |   Milestone:  4.7
Component:  Pings/Trackbacks     |     Version:  3.2
 Severity:  normal               |  Resolution:
 Keywords:  has-patch 4.7-early  |     Focuses:
---------------------------------+-----------------------------

Comment (by jorbin):

 Replying to [comment:14 dshanske]:
 > I'm wondering if the best solution isn't to start storing the pingback
 URL in comment meta by default for new pingbacks and only check
 comment_author_url if the meta key doesn't exist. I'm worried about the
 backcompat implications.

 This seems like a good solution to me that would be backwards compatible.
 My one question that I'm not sure about is if we are currently loading
 meta for all comments. If not, this could add a DB query.

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


More information about the wp-trac mailing list