Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
ai
noblogs-wp
Commits
8bc78896
Commit
8bc78896
authored
May 03, 2013
by
joe
Committed by
agata
Oct 17, 2019
Browse files
adding extreme debugging when wp_debug is true
parent
a22f792c
Changes
1
Hide whitespace changes
Inline
Side-by-side
wp-content/db.php
View file @
8bc78896
...
...
@@ -416,6 +416,11 @@ class hyperdb extends wpdb {
$this
->
run_callbacks
(
'dataset_found'
,
$dataset
);
if
(
WP_DEBUG
===
true
)
{
$_ai_msg
=
sprintf
(
"We choose dataset %s for query '%s'"
,
$this
->
dataset
,
$query
);
$this
->
print_error
(
$_ai_msg
);
}
if
(
empty
(
$this
->
hyper_servers
)
)
{
if
(
$this
->
is_mysql_connection
(
$this
->
dbh
)
)
return
$this
->
dbh
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment