Changes between Initial Version and Version 1 of Ticket #17115, comment 29
- Timestamp:
- 04/05/2016 01:41:34 PM (9 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #17115, comment 29
initial v1 1 1 Patch 17115.5 considers whether a given post supports a particular field before determining if it's presence matters. This will actually cause ''more'' things to be considered empty instead of just post types that have all 3 of these supports. It fixes the too-much-logic in one line that was happening when defining `$maybe_empty`. 2 2 3 In my own project, I ended up utilizing the filter to prevent my post type from being flagged as empty. This is important because much data could be saved in post _meta or taxonomical connections, before a title, content or excerpt could be drafted. Looks a bit like this:3 In my own project, I ended up utilizing the filter to prevent my post type from being flagged as empty. This is important because much data could be saved in post meta or taxonomical connections, before a title, content or excerpt could be drafted. Looks a bit like this: 4 4 5 5 {{{#!php