[ Index ] |
PHP Cross Reference of WordPress |
[Source view] [Print] [Project Stats]
Upgrade API: Core_Upgrader class
File Size: | 418 lines (15 kb) |
Included or required: | 0 times |
Referenced: | 0 times |
Includes or requires: | 0 files |
Core_Upgrader:: (4 methods):
upgrade_strings()
upgrade()
should_update_to_version()
check_files()
Class: Core_Upgrader - X-Ref
Core class used for updating core.upgrade_strings() X-Ref |
Initialize the upgrade strings. since: 2.8.0 |
upgrade( $current, $args = array() X-Ref |
Upgrade WordPress core. return: string|false|WP_Error New WordPress version on success, false or WP_Error on failure. param: object $current Response object for whether WordPress is current. param: array $args { since: 2.8.0 |
should_update_to_version( $offered_ver ) X-Ref |
Determines if this WordPress Core version should update to an offered version or not. return: bool True if we should update to the offered version, otherwise false. param: string $offered_ver The offered version, of the format x.y.z. since: 3.7.0 |
check_files() X-Ref |
Compare the disk file checksums against the expected checksums. return: bool True if the checksums match, otherwise false. since: 3.7.0 |
Generated: Fri Dec 6 01:00:02 2024 | Cross-referenced by PHPXref 0.7.1 |