[wp-trac] [WordPress Trac] #49355: "Publishing failed. Error message: Could not update post in the database" caused by encoding

WordPress Trac noreply at wordpress.org
Thu Nov 26 05:21:52 UTC 2020


#49355: "Publishing failed. Error message: Could not update post in the database"
caused by encoding
-------------------------------+------------------------------
 Reporter:  1000camels         |       Owner:  (none)
     Type:  defect (bug)       |      Status:  new
 Priority:  normal             |   Milestone:  Awaiting Review
Component:  Posts, Post Types  |     Version:  5.3.2
 Severity:  normal             |  Resolution:
 Keywords:  needs-patch        |     Focuses:
-------------------------------+------------------------------
Changes (by noisysocks):

 * keywords:   => needs-patch
 * component:  Editor => Posts, Post Types


Comment:

 I created a post with 𝐀 𝐖𝐢𝐧 𝐟𝐨𝐫 𝐚 𝐉𝐮𝐬𝐭𝐢𝐜𝐞 𝐂𝐞𝐧𝐭𝐫𝐞 𝐂𝐥𝐢𝐞𝐧𝐭! as the title and
 was able to publish it. The `post_title` looked correct when I looked at
 the post in phpMyAdmin.

 I was not, however, able to preview or view the post. I got a 404 error.
 It looks like the `post_name` is URL escaped and that WordPress is choking
 on finding the post by its slug.

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


More information about the wp-trac mailing list