Skip to content

Commit

Permalink
Add a default short description.
Browse files Browse the repository at this point in the history
  • Loading branch information
ryanwelcher committed Mar 27, 2024
1 parent 40296ef commit 82f570a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion my-template/files/block/render.php.mustache
Expand Up @@ -25,7 +25,7 @@ $context = array();
data-wp-interactive="{{slug}}"
<?php echo wp_interactivity_data_wp_context( $context ); ?>
>
<?php esc_html_e( '{{title}} – hello from a dynamic block!', '{{textdomain}}' ); ?>
<?php esc_html_e( '{{title}} – hello from an interactive block!', '{{textdomain}}' ); ?>
</p>
{{/isInteractiveVariant}}
{{#isDynamicVariant}}
Expand Down
2 changes: 2 additions & 0 deletions my-template/index.js
Expand Up @@ -16,6 +16,8 @@ module.exports = {
},
version: "1.0.0",
namespace: "developer-blog",
description:
"A plugin created by the create-block tool using a custom external project template.",
render: "file:./render.php",
customPackageJSON: {
prettier: "@wordpress/prettier-config",
Expand Down

0 comments on commit 82f570a

Please sign in to comment.