Changeset 45259
- Timestamp:
- 04/23/2019 09:04:19 PM (7 years ago)
- Location:
- trunk/src/wp-admin
- Files:
-
- 2 edited
-
includes/class-wp-debug-data.php (modified) (2 diffs)
-
site-health-info.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/class-wp-debug-data.php
r45246 r45259 984 984 * for the copied data. 985 985 * 986 * All strings are expected to be plain text except $description that can contain inline HTML tags (see below). 987 * 986 988 * @since 5.2.0 987 989 * … … 995 997 * @type string $label The title for this section of the debug output. 996 998 * @type string $description Optional. A description for your information section which may contain basic HTML 997 * markup : `em`, `strong` and `a` for linking to documentation or putting emphasis.999 * markup, inline tags only as it is outputted in a paragraph. 998 1000 * @type boolean $show_count Optional. If set to `true` the amount of fields will be included in the title for 999 1001 * this section. -
trunk/src/wp-admin/site-health-info.php
r45245 r45259 138 138 <?php 139 139 140 $kses_settings = array(141 'a' => array(142 'href' => true,143 ),144 'strong' => true,145 'em' => true,146 );147 148 140 if ( isset( $details['description'] ) && ! empty( $details['description'] ) ) { 149 printf( '<p>%s</p>', wp_kses( $details['description'], $kses_settings ));141 printf( '<p>%s</p>', $details['description'] ); 150 142 } 151 143
Note: See TracChangeset
for help on using the changeset viewer.