[wp-trac] [WordPress Trac] #51694: Add a hook to change the parameters of the Gutenberg Latest Posts block
WordPress Trac
noreply at wordpress.org
Mon Nov 2 00:45:06 UTC 2020
#51694: Add a hook to change the parameters of the Gutenberg Latest Posts block
-----------------------------+----------------------
Reporter: romain-d | Owner: (none)
Type: feature request | Status: closed
Priority: normal | Milestone:
Component: Editor | Version:
Severity: normal | Resolution: invalid
Keywords: | Focuses:
-----------------------------+----------------------
Changes (by noisysocks):
* keywords: has-patch =>
* resolution: => invalid
* status: new => closed
* component: General => Editor
* milestone: Awaiting Review =>
Comment:
Welcome @romain-d!
I think this is a really good idea.
Since `src/wp-includes/blocks/latest-posts.php` is automatically copied
from the `@wordpress/block-library` npm dependency at build time, your
changes here will be clobbered when `grunt` is next ran.
You will need to make this change by opening a PR in
[https://github.com/WordPress/gutenberg the Gutenberg repository] instead.
The relevant file is at `packages/block-library/src/latest-
posts/index.php`.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/51694#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list