wp-admin/includes/upgrade.php


Lines:

1 to 100 of 171
<?php

/**
 * WordPress Upgrade API
 *
 * Most of the functions are pluggable and can be overwritten.
 *
 * @package WordPress
 * @subpackage Administration
 */


/** Include user installation customization script. */
if ( file_exists( WP_CONTENT_DIR . '/install.php' ) ) {
  require WP_CONTENT_DIR . '/install.php';
}


/** WordPress Administration API */
require_once ABSPATH . 'wp-admin/includes/admin.php';


/** WordPress Schema API */
require_once ABSPATH . 'wp-admin/includes/schema.php';

if ( ! function_exists( 'wp_install' ) ) :
/* function wp_install() – Installs the site. */
endif;

if ( ! function_exists( 'wp_install_defaults' ) ) :
/* function wp_install_defaults() – Creates the initial content for a newly-installed site. */
endif;

/* function wp_install_maybe_enable_pretty_permalinks() – Maybe enable pretty permalinks on installation. */

if ( ! function_exists( 'wp_new_blog_notification' ) ) :
/* function wp_new_blog_notification() – Notifies the site admin that the installation of WordPress is complete. */
endif;

if ( ! function_exists( 'wp_upgrade' ) ) :
/* function wp_upgrade() – Runs WordPress Upgrade functions. */
endif;

/* function upgrade_all() – Functions to be called in installation and upgrade scripts. */

/* function upgrade_100() – Execute changes made in WordPress 1.0. */

/* function upgrade_101() – Execute changes made in WordPress 1.0.1. */

/* function upgrade_110() – Execute changes made in WordPress 1.2. */

/* function upgrade_130() – Execute changes made in WordPress 1.5. */

/* function upgrade_160() – Execute changes made in WordPress 2.0. */

/* function upgrade_210() – Execute changes made in WordPress 2.1. */

/* function upgrade_230() – Execute changes made in WordPress 2.3. */

/* function upgrade_230_options_table() – Remove old options from the database. */

/* function upgrade_230_old_tables() – Remove old categories, link2cat, and post2cat database tables. */

/* function upgrade_old_slugs() – Upgrade old slugs made in version 2.2. */

/* function upgrade_250() – Execute changes made in WordPress 2.5.0. */

/* function upgrade_252() – Execute changes made in WordPress 2.5.2. */

/* function upgrade_260() – Execute changes made in WordPress 2.6. */

/* function upgrade_270() – Execute changes made in WordPress 2.7. */

/* function upgrade_280() – Execute changes made in WordPress 2.8. */

/* function upgrade_290() – Execute changes made in WordPress 2.9. */

/* function upgrade_300() – Execute changes made in WordPress 3.0. */

/* function upgrade_330() – Execute changes made in WordPress 3.3. */

/* function upgrade_340() – Execute changes made in WordPress 3.4. */

/* function upgrade_350() – Execute changes made in WordPress 3.5. */

/* function upgrade_370() – Execute changes made in WordPress 3.7. */

/* function upgrade_372() – Execute changes made in WordPress 3.7.2. */

/* function upgrade_380() – Execute changes made in WordPress 3.8.0. */

/* function upgrade_400() – Execute changes made in WordPress 4.0.0. */

/* function upgrade_420() – Execute changes made in WordPress 4.2.0. */

/* function upgrade_430() – Executes changes made in WordPress 4.3.0. */

/* function upgrade_430_fix_comments() – Executes comments changes made in WordPress 4.3.0. */

/* function upgrade_431() – Executes changes made in WordPress 4.3.1. */

 View on GitHub View on Trac

Called by

    Invoked by

      Calls

      Call hooks

      API Letters: ,,,,