@@ -57,7 +57,12 @@ discard block |
||
| 57 | 57 | <tr> |
| 58 | 58 | <td data-export-label="WP Multisite"><?php _e( 'WP Multisite', 'give' ); ?>:</td> |
| 59 | 59 | <td class="help"><span class="give-tooltip give-icon give-icon-question" data-tooltip="<?php echo esc_attr( __( 'Whether or not you have WordPress Multisite enabled.', 'give' ) ); ?>"></span></td> |
| 60 | - <td><?php if ( is_multisite() ) echo '<span class="dashicons dashicons-yes"></span>'; else echo '–'; ?></td> |
|
| 60 | + <td><?php if ( is_multisite() ) { |
|
| 61 | + echo '<span class="dashicons dashicons-yes"></span>'; |
|
| 62 | +} else { |
|
| 63 | + echo '–'; |
|
| 64 | +} |
|
| 65 | +?></td> |
|
| 61 | 66 | </tr> |
| 62 | 67 | <tr> |
| 63 | 68 | <td data-export-label="WP Memory Limit"><?php _e( 'WP Memory Limit', 'give' ); ?>:</td> |
@@ -85,9 +90,12 @@ discard block |
||
| 85 | 90 | <td> |
| 86 | 91 | <?php if ( defined( 'WP_DEBUG' ) && WP_DEBUG ) : ?> |
| 87 | 92 | <mark class="yes"><span class="dashicons dashicons-yes"></span></mark> |
| 88 | - <?php else : ?> |
|
| 93 | + <?php else { |
|
| 94 | + : ?> |
|
| 89 | 95 | <mark class="no">–</mark> |
| 90 | - <?php endif; ?> |
|
| 96 | + <?php endif; |
|
| 97 | +} |
|
| 98 | +?> |
|
| 91 | 99 | </td> |
| 92 | 100 | </tr> |
| 93 | 101 | <tr> |
@@ -96,9 +104,12 @@ discard block |
||
| 96 | 104 | <td> |
| 97 | 105 | <?php if ( defined( 'DISABLE_WP_CRON' ) && DISABLE_WP_CRON ) : ?> |
| 98 | 106 | <mark class="no">–</mark> |
| 99 | - <?php else : ?> |
|
| 107 | + <?php else { |
|
| 108 | + : ?> |
|
| 100 | 109 | <mark class="yes"><span class="dashicons dashicons-yes"></span></mark> |
| 101 | - <?php endif; ?> |
|
| 110 | + <?php endif; |
|
| 111 | +} |
|
| 112 | +?> |
|
| 102 | 113 | </td> |
| 103 | 114 | </tr> |
| 104 | 115 | <tr> |
@@ -1,7 +1,9 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | |
| 3 | 3 | // Exit if accessed directly |
| 4 | -if ( ! defined( 'ABSPATH' ) ) exit; |
|
| 4 | +if ( ! defined( 'ABSPATH' ) ) { |
|
| 5 | + exit; |
|
| 6 | +} |
|
| 5 | 7 | |
| 6 | 8 | /** |
| 7 | 9 | * Allows plugins to use their own update API. |
@@ -1328,7 +1328,7 @@ |
||
| 1328 | 1328 | ); |
| 1329 | 1329 | $license_status = 'license-' . $class; |
| 1330 | 1330 | |
| 1331 | - }else { |
|
| 1331 | + } else { |
|
| 1332 | 1332 | switch ( $license->license ) { |
| 1333 | 1333 | case 'valid' : |
| 1334 | 1334 | default: |
@@ -520,7 +520,7 @@ |
||
| 520 | 520 | // Check whether the donor name and WP_User name is same or not. |
| 521 | 521 | if( sanitize_title( $donor_billing_name ) != sanitize_title( $donor_name ) ){ |
| 522 | 522 | echo $donor_billing_name . ' (<a href="' . esc_url( admin_url( "edit.php?post_type=give_forms&page=give-donors&view=overview&id=$donor_id" ) ) . '">' . $donor_name . '</a>)'; |
| 523 | - }else{ |
|
| 523 | + } else{ |
|
| 524 | 524 | echo $donor_name; |
| 525 | 525 | } |
| 526 | 526 | ?> |
@@ -6,7 +6,10 @@ |
||
| 6 | 6 | * @version 1.0 |
| 7 | 7 | */ |
| 8 | 8 | |
| 9 | -if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly. |
|
| 9 | +if ( ! defined( 'ABSPATH' ) ) { |
|
| 10 | + exit; |
|
| 11 | +} |
|
| 12 | +// Exit if accessed directly. |
|
| 10 | 13 | // This is the footer used if no others are available |
| 11 | 14 | ?> |
| 12 | 15 | <!DOCTYPE html> |
@@ -6,7 +6,10 @@ |
||
| 6 | 6 | * @version 1.0 |
| 7 | 7 | */ |
| 8 | 8 | |
| 9 | -if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly. |
|
| 9 | +if ( ! defined( 'ABSPATH' ) ) { |
|
| 10 | + exit; |
|
| 11 | +} |
|
| 12 | +// Exit if accessed directly. |
|
| 10 | 13 | |
| 11 | 14 | |
| 12 | 15 | // For gmail compatibility, including CSS styles in head/body are stripped out therefore styles need to be inline. These variables contain rules which are added to the template inline. |
@@ -6,7 +6,10 @@ |
||
| 6 | 6 | * @version 1.0 |
| 7 | 7 | */ |
| 8 | 8 | |
| 9 | -if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly. |
|
| 9 | +if ( ! defined( 'ABSPATH' ) ) { |
|
| 10 | + exit; |
|
| 11 | +} |
|
| 12 | +// Exit if accessed directly. |
|
| 10 | 13 | |
| 11 | 14 | // {email} is replaced by the content entered in Donations > Settings > Emails |
| 12 | 15 | |
@@ -6,7 +6,10 @@ |
||
| 6 | 6 | * @version 1.0 |
| 7 | 7 | */ |
| 8 | 8 | |
| 9 | -if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly. |
|
| 9 | +if ( ! defined( 'ABSPATH' ) ) { |
|
| 10 | + exit; |
|
| 11 | +} |
|
| 12 | +// Exit if accessed directly. |
|
| 10 | 13 | |
| 11 | 14 | // This is the footer used if no others are available |
| 12 | 15 | |
@@ -6,7 +6,10 @@ |
||
| 6 | 6 | * @version 1.0 |
| 7 | 7 | */ |
| 8 | 8 | |
| 9 | -if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly. |
|
| 9 | +if ( ! defined( 'ABSPATH' ) ) { |
|
| 10 | + exit; |
|
| 11 | +} |
|
| 12 | +// Exit if accessed directly. |
|
| 10 | 13 | |
| 11 | 14 | // {email} is replaced by the content entered in Donations > Settings > Emails |
| 12 | 15 | |