WPDev.one
Core Class

Core_Upgrader

class Core_Upgrader // Constructor: function Object() { [native code] }

Core class used for updating core.

Methods 4 methods

Method / Return Description
upgrade_strings()
void

Initializes the upgrade strings.

upgrade()
(string

Upgrades WordPress core.

Parameters: $current: mixed, $args: mixed
should_update_to_version()
bool

Determines if this WordPress Core version should update to an offered version or not.

Parameters: $offered_ver: mixed
check_files()
bool

Compares the disk file checksums against the expected checksums.

Class Information

Since Version
2.8.0
Source File
wp-admin/includes/class-core-upgrader.php
Advertisement