From: Laury GvR Date: Thu, 23 Oct 2014 14:05:06 +0000 (-0400) Subject: Utilizing image_default_link_type hook (none) X-Git-Tag: v1.36~8 X-Git-Url: http://cvs2.gaslightmedia.com/gitweb/?a=commitdiff_plain;h=df69a468c9580e7a089d825577bf34aaa5827b39;p=WP-Plugins%2FGaslightify.git Utilizing image_default_link_type hook (none) --- diff --git a/Gaslightify.php b/Gaslightify.php index d3dfcd4..b51ce87 100755 --- a/Gaslightify.php +++ b/Gaslightify.php @@ -33,6 +33,10 @@ function interface_client_safeguard() { } } +add_action('after_setup_theme', 'GLM_general_settings'); +function GLM_general_settings() { + update_option('image_default_link_type','none'); +} function my_admin_theme_style() { // wp_enqueue_style('my-admin-theme', plugins_url('css/Gaslightify.css', __FILE__)); }