Make CiviCRM's menu position an integer
In WordPress 6.0, menu positions must be integers otherwise a doing_it_wrong
error is triggered. CiviCRM currently sets the position to a float expressed as a string - this will need to be changed in due course.