[wp-trac] [WordPress Trac] #62143: Twenty Twenty-Five: The copyright format may not be correct
WordPress Trac
noreply at wordpress.org
Tue Oct 1 02:50:49 UTC 2024
#62143: Twenty Twenty-Five: The copyright format may not be correct
---------------------------+-----------------------------
Reporter: wildworks | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Bundled Theme | Version:
Severity: normal | Keywords:
Focuses: |
---------------------------+-----------------------------
This is derived from Gutenberg PR:
https://github.com/WordPress/gutenberg/pull/65717
This theme displays the copyright in the following format in the footer
via the block binding API:
{{{
© {currentYear}
}}}
However, in my understanding, the copyright should indicate the year the
rights were issued, not the current year.
My suggested approach is either:
1. Delete the copyright.
2. Instead of the block binding API, embed `© <?php echo wp_date( 'Y'
); ?>`. This will make the year persistent when the user updates the
footer template part. In other words, the time when the user updates the
footer template part will be considered the "year the rights were issued."
If we keep the current implementation, we'll probably need to decode the
HTML entities. See
[https://github.com/WordPress/gutenberg/pull/65717#issuecomment-2382386989
this comment].
--
Ticket URL: <https://core.trac.wordpress.org/ticket/62143>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list