Changes between Version 3 and Version 4 of Ticket #37699, comment 60
- Timestamp:
- 09/01/2016 02:18:16 AM (8 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #37699, comment 60
v3 v4 3 3 1. 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. 4 4 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 validate it. .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 validate it. 6 6 7 7 Propose instead using `WP::<global>()` and `WP::set_<global>(<new_value>)` as in `WP::wpdb()` and `WP::set_wpdb($new_wpdb)`.