Make WordPress Core

Opened 5 years ago

Last modified 22 months ago

#47565 new defect (bug)

WordPress permalinks flip in hebrew

Reported by: alexstan92's profile alexstan92 Owned by:
Milestone: Awaiting Review Priority: normal
Severity: normal Version: 4.9.8
Component: Permalinks Keywords: has-patch
Focuses: ui, rtl Cc:

Description (last modified by SergeyBiryukov)

I have a WordPress website in hebrew. My problem is when have a parent page and a child page, the child page url permalink is backward(the child page slug is after the parent page slug). I want first the parent slug then the child. When click Edit it shows it right, but when click ok it's not. The problem is only with this language, when it is english it is ok - Parent slug/Child slug.

Here is Child slug/Parent slug

If i click Edit:
Parent slug/Child slug

Attachments (2)

1.jpg (3.2 KB) - added by SergeyBiryukov 5 years ago.
2.jpg (3.7 KB) - added by SergeyBiryukov 5 years ago.

Download all attachments as: .zip

Change History (6)

@SergeyBiryukov
5 years ago

@SergeyBiryukov
5 years ago

#1 @SergeyBiryukov
5 years ago

  • Description modified (diff)

#2 @SergeyBiryukov
5 years ago

  • Focuses ui rtl added

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


22 months ago
#4

  • Keywords has-patch added

This might fix issues related to the parent pages/categories.

  • The comment URL is decoded, and the ‎ entity is added after each slash that precedes an encoded character.
  • For post permalinks, ‎ follows each slash that is not found in the home URL.
  • Each ‎ entity is inside a span so it can have user-select: none. (Without that, copying and pasting the text would give an invalid URL.)

Below is a set of screenshots in Hebrew (screenshots also available in Arabic):

https://i0.wp.com/user-images.githubusercontent.com/17100257/177662125-e9616054-af0d-4bb9-a9d6-9a05580f9ccc.png

Trac ticket: https://core.trac.wordpress.org/ticket/47565

Note: See TracTickets for help on using tickets.