alleyinteractive / alleyinteractive/wordpress-fieldmanager

Add 'inherit_parent_status' option to Fieldmanager_Datasource_Post

未关闭
#149 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
enhancement
主要语言
PHP
星标
563
派生
99
PR 合并指标
30 天内没有已合并 PR

描述

`Fieldmanager_Datasource_Post` currently has the `publish_with_parent` option which will publish the "child" posts of the current post when it is published. If the "parent" is then unpublished or trashed, the "children" posts are left published (and might be orphaned). We should consider adding a `inherit_parent_status` option which will trickle changes to children when a parent is published, unpublished, trashed, deleted, etc.

One consideration here is that the one-to-many relationship is not guaranteed. That is, a child post may have more than one parent, which creates a confusing situation. We might want to make it such that a child may only have one parent if this feature is enabled.

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。