Fix_WPCLI::add_cp_version_to_scope()
Add $cp_version to scope.
Source
File: wp-includes/class-fix-wpcli.php
public static function add_cp_version_to_scope() {
// Add $cp_version to scope.
if ( ! isset( $GLOBALS['cp_version'] ) ) {
global $cp_version;
require ABSPATH . WPINC . '/version.php';
}
}
Changelog
Version | Description |
---|---|
CP-1.7.3 | Introduced. CP-1.7.3 |