← All changes
|
includes/admin/views/settings/inline-content.php
+8
-2
1.7.0.11
→
1.8.13
View file →
| @@ -1,5 +1,11 @@ | ||
| 1 | 1 | <?php |
| 2 | + | |
| 3 | +// Exit if accessed directly. | |
| 4 | +if ( ! defined( 'ABSPATH' ) ) { | |
| 5 | + exit; | |
| 6 | +} | |
| 7 | + | |
| 2 | 8 | /** |
| 3 | 9 | * Display inline content in the settings area. |
| 4 | 10 | * |
| 5 | 11 | * Unlike the 'content' field type, the content in this case is not full-width but is |
| @@ -6,11 +12,11 @@ | ||
| 6 | 12 | * added to the second <td></td> in the settings table row. |
| 7 | 13 | * |
| 8 | 14 | * @author David Bisset |
| 9 | 15 | * @package Charitable/Admin View/Settings |
| 10 | - * @copyright Copyright (c) 2022, WP Charitable LLC | |
| 16 | + * @copyright Copyright (c) 2023, WP Charitable LLC | |
| 11 | 17 | * @license http://opensource.org/licenses/gpl-2.0.php GNU Public License |
| 12 | 18 | * @since 1.6.18 |
| 13 | 19 | * @version 1.6.18 |
| 14 | 20 | */ |
| 15 | 21 | |
| 16 | -echo $view_args['content']; | |
| 22 | +echo $view_args['content']; // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped | |