WordPress.org

Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #26804, comment 5


Ignore:
Timestamp:
01/10/2014 01:14:05 PM (8 years ago)
Author:
markoheijnen
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #26804, comment 5

    initial v1  
    1 I agree with johnbillion and wonderboymusic  here. The code doesn't solve the issue. It instead it will be more confusing since a normal db.php will set {{{$wpdb}}} and you can't control which file did set the variable.
     1I agree with johnbillion and wonderboymusic  here. The code doesn't solve the issue. It instead it will be more confusing since a normal db.php will set {{{$wpdb}}} and you can't control which file is going to set the variable as last.
    22
    33Your use case doesn't show the need of multiple db classes. You miss use the file to execute code that doesn't involve the db handler.