The marriage and civil partnership exception
HM Passport Office’s operational guidance allows customers to keep a current valid passport in their previous name after the ceremony. It tells them to take the marriage or civil partnership certificate and check with the destination’s consulate before booking, because some countries may not consider a previous-name passport valid. HM Passport Office: post-dated passports
Book travel in the name on the valid passport you will carry, and check the destination’s entry requirements. Keep the certificate available as evidence linking the names where it is requested.