Changeset 47645 for branches/5.2/src/wp-includes/blocks/rss.php
- Timestamp:
- 04/29/2020 04:05:32 PM (6 years ago)
- Location:
- branches/5.2
- Files:
-
- 2 edited
-
. (modified) (1 prop)
-
src/wp-includes/blocks/rss.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/5.2
- Property svn:mergeinfo changed
/trunk merged: 47633-47638
- Property svn:mergeinfo changed
-
branches/5.2/src/wp-includes/blocks/rss.php
r44810 r47645 81 81 82 82 $classes = 'grid' === $attributes['blockLayout'] ? ' is-grid columns-' . $attributes['columns'] : ''; 83 $list_items_markup = "<ul class='wp-block-rss{$classes}'>{$list_items}</ul>";83 $list_items_markup = sprintf( "<ul class='%s'>%s</ul>", esc_attr( 'wp-block-rss' . $classes ), $list_items ); 84 84 85 85 // PHP 5.2 compatibility. See: http://simplepie.org/wiki/faq/i_m_getting_memory_leaks. … … 94 94 */ 95 95 function register_block_core_rss() { 96 register_block_type( 'core/rss', 96 register_block_type( 97 'core/rss', 97 98 array( 98 99 'attributes' => array(
Note: See TracChangeset
for help on using the changeset viewer.