#6277 closed defect (bug) (wontfix)
wp_list_pages shows pages whose parent is not published
Reported by: |
|
Owned by: |
|
---|---|---|---|
Milestone: | Priority: | high | |
Severity: | normal | Version: | 2.5 |
Component: | Security | Keywords: | |
Focuses: | Cc: |
Description
wp_list_pages use to exclude pages whose parent was private or unpublished. The behaviour has now changed, and these pages and returned as orphans at the end of the list. This potentially exposes pages which the webmaster would previously have considered hidden. This change seems to have occurred between beta 1 and RC-1.
Change History (4)
#3
@
15 years ago
- Resolution set to wontfix
- Status changed from assigned to closed
<eagleclaw> the ticket complains another issue: suppose page5 is private, and page5 has children page6, and page7, both are "publish". The ticket complains that page6 and page7 should not be listed, since their parent (page5) is private
<rboren> ah, gotcha
<rboren> I need more coffee.
<rboren> I'm not sure whether the consider the old or the new behavior a bug.
<eagleclaw> me too. I think the new way is acceptable
Page should be treated individually. If user want a page to be private, he should set it to private. Inheriting the "private" status can be tricky and misleading
<rboren> Agreed. I think wontfix is acceptable for that ticket.
<eagleclaw> cool
I'll take a look at this.