Changes between Initial Version and Version 1 of Ticket #22556, comment 10
- Timestamp:
- 12/19/12 20:08:06 (5 months ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #22556, comment 10
initial v1 1 1 Just encountered this myself. It seems to me the best approach would be to treat attachments more like regular post types, in that all post statuses should be available to them as well. That way, if it's status is set to inherit, we can assume to check the parent for it's status. Likewise, if it is set as publish, treat it as it's own post - no need to do the status join. 2 3 Also, this would assign regular permalinks for those "unattached" (publish) attachments or the current (based on post parent) style permalinks for "attached" (inherit) attachments.
