Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed two bugs causing strict warnings #19

Merged
merged 1 commit into from Aug 12, 2013
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
6 changes: 3 additions & 3 deletions inc/class-about.php
Expand Up @@ -48,9 +48,9 @@ public function get_conditional_tab( $tabs ) {

return $tabs;
}
public function get_plugin_data( $echo = TRUE ) {

public function get_plugin_data( $value = 'TextDomain', $echo = TRUE ) {

$output = '';
$output .= '<h3>' . parent :: get_plugin_data( 'Title' ) . '</h3>';
$output .= '<p>';
Expand Down
8 changes: 4 additions & 4 deletions inc/class-settings.php
Expand Up @@ -154,9 +154,9 @@ public function network_admin_plugin_action_links( $links, $file ) {
* @param Array $classes
* @return Array $classes
*/
public function get_debug_objects_classes( $classes ) {
public function get_debug_objects_classes( $classes ) {

return $classes;
return $classes;
}

/**
Expand Down Expand Up @@ -244,7 +244,7 @@ public function add_settings_page() {
* @since 2.0.0
* @return array
*/
public function return_options() {
public static function return_options() {

if ( is_multisite() && is_plugin_active_for_network( parent :: $plugin ) )
$options = get_site_option( self::$option_string );
Expand Down Expand Up @@ -367,7 +367,7 @@ public function get_inside_form( $options ) {
if ( in_array( $class, $disabled_options ) ) {
$disabled = ' disabled="disabled"';
$options[$key] = '1';
} else {
} else {
$disabled = '';
} ?>
<tr valign="top">
Expand Down