コード例 #1
0
 /**
  * Checks the database version and migrates to latest version is required.
  *
  * @since  4.6
  */
 public static function check_db()
 {
     // Update the DB if required.
     if (!IncPopupDatabase::db_is_current()) {
         IncPopupDatabase::db_update();
     }
 }