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
58c58 | |
< define( 'EHU_WEB_URL', $ehu_the_web_url ); | |
--- | |
> define( 'EHU_WEB_URL', $ehu_the_web_add ); |
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
68c68 | |
< $xtra = ''; | |
--- | |
> | |
180,181d179 | |
< global $pagenow; | |
< | |
191,192c189,190 | |
< //$page = $_GET['page']; | |
< $ehu_page = explode("_", $pagenow); |
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 | |
/** | |
* The main plugin file | |
* | |
* @package WordPress_Plugins | |
* @subpackage BetterPluginCompatibilityControl | |
*/ | |
/* | |
Plugin Name: Better Plugin Compatibility Control |
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 | |
class WPPluginTemplateWidget extends WP_Widget { | |
function __construct () { | |
$widget_ops = array ( | |
'description' => __('Template Test Widget') | |
); | |
parent::WP_Widget ('WPPluginTemplateWidget', __('WP Plugin Template'), $widget_ops); | |
} | |
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
// for @theKyleNofuente | |
// The Organic Themes - News Theme defines .avatar as this | |
.avatar { | |
background: whiteSmoke; | |
border: 1px solid #DDD; | |
margin: 10px 10px 10px 10px 0px; | |
padding: 4px; | |
} |
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 | |
// Display the Biography Box for the current user ... | |
echo do_shortcode ('[wp_biographia]'); | |
// Get the username of the currently logged in user ... | |
global $user_login; | |
get_currentuserinfo (); | |
// Within the WordPress loop get the username of the user whose post/page is current ... |
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 | |
add_action( 'user_register', 'wpb_admin_user_register' ); | |
function wpb_admin_user_register ($user_id) { | |
$res = fopen ('/tmp/logger.log', 'a+'); | |
global $__wp_biographia_instance; | |
$i = $__wp_biographia_instance; | |
fwrite ($res, 'admin_user_register: user id ' . $user_id . "\n"); |
NewerOlder