Make WordPress Core

Changes between Version 2 and Version 3 of Ticket #24415, comment 2


Ignore:
Timestamp:
02/21/2014 08:18:39 PM (12 years ago)
Author:
jessepollak
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #24415, comment 2

    v2 v3  
    6262For a temporary fix, users can add {{{protected => true}}} to their custom post status.
    6363
    64 For a long term fix, I recommend that we make that an OR query, so we get posts with {{{protected}}} statuses and all posts with {{{show_in_admin_all_list}}} statuses. '''EDIT''': this fix won't work because it will add duplicate values and add private posts if they are in categories that have {{{show_in_admin_all_list}}}. 
     64~~For a long term fix, I recommend that we make that an OR query, so we get posts with {{{protected}}} statuses and all posts with {{{show_in_admin_all_list}}} statuses.~~ '''EDIT''': this fix won't work because it will add duplicate values and add private posts if they are in categories that have {{{show_in_admin_all_list}}}. 
    6565
    6666For a real fix, it'd be awesome if someone who knows the public/protected/private categories better could weigh in on whether they are mutually exclusive or not. For instance, would it be OK to add an additional case where {{{array('public' => false, 'show_in_admin_all_list' => true)}}} or could that also unearth private posts? I guess we could add a {{{'private' => false}}} to that query, but then we're targeting very specifically, which seems not great. Ideally, we wouldn't expand from these three cases, just make them a little looser.