[wp-trac] [WordPress Trac] #24210: Issues found using a static analysis tool
WordPress Trac
noreply at wordpress.org
Mon Apr 29 01:57:55 UTC 2013
#24210: Issues found using a static analysis tool
--------------------------+------------------
Reporter: rlerdorf | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: 3.6
Component: General | Version:
Severity: normal | Resolution:
Keywords: |
--------------------------+------------------
Comment (by dd32):
Replying to [comment:15 SergeyBiryukov]:
> In [changeset:"24121"]:
> {{{
> #!CommitTicketReference repository="" revision="24121"
> Remove extraneous function parameters in the wpdb class. props rlerdorf.
see #24210.
> }}}
FWIW, This is a hold over from HyperDB I believe, as the has_cap has to be
called on the individual table/database connection being tested:
http://plugins.trac.wordpress.org/browser/hyperdb/trunk/db.php#L858
--
Ticket URL: <http://core.trac.wordpress.org/ticket/24210#comment:21>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list