执行WordPress 2.9中所做的更改。

原型

upgrade_290()

源文件

路径:wp-admin/includes/upgrade.php

<?php
...
	// Upgrade people who were using the Redirect Old Slugs plugin.
	global $wpdb;
	$wpdb->query("UPDATE $wpdb->postmeta SET meta_key = '_wp_old_slug' WHERE meta_key = 'old_slug'");
}
/**
 * Execute changes made in WordPress 2.5.0.
 *
 * @ignore
 * @since 2.5.0
 *
...
?>

其他

英文文档:https://developer.wordpress.org/reference/functions/upgrade_290/