Make WordPress Core

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


Ignore:
Timestamp:
09/01/2016 02:18:06 AM (10 years ago)
Author:
MikeSchinkel

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #37699, comment 60

    v2 v3  
    331. There is no way to type the return value thus coding with an IDE like PhpStorm will result in code that is littered with flagged unresolvable references.
    44
    5 2. 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.
     52. 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 validate it..
    66
    77Propose instead using `WP::<global>()` and `WP::set_<global>(<new_value>)` as in `WP::wpdb()` and `WP::set_wpdb($new_wpdb)`.