Make WordPress Core

Opened 13 months ago

Last modified 12 months ago

#58722 new defect (bug)

Fix RTL display in Optional grouping on Permalinks Settings page

Reported by: sabernhardt's profile sabernhardt Owned by:
Milestone: Future Release Priority: normal
Severity: normal Version:
Component: Permalinks Keywords: has-patch needs-testing has-testing-info
Focuses: rtl, multisite Cc:


splitting from #47755 (props rachid84, johnbillion, SergeyBiryukov, costdev, joedolson, afercia, ryokuhi, oglekler)

For the Category/Tag Base fields, subdirectory network installations can show a /blog prefix before the input field. In RTL languages, the slash is on the wrong side. Also, the example URL can wrap awkwardly to the next line. In any language, the text is stacked above the field with little space between them on smaller screens.

  1. Create a multisite network with subdirectories.
  2. Open the main site.
  3. Visit Settings -> Permalinks.
  4. Scroll down to the Optional section.

Change History (4)

This ticket was mentioned in PR #2955 on WordPress/wordpress-develop by @sabernhardt.

13 months ago

  • Keywords has-patch added

In the main site of subdirectory network installations, the blog prefix does not display correctly in RTL.

LTR (at 820 pixels wide and at 600):

In RTL, the slash displays on the wrong side of "blog" and the prefix appears on the wrong side of the input field. Plus, the example URL can wrap awkwardly to the next line.

This wraps the prefix and field in a span with the code class and adds CSS to keep the prefix next to the field on smaller screens. In the paragraph, code elements are set to inline-block to keep them on one line (or wrap better).

Trac ticket:

#3 @costdev
13 months ago

  • Keywords has-testing-info added

#4 @sabernhardt
12 months ago

  • Milestone changed from 6.3 to Future Release
Note: See TracTickets for help on using tickets.