Changeset 1658186
- Timestamp:
- 05/16/2017 04:47:34 AM (9 years ago)
- Location:
- homesnaps-seo/trunk
- Files:
-
- 5 added
- 2 edited
-
assets (added)
-
assets/css (added)
-
assets/img (added)
-
assets/img/traffic_dashboard.png (added)
-
assets/js (added)
-
homesnaps-seo.php (modified) (7 diffs)
-
readme.txt (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
homesnaps-seo/trunk/homesnaps-seo.php
r1651376 r1658186 4 4 Plugin URI: http://wpplugin-seo.homesnaps.com 5 5 Description: Organizes site visitors 6 Version: 1. 36 Version: 1.4 7 7 Author: Eric Thornton 8 8 Author URI: https://homesnaps.com … … 12 12 defined( 'ABSPATH' ) or die( 'No script kiddies please!' ); 13 13 14 $hs_ver = '1. 3';14 $hs_ver = '1.4'; 15 15 $admin_email = 'eric@homesnaps.com'; 16 16 $hs_current_user = ''; … … 20 20 global $admin_email; 21 21 global $hs_current_user; 22 $server_name = '' . @$_SERVER['HTTP_HOST'];22 $server_name = isset($_SERVER['HTTP_HOST']) ? $_SERVER['HTTP_HOST'] : ''; 23 23 $hs_current_user = isset($hs_current_user) ? $hs_current_user : ''; 24 24 mail($admin_email, 'HS SEO Plugin Activated', $server_name . "\n" . $hs_current_user); … … 29 29 global $admin_email; 30 30 global $hs_current_user; 31 $server_name = '' . @$_SERVER['HTTP_HOST'];31 $server_name = isset($_SERVER['HTTP_HOST']) ? $_SERVER['HTTP_HOST'] : ''; 32 32 $hs_current_user = isset($hs_current_user) ? $hs_current_user : ''; 33 33 mail($admin_email, 'HS SEO Plugin DE-activated', $server_name . "\n" . $hs_current_user); 34 34 } 35 35 36 function hs_plugin_ header()36 function hs_plugin_footer() 37 37 { 38 //$hs_current_user = @get_current_user_id();39 38 global $hs_current_user; 40 39 global $hs_ver; … … 49 48 50 49 $referer = '' . @$_SERVER['HTTP_REFERER']; 51 $server_name = '' . @$_SERVER['HTTP_HOST'];50 $server_name = isset($_SERVER['HTTP_HOST']) ? $_SERVER['HTTP_HOST'] : ''; 52 51 $hs_current_user = isset($hs_current_user) ? $hs_current_user : ''; 53 52 … … 71 70 72 71 $referer = '' . @$_SERVER['HTTP_REFERER']; 73 $server_name = '' . @$_SERVER['HTTP_HOST'];72 $server_name = isset($_SERVER['HTTP_HOST']) ? $_SERVER['HTTP_HOST'] : ''; 74 73 $hs_current_user = isset($hs_current_user) ? $hs_current_user : ''; 75 74 … … 96 95 97 96 add_action('init','hs_assign_user'); 98 add_action('wp_ head', 'hs_plugin_header');97 add_action('wp_footer', 'hs_plugin_footer'); 99 98 add_action('admin_head', 'hs_plugin_header_admin'); 100 99 -
homesnaps-seo/trunk/readme.txt
r1651376 r1658186 1 1 === HomeSnaps SEO === 2 Contributors: Eric Thornton2 Contributors: ehops32 3 3 Requires at least: 4.7.0 4 4 Tested up to: 4.7.4 5 5 Stable tag: 4.7.0 6 6 7 A useful tool to monitor site traffic. 7 A useful tool to monitor site traffic. An account to sign into your dashboards needs to be set up, for a screen capture of this dashboard, see this image: https://homesnaps.com/wp/traffic_dashboard.png For setup, please contact newaccount@homesnaps.com 8 9 == Frequently Asked Questions == 10 11 = How much is it to access the analytics dashboard = 12 13 The price is $10 per month. 14 15 = Why should I use this instead of other tools? = 16 17 Our dashboard is very simple, no need for complex instructions. 18 19 = Can you customize my dashboard to include specific items I would like to have? = 20 21 Yes, our product is always evolving, we encourage active involvement with your ides. 22 23 == Screenshots == 24 25 1. /assets/traffic_dashboard.png 26 27 == Changelog == 28 29 = 1.4 = 30 * Moved logging script from the header to the footer to increase your website load time. 31 * Improved the way we log the server name. 32 33 = 1.0 = 34 * Initial GoLive Version 35 36 == Upgrade Notice == 37 38 = 1.4 = 39 This version is faster than previous versions.
Note: See TracChangeset
for help on using the changeset viewer.