[wp-trac] [WordPress Trac] #37226: Main Publish/Update button is updating also custom meta fields.
WordPress Trac
noreply at wordpress.org
Wed Jun 29 13:24:41 UTC 2016
#37226: Main Publish/Update button is updating also custom meta fields.
--------------------------+-----------------------------
Reporter: Er_eri | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: General | Version: 4.5.3
Severity: normal | Keywords:
Focuses: |
--------------------------+-----------------------------
This issue is affecting plugins that uses ajax to update values. I have a
custom meta box to update post custom meta with ajax. If i have to update
the content and the meta value (with ajax) at the same time, the main
Publish/Update button is ignoring previous value saved with ajax. In order
to save meta value with ajax, i have to update the value and then refresh
the page, to update the content.
Is also affecting "post_views_count" plugin. If i have to edit an old
post, and while updating, the post has new views, after i hit Update
button, will ignore the new views of the post and will save the old number
of views.
If there is already a small Update button on Custom Fields that updates
meta value with ajax, the main Publish/Update button shouldn't update the
meta fields.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/37226>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list