クラス wpdb::check_database_version()
クラス wpdb::check_database_version()
定義ファイル :/blog/wp-includes/wp-db.php
1 2 3 4 5 6 | public function check_database_version() { global $wp_version, $required_mysql_version; // Make sure the server has the required MySQL version if ( version_compare($this->db_version(), $required_mysql_version, '<') ) return new WP_Error('database_version', sprintf( __( '<strong>ERROR</strong>: WordPress %1$s requires MySQL %2$s or higher' ), $wp_version, $required_mysql_version )); } |