wpseek.com
A WordPress-centric search engine for devs and theme authors
wp-admin/includes/upgrade.php › WordPress File
Functions25
› WordPress Upgrade API
| Function | Short description |
|---|---|
| add_clean_index | Adds an index to a specified table. |
| dbdelta | Modifies the database based on specified SQL statements. |
| deslash | Filters for content to remove unnecessary slashes. |
| drop_index | Drops a specified index from a table. |
| get_alloptions_110 | Retrieve all options as it was for 1.2. |
| make_db_current | Updates the database tables to a new schema. |
| make_db_current_silent | Updates the database tables to a new schema, but without displaying results. |
| make_site_theme | Creates a site theme. |
| make_site_theme_from_default | Creates a site theme from the default theme. |
| make_site_theme_from_oldschool | Creates a site theme from an existing theme. |
| maybe_add_column | Adds column to database table, if it doesn't already exist. |
| maybe_convert_table_to_utf8mb4 | If a table only contains utf8 or utf8mb4 columns, convert it to utf8mb4. |
| maybe_create_table | Creates a table in the database if it doesn't already exist. |
| maybe_disable_automattic_widgets | Disables the Automattic widgets plugin, which was merged into core. |
| maybe_disable_link_manager | Disables the Link Manager on upgrade if, at the time of upgrade, no links exist in the DB. |
| pre_schema_upgrade | Runs before the schema is upgraded. |
| translate_level_to_role | Translate user level to user role name. |
| upgrade_network | Executes network-level upgrade routines. |
| wp_check_mysql_version | Checks the version of the installed MySQL binary. |
| wp_install | Installs the site. |
| wp_install_defaults | Creates the initial content for a newly-installed site. |
| wp_install_maybe_enable_pretty_permalinks | Maybe enable pretty permalinks on installation. |
| wp_new_blog_notification | Notifies the site admin that the installation of WordPress is complete. |
| wp_should_upgrade_global_tables | Determine if global tables should be upgraded. |
| wp_upgrade | Runs WordPress Upgrade functions. |