Making WordPress.org

Changeset 13772


Ignore:
Timestamp:
06/04/2024 04:20:42 AM (6 months ago)
Author:
dufresnesteven
Message:

support-forums: Add &nbsp; to breadcrumb so <p> with display:flex will respect empty space.

Fixes: https://github.com/WordPress/wordpress.org/issues/292
Props: welcher

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/wordpress.org/public_html/wp-content/plugins/support-forums/inc/class-support-compat.php

    r12365 r13772  
    500500        if ( 'plugin' === $type ) {
    501501            /* translators: %s: link to plugin support or review forum */
    502             $parent_breadcrumb = __( 'Plugin: %s', 'wporg-forums' );
     502            $parent_breadcrumb = str_replace( ' ', '&nbsp;', __( 'Plugin: %s', 'wporg-forums' ) );
    503503        } else {
    504504            /* translators: %s: link to theme support or review forum */
    505             $parent_breadcrumb = __( 'Theme: %s', 'wporg-forums' );
     505            $parent_breadcrumb = str_replace( ' ', '&nbsp;', __( 'Theme: %s', 'wporg-forums' ) );
    506506        }
    507507        $link = sprintf( $parent_breadcrumb, sprintf(
Note: See TracChangeset for help on using the changeset viewer.