[wp-trac] [WordPress Trac] #59434: Changing permalink structure results in failure to save draft posts

WordPress Trac noreply at wordpress.org
Sat Sep 23 21:07:45 UTC 2023


#59434: Changing permalink structure results in failure to save draft posts
--------------------------+-----------------------------
 Reporter:  omikheev      |      Owner:  (none)
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  Permalinks    |    Version:
 Severity:  normal        |   Keywords:
  Focuses:                |
--------------------------+-----------------------------
 Steps to reproduce:
 1. On a fresh install change Permalink structure from plain to Month and
 date
 2. Create new Blog Post
 3. Click Save draft
 EXPECTED: draft is saved
 OBSERVED: Error "Updating failed. The response is not a valid JSON
 response."

 Root cause:

 POST https://abc.com/wp-json/wp/v2/posts/93?_locale=user
 HTTP/1.1 404 Not Found
 Date: Sat, 23 Sep 2023 21:05:16 GMT
 Server: Apache/2.4.57 (CentOS Stream) OpenSSL/3.0.7
 Content-Length: 196
 Keep-Alive: timeout=5, max=100
 Connection: Keep-Alive
 Content-Type: text/html; charset=iso-8859-1

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


More information about the wp-trac mailing list