automate_upgrade
automate_upgrade__safe
change_mysql_database_charset
check_alien
check_excess_perms
check_outdated__handle_overrides
check_perms
clear_caches_1
clear_caches_2
cns_upgrade
fix_mysql_database_charset
fix_perms
fu_link
fu_rename_zone
get_chmod_array_2
move_modules
post_fields_relay
run_integrity_check
up_do_footer
up_do_header
up_do_login
upgrade_modules
upgrade_script
upgrade_sharedinstall_sites
upgrade_theme
upgrade_themes
version_specific
automate_upgrade__safe()
package | core_upgrader |
---|
change_mysql_database_charset(\ID_TEXT $new_charset, object $db, boolean $reencode = false
)
package | core_upgrader |
---|
\ID_TEXT
Character set
object
Database
boolean
Whether to let MySQL do a reencoding of the characters (if this is set to false we actually are adjusting the interpretation whilst leaving the disk data the same)
check_alien(array $addon_files, array $old_files, array $files, \SHORT_TEXT $dir, \SHORT_TEXT $rela= ''
, boolean $raw= false
) : array
package | core_upgrader |
---|
array
List of files from non-bundled addons (a map: relative file paths as keys of map)
array
List of files from old version
array
List of verbatim files
\SHORT_TEXT
The directory we are scanning relative to
\SHORT_TEXT
The directory (relative) we are scanning
boolean
Whether to give raw output (no UI)
array
A pair: HTML list of alien files, HTML list of addon filescheck_excess_perms(array $array, string $rel = ''
) : string
package | core_upgrader |
---|
array
Permissions that DO need to be set
string
Where we are searching under
string
Messagescheck_outdated__handle_overrides(\SHORT_TEXT $dir, \SHORT_TEXT $rela, array $master_data, array $hook_files, boolean $allow_merging) : array
package | core_upgrader |
---|
\SHORT_TEXT
The directory we are scanning relative to
\SHORT_TEXT
The directory (relative) we are scanning
array
Unserialised data/files.dat
array
A list of the contents of our addon registry hook files
boolean
Whether merging of CSS changes is allowed
array
Tuple of various kinds of outdated/missing filesclear_caches_2()
package | core_upgrader |
---|
cns_upgrade() : boolean
fix_mysql_database_charset()
package | core_upgrader |
---|
fu_link(string $url, string $text, boolean $disabled= false
, string $js= ''
) : string
package | core_upgrader |
---|
string
The URL (something like 'upgrader.php?type=cns')
string
The URL caption text
boolean
Whether it is disabled
string
Extra JavaScript
string
The form-based linkfu_rename_zone(\ID_TEXT $zone, \ID_TEXT $new_zone, boolean $dont_bother_with_main_row = false
)
package | core_upgrader |
---|
\ID_TEXT
The old name of the zone
\ID_TEXT
The new name of the zone
boolean
Whether to assume the main zone row has already been renamed as part of a wider editing operation
get_chmod_array_2() : array
move_modules() : array
post_fields_relay() : string
run_integrity_check(boolean $basic= false
, boolean $allow_merging= true
, boolean $unix_help= false
) : string
package | core_upgrader |
---|
boolean
Whether to just do the minimum basic scan.
boolean
Whether merging of CSS changes is allowed.
boolean
Whether to give some help to unix people.
string
Results.up_do_login(\?string $message = null
)
upgrade_modules() : string
upgrade_sharedinstall_sites(integer $from = 0
)
upgrade_theme(\ID_TEXT $theme, float $from_version, float $to_version, boolean $test_run = true
) : array
package | core_upgrader |
---|
\ID_TEXT
Theme to be upgraded
float
From version
float
Target version
boolean
Whether executing a test run (i.e. not do anything)
array
A pair: List of errors, List of successesversion_specific() : boolean