From 2f73b6bc8c2e8118498dc380c7ff224d615b4478 Mon Sep 17 00:00:00 2001 From: Jeff Ong Date: Thu, 22 Jul 2021 17:44:57 -0400 Subject: [PATCH] Remove static save. --- packages/block-library/src/query-pagination/index.js | 2 -- packages/block-library/src/query-pagination/index.php | 4 ++-- packages/block-library/src/query-pagination/save.js | 10 ---------- 3 files changed, 2 insertions(+), 14 deletions(-) delete mode 100644 packages/block-library/src/query-pagination/save.js diff --git a/packages/block-library/src/query-pagination/index.js b/packages/block-library/src/query-pagination/index.js index a15bdd4389cee5..bc36ba9ca7e321 100644 --- a/packages/block-library/src/query-pagination/index.js +++ b/packages/block-library/src/query-pagination/index.js @@ -8,7 +8,6 @@ import { queryPagination as icon } from '@wordpress/icons'; */ import metadata from './block.json'; import edit from './edit'; -import save from './save'; const { name } = metadata; export { metadata, name }; @@ -16,5 +15,4 @@ export { metadata, name }; export const settings = { icon, edit, - save, }; diff --git a/packages/block-library/src/query-pagination/index.php b/packages/block-library/src/query-pagination/index.php index 636b6f9ea93458..53d958e3665dc6 100644 --- a/packages/block-library/src/query-pagination/index.php +++ b/packages/block-library/src/query-pagination/index.php @@ -8,8 +8,8 @@ /** * Renders the `core/query-pagination` block on the server. * - * @param array $attributes Block attributes. - * @param string $content Block default content. + * @param array $attributes Block attributes. + * @param string $content Block default content. * * @return string Returns the wrapper for the Query pagination. */ diff --git a/packages/block-library/src/query-pagination/save.js b/packages/block-library/src/query-pagination/save.js deleted file mode 100644 index 873432fe659547..00000000000000 --- a/packages/block-library/src/query-pagination/save.js +++ /dev/null @@ -1,10 +0,0 @@ -/** - * WordPress dependencies - */ -import { InnerBlocks } from '@wordpress/block-editor'; - -export default function save() { - return ( - - ); -}