[wp-trac] [WordPress Trac] #30775: Delete empty post problem
WordPress Trac
noreply at wordpress.org
Tue Nov 10 07:42:07 UTC 2015
#30775: Delete empty post problem
------------------------------------+-----------------------------
Reporter: axdr | Owner: wonderboymusic
Type: defect (bug) | Status: assigned
Priority: normal | Milestone: 4.4
Component: Posts, Post Types | Version: 3.3
Severity: normal | Resolution:
Keywords: has-patch dev-feedback | Focuses:
------------------------------------+-----------------------------
Changes (by DrewAPicture):
* keywords: has-patch => has-patch dev-feedback
* owner: boonebgorges => wonderboymusic
Comment:
@wonderboymusic: In my testing [attachment:30775.diff] fixes the issue and
seems logical. As an alternative, I've attached [attachment:30775.2.diff],
which moves the `! $update` check to the conditionals list for
`$maybe_empty`.
Seems like if anybody is doing something interesting with the filter, that
might be a better choice to combine it.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/30775#comment:7>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list