[wp-trac] [WordPress Trac] #37889: "Add post" overwriting a previous post in 4.6

WordPress Trac noreply at wordpress.org
Thu Oct 18 10:44:10 UTC 2018


#37889: "Add post" overwriting a previous post in 4.6
-------------------------------+-----------------------------
 Reporter:  tgelles            |       Owner:  (none)
     Type:  defect (bug)       |      Status:  closed
 Priority:  normal             |   Milestone:
Component:  Posts, Post Types  |     Version:
 Severity:  normal             |  Resolution:  invalid
 Keywords:                     |     Focuses:  administration
-------------------------------+-----------------------------

Comment (by francishunger):

 I'm using in my .htaccess for speed optimization.

 {{{
 ExpiresByType text/html "access plus 1 month"
 }}}

 I had to commend it out, to make the problem go away.

 The functions.php technique ''adding no-cache'' didn't work for me.

 Putting a ''.htaccess'' into the ''wp-admin'' directory, with would set
 the Expires to ''access plus 0 seconds'' and overwrite the other
 ''.htaccess'' didn't work either.

 The optimum solution would be, to have the frontend with long Expires and
 the Backend with immediate expires.

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


More information about the wp-trac mailing list