upgrade_252()WP 2.5.2

Execute changes made in WordPress 2.5.2.

No Hooks.

Return

null. Nothing.

Usage

upgrade_252();

Notes

  • Global. wpdb. $wpdb WordPress database abstraction object.

Changelog

Since 2.5.2 Introduced.

upgrade_252() code WP 6.1.1

function upgrade_252() {
	global $wpdb;

	$wpdb->query( "UPDATE $wpdb->users SET user_activation_key = ''" );
}