Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Fixed two bugs causing strict warnings #19

Merged
merged 1 commit into from

2 participants

@tivnet

No description provided.

@bueltge bueltge merged commit 234d4a2 into from
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Aug 12, 2013
  1. @tivnet
This page is out of date. Refresh to see the latest.
Showing with 7 additions and 7 deletions.
  1. +3 −3 inc/class-about.php
  2. +4 −4 inc/class-settings.php
View
6 inc/class-about.php
@@ -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>';
View
8 inc/class-settings.php
@@ -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;
}
/**
@@ -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 );
@@ -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">
Something went wrong with that request. Please try again.