[wp-trac] Re: [WordPress Trac] #3317: Protected posts should not be
found in searches
WordPress Trac
wp-trac at lists.automattic.com
Tue Apr 21 20:59:48 GMT 2009
#3317: Protected posts should not be found in searches
--------------------------+-------------------------------------------------
Reporter: dosa | Owner: anonymous
Type: defect (bug) | Status: reopened
Priority: normal | Milestone: 2.8
Component: Security | Version: 2.5.1
Severity: normal | Resolution:
Keywords: needs-patch |
--------------------------+-------------------------------------------------
Changes (by Nicholas91):
* cc: dragos.nicholas@… (added)
* keywords: => needs-patch
Comment:
Replying to [comment:9 netsensei]:
> I've looked at this issue. Just wanted some feedback.
>
> My solution would be to change the query to exclude all password
protected posts, except those that are 'unlocked' with a valid password. I
think this would require a change of the queries around line 1755 in
query.php.
>
> I suppose one would left join against a list of password unlocked
posts/pages.
>
> Just tossing with the idea here. I didn't actually tried to implement
this because I'm not that knowledgeable with wordpress core code.
I agree with you. Someone please write a patch for the above idea.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/3317#comment:10>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list