[wp-trac] [WordPress Trac] #56822: Use non-breaking space in required fields message
WordPress Trac
noreply at wordpress.org
Fri Nov 4 17:46:35 UTC 2022
#56822: Use non-breaking space in required fields message
-------------------------+------------------------------
Reporter: sabernhardt | Owner: (none)
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: General | Version:
Severity: normal | Resolution:
Keywords: | Focuses:
-------------------------+------------------------------
Description changed by sabernhardt:
Old description:
> @Drivingralle recommended [https://make.wordpress.org/core/2022/10/10
> /functions-and-hooks-for-required-fields-in-wordpress-6-1/#comment-43914
> changing the default space] before the visual indicator to a non-breaking
> space (so the symbol does not wrap to the next line, separated from the
> rest of the message).
>
> There at least two different ways to achieve that:
> 1. Updating the text string to `'Required fields are marked %s'` or
> 2. Creating a default filter like the "Message example" in the dev note
> (linked above)
New description:
@Drivingralle recommended [https://make.wordpress.org/core/2022/10/10
/functions-and-hooks-for-required-fields-in-wordpress-6-1/#comment-43914
changing the default space] before the visual indicator to a non-breaking
space (so the symbol does not wrap to the next line, separated from the
rest of the message).
There at least two different ways to achieve that:
1. Updating the text string to `'Required fields are marked %s'` or
2. Creating a default filter like the dev note's
[https://make.wordpress.org/core/2022/10/10/functions-and-hooks-for-
required-fields-in-wordpress-6-1/#message-example "Message example"]
--
--
Ticket URL: <https://core.trac.wordpress.org/ticket/56822#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list