/** * Update the DB to the latest version * * @since bbPress (r3421) * @uses update_option() * @uses bbp_get_db_version() To get bbPress's database version */ function bbp_version_bump() { update_option('_bbp_db_version', bbp_get_db_version()); }
/** * Output the bbPress database version * * @since 2.0.0 bbPress (r3468) * * @uses bbp_get_version() To get the bbPress version */ function bbp_db_version() { echo bbp_get_db_version(); }
/** * Update the DB to the latest version * * @since bbPress (r3421) * @uses update_option() * @uses bbp_get_db_version() To get bbPress's database version */ function bbp_version_bump() { $db_version = bbp_get_db_version(); update_option('_bbp_db_version', $db_version); }