summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYury German <blueknight@gentoo.org>2022-06-15 12:08:35 -0400
committerYury German <blueknight@gentoo.org>2022-06-15 12:08:35 -0400
commit36d7691c33cb64ece817246e47a779ec648d10b0 (patch)
tree08f2fb95303a1d8eeba2c8629a24b35a91fb1cac /plugins/jetpack/extensions/blocks/subscriptions/subscriptions.php
parenttwentyfourteen upg 2.7 to 3.2 and twentysixteen from 2.0 to 2.5 (diff)
downloadblogs-gentoo-36d7691c33cb64ece817246e47a779ec648d10b0.tar.gz
blogs-gentoo-36d7691c33cb64ece817246e47a779ec648d10b0.tar.bz2
blogs-gentoo-36d7691c33cb64ece817246e47a779ec648d10b0.zip
Openid-3.6.1 and jetpack-11.0 upgrade
Signed-off-by: Yury German <blueknight@gentoo.org>
Diffstat (limited to 'plugins/jetpack/extensions/blocks/subscriptions/subscriptions.php')
-rw-r--r--plugins/jetpack/extensions/blocks/subscriptions/subscriptions.php11
1 files changed, 10 insertions, 1 deletions
diff --git a/plugins/jetpack/extensions/blocks/subscriptions/subscriptions.php b/plugins/jetpack/extensions/blocks/subscriptions/subscriptions.php
index 9fa2ab3c..868203f1 100644
--- a/plugins/jetpack/extensions/blocks/subscriptions/subscriptions.php
+++ b/plugins/jetpack/extensions/blocks/subscriptions/subscriptions.php
@@ -26,7 +26,16 @@ function register_block() {
) {
Blocks::jetpack_register_block(
BLOCK_NAME,
- array( 'render_callback' => __NAMESPACE__ . '\render_block' )
+ array(
+ 'render_callback' => __NAMESPACE__ . '\render_block',
+ 'supports' => array(
+ 'spacing' => array(
+ 'margin' => true,
+ 'padding' => true,
+ ),
+ 'align' => array( 'wide', 'full' ),
+ ),
+ )
);
}
}