generated from alleyinteractive/create-wordpress-plugin
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Built changes for v2.3.3 from develop dcf9298
- Loading branch information
Showing
421 changed files
with
48,152 additions
and
508 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,26 +1,22 @@ | ||
# Build files | ||
build | ||
vendor | ||
composer.lock | ||
node_modules | ||
|
||
# Log files | ||
*.log | ||
|
||
# Cache files | ||
.phpcs/*.json | ||
.phpunit.result.cache | ||
|
||
# Ignore temporary OS files | ||
.DS_Store | ||
.DS_Store? | ||
.Spotlight-V100 | ||
.Trashes | ||
ehthumbs.db | ||
Thumbs.db | ||
.thumbsdb | ||
|
||
# IDE files | ||
*.code-workspace | ||
.idea | ||
.vscode | ||
wp-cli.local.yml | ||
node_modules/ | ||
*.sql | ||
*.tar.gz | ||
*.zip | ||
.phpunit.result.cache | ||
Dockerfile | ||
output.log | ||
.github | ||
tests | ||
bin | ||
composer.lock | ||
.phpcs.xml | ||
phpunit.xml | ||
configure.php | ||
DOCKER_ENV | ||
phpunit.xml | ||
tests | ||
.phpcs | ||
Makefile |
This file was deleted.
Oops, something went wrong.
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
{ | ||
"$schema": "https://schemas.wp.org/trunk/block.json", | ||
"apiVersion": 3, | ||
"name": "wp-curate/post-title", | ||
"version": "0.1.0", | ||
"title": "Post Title", | ||
"category": "theme", | ||
"icon": "post", | ||
"description": "Custom post title for WP Curate", | ||
"textdomain": "wp-curate", | ||
"editorScript": "file:index.js", | ||
"style": "wp-block-post-title", | ||
"usesContext": [ | ||
"postId", | ||
"query", | ||
"pinnedPosts", | ||
"customPostTitles" | ||
], | ||
"attributes": { | ||
"level": { | ||
"type": "number", | ||
"default": 3 | ||
}, | ||
"supportsLevel": { | ||
"type": "boolean", | ||
"default": true | ||
} | ||
}, | ||
"render": "file:render.php", | ||
"supports": { | ||
"inserter": false | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
<?php return array('dependencies' => array('react', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-core-data', 'wp-data', 'wp-i18n', 'wp-primitives'), 'version' => '9e715e0b92a78b6fc441'); |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
<?php | ||
/** | ||
* Block Name: Post Title. | ||
* | ||
* @package wp-curate | ||
*/ | ||
|
||
/** | ||
* Registers the wp-curate/post-title block using the metadata loaded from the `block.json` file. | ||
*/ | ||
function wp_curate_post_title_block_init(): void { | ||
// Register the block by passing the location of block.json. | ||
register_block_type( | ||
__DIR__ | ||
); | ||
} | ||
add_action( 'init', 'wp_curate_post_title_block_init' ); |
Oops, something went wrong.