bbl_get_new_term_translation_url () and Babble_Taxonomies::get_new_term_translation_url() now return a WP_Error object rather than throwing an exception (and the term links in the admin toolbar aren't built if so).
bbl_is_public_lang() and Babble_Languages:: is_public_lang() now accept a language object for the $lang_code parameter rather than throwing an exception.
Babble_Plugin:: setup() switches to a required parameter rather than throwing an exception.
get_transid() and set_transid() handle errors and cache checking more gracefully and return false (as they should) instead of throwing an exception.
See #218.
bbl_get_new_term_translation_url ()
andBabble_Taxonomies::get_new_term_translation_url()
now return aWP_Error
object rather than throwing an exception (and the term links in the admin toolbar aren't built if so).bbl_is_public_lang()
andBabble_Languages:: is_public_lang()
now accept a language object for the$lang_code
parameter rather than throwing an exception.Babble_Plugin:: setup()
switches to a required parameter rather than throwing an exception.get_transid()
andset_transid()
handle errors and cache checking more gracefully and return false (as they should) instead of throwing an exception.