Build Tools: Upgrade @wordpress packages to the latest version.
This also includes the new @wordpress/format-library and @wordpress/notices packages. package-lock.json has been completely regenerated in this commit. Props pento. Merges [43840] to trunk. See #45145. Built from https://develop.svn.wordpress.org/trunk@44177 git-svn-id: http://core.svn.wordpress.org/trunk@44007 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
@@ -62,6 +62,10 @@ function render_block_core_latest_posts( $attributes ) {
|
||||
$class .= ' columns-' . $attributes['columns'];
|
||||
}
|
||||
|
||||
if ( isset( $attributes['displayPostDate'] ) && $attributes['displayPostDate'] ) {
|
||||
$class .= ' has-dates';
|
||||
}
|
||||
|
||||
if ( isset( $attributes['className'] ) ) {
|
||||
$class .= ' ' . $attributes['className'];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user