projects
/
WP-Plugins
/
Gaslightify.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
afdcaf0
)
Utilizing image_default_link_type hook (none)
author
Laury GvR
<laury@gaslightmedia.com>
Thu, 23 Oct 2014 14:05:06 +0000
(10:05 -0400)
committer
Laury GvR
<laury@gaslightmedia.com>
Thu, 23 Oct 2014 14:05:06 +0000
(10:05 -0400)
Gaslightify.php
patch
|
blob
|
history
diff --git
a/Gaslightify.php
b/Gaslightify.php
index
d3dfcd4
..
b51ce87
100755
(executable)
--- 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__));
}