[wp-trac] [WordPress Trac] #55567: Editor: Backport bug fixes for WordPress 6.0 from Gutenberg
WordPress Trac
noreply at wordpress.org
Tue May 10 15:57:50 UTC 2022
#55567: Editor: Backport bug fixes for WordPress 6.0 from Gutenberg
-------------------------------------------+-----------------------
Reporter: gziolo | Owner: (none)
Type: task (blessed) | Status: reopened
Priority: normal | Milestone: 6.0
Component: Editor | Version: trunk
Severity: normal | Resolution:
Keywords: has-patch commit dev-feedback | Focuses:
-------------------------------------------+-----------------------
Comment (by SergeyBiryukov):
Replying to [comment:74 hellofromTonya]:
> and converting it into:
>
> {{{#!php
> /* translators: %s: Post title. */
> $post_title = __( '“%s”', get_the_title() );
> }}}
Alternatively, two existing strings from `wptexturize()` could be reused
here:
{{{
/* translators: Opening curly double quote. */
$opening_quote = _x( '“', 'opening curly double quote' );
/* translators: Closing curly double quote. */
$closing_quote = _x( '”', 'closing curly double quote' );
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/55567#comment:80>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list