[wp-trac] [WordPress Trac] #64293: Add native shortcode to dynamically insert current year
WordPress Trac
noreply at wordpress.org
Tue Nov 25 06:37:57 UTC 2025
#64293: Add native shortcode to dynamically insert current year
-----------------------------+------------------------------
Reporter: tobifjellner | Owner: (none)
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Shortcodes | Version:
Severity: normal | Resolution:
Keywords: has-patch close | Focuses:
-----------------------------+------------------------------
Changes (by westonruter):
* keywords: has-patch => has-patch close
Comment:
Replying to [comment:2 tobifjellner]:
> > Perhaps a block-based approach instead and thus opening an issue
upstream in Gutenberg?
>
> As far as I understand, a block can't deliver just some text in a span
element.
> A "copyright notice" block might be nice, but it immediately leads to a
heavier solution, with user settings, etc.
This is where block bits will come in:
https://make.wordpress.org/core/2024/06/08/proposal-bits-as-dynamic-
tokens/
--
Ticket URL: <https://core.trac.wordpress.org/ticket/64293#comment:5>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list