[wp-trac] [WordPress Trac] #45260: post_name collision in multiblog with sub pages
WordPress Trac
noreply at wordpress.org
Fri Nov 2 11:02:24 UTC 2018
#45260: post_name collision in multiblog with sub pages
--------------------------------+-----------------------------
Reporter: Daschmi | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Networks and Sites | Version: 4.9.8
Severity: normal | Keywords:
Focuses: multisite |
--------------------------------+-----------------------------
Wordpress Version: Version 4.9.8
Multiblog installation with several Blogs on one domain
- main blog with URL https://daschmi.de/
- another blog with URL https://daschmi.de/blog1
Problem
On the root Blog i can not create a page with the page name "blog1" on a
subpage.
Example URL: https://blogoverview/blog1
The problem is the funtion avoid_blog_page_permalink_collision in /wp-
admin/includes/ms.php:640
workaround for me after the is_main_site() check:
if ($data['post_parent'] > 0) return $data;
--
Ticket URL: <https://core.trac.wordpress.org/ticket/45260>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list