@@ -2,7 +2,7 @@ discard block |
||
2 | 2 | namespace PodloveSubscribeButton; |
3 | 3 | |
4 | 4 | if ( ! class_exists( 'WP_List_Table' ) ) { |
5 | - require_once( ABSPATH . 'wp-admin/includes/class-wp-list-table.php' ); |
|
5 | + require_once( ABSPATH . 'wp-admin/includes/class-wp-list-table.php' ); |
|
6 | 6 | } |
7 | 7 | |
8 | 8 | class Button_List_Table extends \WP_List_Table { |
@@ -28,8 +28,8 @@ discard block |
||
28 | 28 | ); |
29 | 29 | |
30 | 30 | return sprintf( '%1$s %2$s', |
31 | - /*$1%s*/ $button->title . '<br><code>[podlove-subscribe-button button="' . $button->name . '"]</code>', |
|
32 | - /*$3%s*/ $this->row_actions( $actions ) |
|
31 | + /*$1%s*/ $button->title . '<br><code>[podlove-subscribe-button button="' . $button->name . '"]</code>', |
|
32 | + /*$3%s*/ $this->row_actions( $actions ) |
|
33 | 33 | ); |
34 | 34 | |
35 | 35 | } |
@@ -15,7 +15,7 @@ |
||
15 | 15 | parent::__construct( array( |
16 | 16 | 'singular' => 'feed', // singular name of the listed records |
17 | 17 | 'plural' => 'feeds', // plural name of the listed records |
18 | - 'ajax' => false, // does this table support ajax? |
|
18 | + 'ajax' => false, // does this table support ajax? |
|
19 | 19 | ) ); |
20 | 20 | |
21 | 21 | } |
@@ -186,11 +186,13 @@ |
||
186 | 186 | * @return string |
187 | 187 | */ |
188 | 188 | private static function interpret_autowidth_attribute( $autowidth ) { |
189 | - if ( $autowidth == 'default' && get_option( 'podlove_subscribe_button_default_autowidth' ) !== 'on' ) |
|
190 | - return ''; |
|
189 | + if ( $autowidth == 'default' && get_option( 'podlove_subscribe_button_default_autowidth' ) !== 'on' ) { |
|
190 | + return ''; |
|
191 | + } |
|
191 | 192 | |
192 | - if ( $autowidth !== 'default' && $autowidth !== 'on' ) |
|
193 | - return ''; |
|
193 | + if ( $autowidth !== 'default' && $autowidth !== 'on' ) { |
|
194 | + return ''; |
|
195 | + } |
|
194 | 196 | |
195 | 197 | return ' auto'; |
196 | 198 |