@@ -1,5 +1,8 @@ discard block |
||
| 1 | 1 | <?php |
| 2 | -if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly. |
|
| 2 | +if ( ! defined( 'ABSPATH' ) ) { |
|
| 3 | + exit; |
|
| 4 | +} |
|
| 5 | +// Exit if accessed directly. |
|
| 3 | 6 | |
| 4 | 7 | /** |
| 5 | 8 | * Sensei Course Component Widget |
@@ -272,7 +275,7 @@ discard block |
||
| 272 | 275 | } elseif ( 'completedcourses' == $instance['component'] ) {
|
| 273 | 276 | _e( 'You have no completed courses.', 'woothemes-sensei' ); |
| 274 | 277 | |
| 275 | - }else{
|
|
| 278 | + } else{
|
|
| 276 | 279 | |
| 277 | 280 | _e( 'You have no courses.', 'woothemes-sensei' ); |
| 278 | 281 | |