[wp-trac] [WordPress Trac] #23870: Filter Glyph for Comment Required Fields
WordPress Trac
noreply at wordpress.org
Tue Sep 13 18:47:02 UTC 2022
#23870: Filter Glyph for Comment Required Fields
-----------------------------+-----------------------------
Reporter: cais | Owner: SergeyBiryukov
Type: enhancement | Status: closed
Priority: normal | Milestone:
Component: Comments | Version: 3.5
Severity: normal | Resolution: duplicate
Keywords: has-patch close | Focuses: template
-----------------------------+-----------------------------
Changes (by hellofromTonya):
* status: assigned => closed
* resolution: => duplicate
* milestone: 6.1 =>
Comment:
I agree with @sabernhardt to close this ticket. I'm marking it as a
duplicate of #56389.
Why close?
With #56389's changeset [54137], the glyph is now filterable through the
`'wp_required_field_indicator'` filter. As @sabernhardt notes, the new
filter is for the entire required HTML, i.e. `<span
class="required">*</span>`.
In my opinion, adding additional filter for only the glyth is not needed.
The glyth itself is programmatically available to be changed, albeit a bit
more code is needed ([https://3v4l.org/mA2Hm some examples]).
Why duplicate? Its scope was included in #56389.
Thank you everyone for your contributions to this ticket.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/23870#comment:33>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list