Opened 11 years ago
Closed 11 years ago
#26941 closed defect (bug) (fixed)
Too many arguments passed to prepare() during multisite load
Reported by: |
|
Owned by: |
|
---|---|---|---|
Milestone: | 3.9 | Priority: | low |
Severity: | minor | Version: | 3.0 |
Component: | Bootstrap/Load | Keywords: | has-patch commit |
Focuses: | multisite | Cc: |
Description
One of the queries that may be used to set $current_site
in wpmu_current_site()
passes too many arguments to the prepare()
statement building the query. Because path in the query is set to /
, there is no need to pass a $path
argument.
This has been here since [12787] and looks like it may be an accidental match of the query right above it, which does need the 3 arguments. The additional argument doesn't cause any errors, just a little confusion when reading through the code.
Attachments (1)
Change History (3)
Note: See
TracTickets for help on using
tickets.
In 27076: