Created
August 14, 2014 18:32
-
-
Save xavivars/f2eb1b5576564efc5ce6 to your computer and use it in GitHub Desktop.
Browswer sniff - Patch
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Index: browsersniff.php | |
=================================================================== | |
--- browsersniff.php (revision 965888) | |
+++ browsersniff.php (working copy) | |
@@ -1,4 +1,4 @@ | |
-<?php | |
+ <?php | |
/** | |
* @package Browser-Sniff | |
* @author Priyadi Iman Nurcahyo | Bruno Andrade Pedrassani | |
@@ -14,7 +14,7 @@ | |
*/ | |
// begin global settings | |
-$pri_image_url = get_settings('siteurl') . "/wp-content/plugins/browser-sniff/icons"; | |
+$pri_image_url = site_url('/wp-content/plugins/browser-sniff/icons'); | |
$pri_image_path = ABSPATH . "/wp-content/plugins/browser-sniff/icons"; | |
// end settings | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment