-
Notifications
You must be signed in to change notification settings - Fork 62
Add wp_import_existing_post filter from Trac #33721 #10
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
base: master
Are you sure you want to change the base?
Add wp_import_existing_post filter from Trac #33721 #10
Conversation
|
Looks good! This does cause extra sets on the |
|
I'm not familiar enough with the new codebase to speak to performance, but this patch has been applied to the existing WordPress Importer plugin on WordPress.com and we're using it successfully there. |
|
Specifically, if I call (In the old importer, the array is only the posts imported so far.) |
|
Also, in keeping with the new naming scheme, this should be |
Why are you using |
|
The |
Because it looks nice. :)
It's not actually merged into the original Importer though, right? For new filters, I'd like to stick to the new style prefixes. |
|
@rmccue it has now been merged into the original Importer 😄 |
|
Ready to go in my opinion. |
|
Worth noting that it has been added to the original importer for version 0.6.2 which was released, but then the release was canceled again. So we could probably use the new style prefix for it here. |
See https://core.trac.wordpress.org/ticket/33721