Make WordPress Core

Opened 5 years ago

Last modified 5 years ago

#45260 closed defect (bug)

post_name collision in multiblog with sub pages — at Version 1

Reported by: daschmi's profile Daschmi Owned by:
Milestone: Priority: normal
Severity: normal Version: 4.9.8
Component: Posts, Post Types Keywords:
Focuses: multisite Cc:

Description (last modified by SergeyBiryukov)

Wordpress Version: Version 4.9.8
Multiblog installation with several Blogs on one domain

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;

Change History (1)

#1 @SergeyBiryukov
5 years ago

  • Component changed from Networks and Sites to Posts, Post Types
  • Description modified (diff)
Note: See TracTickets for help on using tickets.