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
diff --git a/gad-admin-options-ui.php b/gad-admin-options-ui.php | |
index 4ceae90..dc91950 100644 | |
--- a/gad-admin-options-ui.php | |
+++ b/gad-admin-options-ui.php | |
@@ -191,8 +191,9 @@ class GADAdminOptionsUI | |
<?php | |
} | |
- function display_admin_handle_login_options($gauth) | |
+ function display_admin_handle_login_options() |
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
diff --git a/gad-admin-options.php b/gad-admin-options.php | |
index 09c3f2f..e6afefb 100644 | |
--- a/gad-admin-options.php | |
+++ b/gad-admin-options.php | |
@@ -67,7 +67,7 @@ class GADAdminOptions | |
function admin_plugin_menu() | |
{ | |
- add_options_page(__('Google Analytics Dashboard Options'), __('Google Analytics Dashboard'), 8, __FILE__, array(&$this, 'admin_plugin_options')); | |
+ add_options_page(__('Google Analytics Dashboard Options'), __('Google Analytics Dashboard'), 'manage_options', __FILE__, array(&$this, 'admin_plugin_options')); |
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
Code For The People are firm believers, and enthusiastic participants in the Open Source movement | |
generally and WordPress in particular. We build WordPress sites which are as easy to manage as a | |
blog, but can handle the kind of traffic burst you get when you tweet a link to two million | |
fans. One of only two WordPress.com VIP Featured Partners outside the US, our clients span the | |
length and breadth of UK society, from Stephen Fry to the Rolling Stones, via Oxford University | |
and the UK Government. |
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
# Nice command to convert the readme.txt in the current | |
# directory to a readme.md | |
alias wp2ghreadme='python /Users/simon/Scripts/wp2github/wp2github.py --source ./readme.txt --target ./readme.md; echo "readme.md created"; subl ./readme.md;' |
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
<?php | |
/* | |
Plugin Name: WP Cycling Project Notices | |
Plugin URI: https://gist.github.com/simonwheatley/5202993 | |
Description: Adds notices above the WooCommerce cart and checkout for WP Cycling Project | |
Version: 1.0 | |
Author: Code for the People | |
Author URI: http://www.codeforthepeople.com/ | |
*/ |
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
<?php | |
/* | |
Plugin Name: WP 3.5 Media Experiments | |
Description: Learning by prodding things. | |
Version: 0.1 | |
Author: Simon Wheatley | |
Author URI: codeforthepeople.com | |
*/ |
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
nbopen.app |
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
<snippet> | |
<content><![CDATA[ | |
<div class='${1:updated}${2:error}'><p>$3</p></div> | |
]]></content> | |
<tabTrigger>adminnotice</tabTrigger> | |
</snippet> |