Skip to content

Commit

Permalink
Remove static save.
Browse files Browse the repository at this point in the history
  • Loading branch information
jffng authored and scruffian committed Aug 25, 2021
1 parent 5e59ec8 commit 6b32739
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 14 deletions.
2 changes: 0 additions & 2 deletions packages/block-library/src/query-pagination/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,11 @@ 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 };

export const settings = {
icon,
edit,
save,
};
4 changes: 2 additions & 2 deletions packages/block-library/src/query-pagination/index.php
Original file line number Diff line number Diff line change
Expand Up @@ -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.
*/
Expand Down
10 changes: 0 additions & 10 deletions packages/block-library/src/query-pagination/save.js

This file was deleted.

0 comments on commit 6b32739

Please sign in to comment.