| @@ -7,16 +7,15 @@ | ||
| 7 | 7 | * @version 3.0.0 |
| 8 | 8 | */ |
| 9 | 9 | |
| 10 | 10 | defined( 'ABSPATH' ) or exit(); |
| 11 | - | |
| 12 | -if ( ! isset( $footer_text ) ) { | |
| 13 | - return; | |
| 14 | -} | |
| 15 | 11 | ?> |
| 16 | 12 | </td> |
| 17 | 13 | </tr> |
| 18 | 14 | </tbody> |
| 15 | + <?php | |
| 16 | + if ( ! empty( $footer_text ) ) { | |
| 17 | + ?> | |
| 19 | 18 | <tfoot id="email-footer"> |
| 20 | 19 | <tr> |
| 21 | 20 | <td> |
| 22 | 21 | <?php echo wp_kses_post( $footer_text ); ?> |
| @@ -22,8 +21,11 @@ | ||
| 22 | 21 | <?php echo wp_kses_post( $footer_text ); ?> |
| 23 | 22 | </td> |
| 24 | 23 | </tr> |
| 25 | 24 | </tfoot> |
| 25 | + <?php | |
| 26 | + } | |
| 27 | + ?> | |
| 26 | 28 | </table> |
| 27 | 29 | </td> |
| 28 | 30 | </tr> |
| 29 | 31 | </table> |