[wp-trac] [WordPress Trac] #40607: The slug of a menu-item of type "Custom Links" interferes with pages/posts slugs.
WordPress Trac
noreply at wordpress.org
Tue May 12 07:21:38 UTC 2020
#40607: The slug of a menu-item of type "Custom Links" interferes with pages/posts
slugs.
--------------------------+------------------------------
Reporter: Karimeo | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Permalinks | Version:
Severity: normal | Resolution:
Keywords: | Focuses: administration
--------------------------+------------------------------
Changes (by sabernhardt):
* component: General => Permalinks
Comment:
@Karimeo Hi and thanks for the report!
Please try again with the latest WordPress version (5.4.1). It somehow
worked for me, so this may have been solved another way.
Custom menu link:
{{{
<title>google</title>
<link>http://localhost/wp54/google/</link>
<pubDate>Tue, 12 May 2020 06:19:26 +0000</pubDate>
<guid isPermaLink="false">http://localhost/wp54/?p=54</guid>
<wp:post_name><![CDATA[google]]></wp:post_name>
<wp:status><![CDATA[publish]]></wp:status>
<wp:post_type><![CDATA[nav_menu_item]]></wp:post_type>
}}}
Page created after menu item with same slug:
{{{
<title>google</title>
<link>http://localhost/wp54/google/</link>
<pubDate>Tue, 12 May 2020 06:19:47 +0000</pubDate>
<guid isPermaLink="false">http://localhost/wp54/?page_id=55</guid>
<wp:post_name><![CDATA[google]]></wp:post_name>
<wp:status><![CDATA[publish]]></wp:status>
<wp:post_type><![CDATA[page]]></wp:post_type>
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/40607#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list