Make WordPress Core


Ignore:
Timestamp:
08/11/2024 09:43:14 AM (2 months ago)
Author:
karmatosed
Message:

Twenty Nineteen: Fixes translatable strings with HTML code not appearing.

Only the translatable part not HTML, should appear for translators to avoid issues. This resolves one string that was not appearing. This only fixed for one theme although discussion on the ticket was for multiples. Other tickets should be open for those if desireable.

Props Presskopp, SergeyBiryukov, pratikkry, pento, mukesh27, laurelfulford, kjellr, desrosj, sabernhardt.
Fixes #45473.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-content/themes/twentynineteen/single.php

    r55276 r58881  
    2828                    the_post_navigation(
    2929                        array(
    30                             /* translators: %s: Parent post link. */
    31                             'prev_text' => sprintf( __( '<span class="meta-nav">Published in</span><span class="post-title">%s</span>', 'twentynineteen' ), '%title' ),
     30                            'prev_text' => _x( '<span class="meta-nav">Published in</span><br><span class="post-title">%title</span>', 'Parent post link', 'twentynineteen' ),
    3231                        )
    3332                    );
Note: See TracChangeset for help on using the changeset viewer.