[wp-trac] [WordPress Trac] #29269: save_post doesn't fire when unavailable page template saved to page

WordPress Trac noreply at wordpress.org
Thu Aug 21 13:02:34 UTC 2014


#29269: save_post doesn't fire when unavailable page template saved to page
-------------------------------+------------------------------
 Reporter:  matthewdietsche    |       Owner:
     Type:  defect (bug)       |      Status:  new
 Priority:  normal             |   Milestone:  Awaiting Review
Component:  Posts, Post Types  |     Version:  2.6
 Severity:  major              |  Resolution:
 Keywords:                     |     Focuses:
-------------------------------+------------------------------
Changes (by bobbingwide):

 * severity:  normal => major


Comment:

 I'm sure this is a duplicate of the problem I commented on in #26809.
 where I added this note.

 In my experience, this bug can lead to loss of data.
 It prevents post meta data from being saved, with no message to the user.

 In the announcement for WordPress 3.8.3 it was stated that "any loss of
 content is unacceptable".

 I added that

 While I don't believe this bug deserves its own quickfix, I'd like it to
 be reconsidered.

 Nothing's happened on #26809. My 26809.1.patch applies directly to this
 bug.


 A workaround is to manually delete the row from the wp_postmeta table
 where meta_key = 'wp_page_template'.

 PS. I have just repeated the process of tracking down this bug. So I'm
 rather annoyed! Perhaps I should have applied the workaround 6 months ago
 when I first discovered the problem and developed my fix.

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


More information about the wp-trac mailing list