March 05, 2020
When a user is added to WordPress, their insert image settings have Link To Media set as the default option.
Rather than adjust settings for each user, or advise users how to select “none”, enable this as the default in functions:
function wpb_imagelink_setup() {
$image_set = get_option( 'image_default_link_type' );
if ($image_set !== 'none') {
update_option('image_default_link_type', 'none');
}
}
add_action('admin_init', 'wpb_imagelink_setup', 10);
Source. #29 in list.