Make WordPress Core

Changes between Version 1 and Version 2 of Ticket #37699, comment 60


Ignore:
Timestamp:
09/01/2016 02:17:30 AM (9 years ago)
Author:
MikeSchinkel
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #37699, comment 60

    v1 v2  
    552. This simple issue that  `WP::get('wdpb')` won't get cause during development in an IDE like PhpStorm because it can't inspect the string and associate it with the `wpdb` class.
    66
    7 Propose instead using `WP::<global>()` and `WP::set_<global>()` as in `WP::wpdb()` and `WP::set_wpdb($new_wpdb)`.
     7Propose instead using `WP::<global>()` and `WP::set_<global>(<new_value>)` as in `WP::wpdb()` and `WP::set_wpdb($new_wpdb)`.