WordPress Version: 6.1
/**
* Install global terms.
*
* @since 3.0.0
* @since 6.1.0 This function no longer does anything.
* @deprecated 6.1.0
*/
function install_global_terms()
{
_deprecated_function(__FUNCTION__, '6.1.0');
}
The timeline below displays how wordpress function install_global_terms has changed across different WordPress versions. If a version is not listed, refer to the next available version below.
/**
* Install global terms.
*
* @since 3.0.0
* @since 6.1.0 This function no longer does anything.
* @deprecated 6.1.0
*/
function install_global_terms()
{
_deprecated_function(__FUNCTION__, '6.1.0');
}
/**
* Install global terms.
*
* @since 3.0.0
*
* @global wpdb $wpdb WordPress database abstraction object.
* @global string $charset_collate
*/
function install_global_terms()
{
global $wpdb, $charset_collate;
$ms_queries = "\nCREATE TABLE {$wpdb->sitecategories} (\n cat_ID bigint(20) NOT NULL auto_increment,\n cat_name varchar(55) NOT NULL default '',\n category_nicename varchar(200) NOT NULL default '',\n last_updated timestamp NOT NULL,\n PRIMARY KEY (cat_ID),\n KEY category_nicename (category_nicename),\n KEY last_updated (last_updated)\n) {$charset_collate};\n";
// Now create tables.
dbDelta($ms_queries);
}
/**
* Install global terms.
*
* @since 3.0.0
*
* @global wpdb $wpdb WordPress database abstraction object.
* @global string $charset_collate
*/
function install_global_terms()
{
global $wpdb, $charset_collate;
$ms_queries = "\nCREATE TABLE {$wpdb->sitecategories} (\n cat_ID bigint(20) NOT NULL auto_increment,\n cat_name varchar(55) NOT NULL default '',\n category_nicename varchar(200) NOT NULL default '',\n last_updated timestamp NOT NULL,\n PRIMARY KEY (cat_ID),\n KEY category_nicename (category_nicename),\n KEY last_updated (last_updated)\n) {$charset_collate};\n";
// now create tables
dbDelta($ms_queries);
}
/**
* Install global terms.
*
* @since 3.0.0
*
* @global wpdb $wpdb
* @global string $charset_collate
*/
function install_global_terms()
{
global $wpdb, $charset_collate;
$ms_queries = "\nCREATE TABLE {$wpdb->sitecategories} (\n cat_ID bigint(20) NOT NULL auto_increment,\n cat_name varchar(55) NOT NULL default '',\n category_nicename varchar(200) NOT NULL default '',\n last_updated timestamp NOT NULL,\n PRIMARY KEY (cat_ID),\n KEY category_nicename (category_nicename),\n KEY last_updated (last_updated)\n) {$charset_collate};\n";
// now create tables
dbDelta($ms_queries);
}
function install_global_terms()
{
global $wpdb, $charset_collate;
$ms_queries = "\nCREATE TABLE {$wpdb->sitecategories} (\n cat_ID bigint(20) NOT NULL auto_increment,\n cat_name varchar(55) NOT NULL default '',\n category_nicename varchar(200) NOT NULL default '',\n last_updated timestamp NOT NULL,\n PRIMARY KEY (cat_ID),\n KEY category_nicename (category_nicename),\n KEY last_updated (last_updated)\n) {$charset_collate};\n";
// now create tables
dbDelta($ms_queries);
}