Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Creating a new site introduces post ID collisions #15

Open
carlomanf opened this issue Dec 9, 2022 · 2 comments
Open

Creating a new site introduces post ID collisions #15

carlomanf opened this issue Dec 9, 2022 · 2 comments
Labels
bug Something isn't working

Comments

@carlomanf
Copy link
Owner

When a new site is added to a network, the shared auto-increment needs to be applied before the "hello world" and "sample page" entries are created, or there is a good chance of introducing new post ID collisions.

@carlomanf carlomanf added the bug Something isn't working label Dec 9, 2022
@carlomanf
Copy link
Owner Author

Further to this, it appears that on networks that already have a post with ID number 1, the "wapuu" comment gets incorrectly posted to that post, rather than to the intended new post.

@carlomanf carlomanf added this to the v1.2.0 milestone Jan 18, 2023
@carlomanf
Copy link
Owner Author

Removing this from the v1.2.0 milestone because there are hard-coded values and poor availability of filters in the wp_install_defaults function. It looks like the only reliable way to fix this at the moment is to "plug" the whole function.

@carlomanf carlomanf removed this from the v1.2.0 milestone Jan 22, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant