Eine auf WordPress spezialiserte Suchmaschine für Entwickler und Theme-Autoren



wp-admin/includes/upgrade.php ›

Funktionen59
WordPress Upgrade API


Funktion Kurzbeschreibung
add_clean_indexAdds an index to a specified table.
dbdeltaModifies the database based on specified SQL statements.
deslashFilters for content to remove unnecessary slashes.
drop_indexDrops a specified index from a table.
get_alloptions_110Retrieve all options as it was for 1.2.
install_global_termsInstall global terms.
make_db_currentUpdates the database tables to a new schema.
make_db_current_silentUpdates the database tables to a new schema, but without displaying results.
make_site_themeCreates a site theme.
make_site_theme_from_defaultCreates a site theme from the default theme.
make_site_theme_from_oldschoolCreates a site theme from an existing theme.
maybe_add_columnAdd column to database table, if column doesn't already exist in table.
maybe_convert_table_to_utf8mb4If a table only contains utf8 or utf8mb4 columns, convert it to utf8mb4.
maybe_create_tableCreate database table, if it doesn't already exist.
maybe_disable_automattic_widgetsDisables the Automattic widgets plugin, which was merged into core.
maybe_disable_link_managerDisables the Link Manager on upgrade if, at the time of upgrade, no links exist in the DB.
pre_schema_upgradeRuns before the schema is upgraded.
translate_level_to_roleTranslate user level to user role name.
upgrade_100Execute changes made in WordPress 1.0.
upgrade_101Execute changes made in WordPress 1.0.1.
upgrade_110Execute changes made in WordPress 1.2.
upgrade_130Execute changes made in WordPress 1.5.
upgrade_160Execute changes made in WordPress 2.0.
upgrade_210Execute changes made in WordPress 2.1.
upgrade_230Execute changes made in WordPress 2.3.
upgrade_230_old_tablesRemove old categories, link2cat, and post2cat database tables.
upgrade_230_options_tableRemove old options from the database.
upgrade_250Execute changes made in WordPress 2.5.0.
upgrade_252Execute changes made in WordPress 2.5.2.
upgrade_260Execute changes made in WordPress 2.6.
upgrade_270Execute changes made in WordPress 2.7.
upgrade_280Execute changes made in WordPress 2.8.
upgrade_290Execute changes made in WordPress 2.9.
upgrade_300Execute changes made in WordPress 3.0.
upgrade_330Execute changes made in WordPress 3.3.
upgrade_340Execute changes made in WordPress 3.4.
upgrade_350Execute changes made in WordPress 3.5.
upgrade_370Execute changes made in WordPress 3.7.
upgrade_372Execute changes made in WordPress 3.7.2.
upgrade_380Execute changes made in WordPress 3.8.0.
upgrade_400Execute changes made in WordPress 4.0.0.
upgrade_420Execute changes made in WordPress 4.2.0.
upgrade_430Executes changes made in WordPress 4.3.0.
upgrade_430_fix_commentsExecutes comments changes made in WordPress 4.3.0.
upgrade_431Executes changes made in WordPress 4.3.1.
upgrade_440Executes changes made in WordPress 4.4.0.
upgrade_450Executes changes made in WordPress 4.5.0.
upgrade_460Executes changes made in WordPress 4.6.0.
upgrade_allFunctions to be called in installation and upgrade scripts.
upgrade_networkExecutes network-level upgrade routines.
upgrade_old_slugsUpgrade old slugs made in version 2.2.
wp_check_mysql_versionChecks the version of the installed MySQL binary.
wp_installInstalls the site.
wp_install_defaultsCreates the initial content for a newly-installed site.
wp_install_maybe_enable_pretty_permalinksMaybe enable pretty permalinks on installation.
wp_new_blog_notificationNotifies the site admin that the setup is complete.
wp_should_upgrade_global_tablesDetermine if global tables should be upgraded.
wp_upgradeRuns WordPress Upgrade functions.
__get_optionUtility version of get_option that is private to installation/upgrade.