Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
ai
noblogs-wp
Commits
a5d9024b
Commit
a5d9024b
authored
May 03, 2013
by
joe
Committed by
agata
Jul 01, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
adding extreme debugging when wp_debug is true
parent
cfe0f79f
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
0 deletions
+5
-0
wp-content/db.php
wp-content/db.php
+5
-0
No files found.
wp-content/db.php
View file @
a5d9024b
...
...
@@ -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
Markdown
is supported
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