<?php
/*
-Plugin Name: Gaslightify2
+Plugin Name: Gaslightify
Plugin URI: http://URI_Of_Page_Describing_Plugin_and_Updates
Description: A gasline to a Wordpress website.
-Version: 1.0
+Version: 1.2
Author: Gaslight Media
Author URI: http://www.gaslightmedia.com
License: Gaslight Media
//add_filter(‘the_content’,’basic_content_replace’);
//add_filter(‘the_title’,’basic_content_replace’);
+
add_action('admin_enqueue_scripts', 'interface_client_safeguard');
function interface_client_safeguard() {
}
}
+
+
+add_filter('login_errors','login_error_message');
+
+function login_error_message($error){
+ //check if that's the error you are looking for
+ $pos = strpos($error, 'incorrect');
+ if (is_int($pos)) {
+ //its the right error so you can overwrite it
+ $error = "Invalid Credentials. Please ensure the username and password you entered are correct.";
+ }
+ return $error;
+}
+
+
+add_action('admin_head', 'glm_custom_logo');
+
function glm_custom_logo() {
echo '<style>
#wp-admin-bar-wp-logo > .ab-item .ab-icon:before, #header-logo {
- content: url('.plugins_url('img/icon-twitter3.gif', __FILE__).') !important;
+ content: url('.plugins_url('img/GLM_flame_none_trans_32x32.png', __FILE__).') !important;
+}
+#dashboard_activity .no-activity .smiley:before {
+ content: url("http://localhost/www.petoskeyrobotics.org/wp-content/plugins/Gaslightify/img/GLM_title_box_272x71.gif") !important;
+
+}
+#adminmenu .wp-menu-image img {
+// content: url("http://localhost/www.petoskeyrobotics.org/wp-content/plugins/Gaslightify/img/GLM_flame_box_inverted_16x16.png") !important;
+
}
</style>';
}
-add_action('admin_head', 'glm_custom_logo');
?>