[wp-trac] [WordPress Trac] #36265: SHOW FULL COLUMNS FROM from `wp_posts`

WordPress Trac noreply at wordpress.org
Wed Mar 16 18:59:44 UTC 2016


#36265: SHOW FULL COLUMNS FROM from `wp_posts`
--------------------------+-----------------------------
 Reporter:  klassicd      |      Owner:
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  General       |    Version:  4.4.2
 Severity:  normal        |   Keywords:
  Focuses:                |
--------------------------+-----------------------------
 I can successfully register post types greater than 20 characters using
 `register_post_type()` which causes the database to fail silently when I
 try to insert a custom post using `wp_insert_post()`.   The error is `SHOW
 FULL COLUMNS FROM from wp_posts` and can be fixed by increasing the
 `post_type` column size.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/36265>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list