Paul de Wouters
Paul de Wouters
I also get this error, any workaround?
I get the same when importing posts with WP CLI ``` Processing post #61218 ("john-lynch") (post_type: attachment) -- 85 of 9,269 (in file example.wordpress.2020-08-21.000.xml) -- Fri, 21 Aug 2020 13:16:42...
The workaround won't work when attempting to retrieve an attachment that belongs to another site unless we `switch_to_blog`
Thanks @tomjn :) Ignore that nginx config, I think I need to create a `vvv-nginx-custom.conf` and define some rules there because WordPress core is in a subdirectory `site/public/wp`
Why not add it if it can help avoid unnecessary re-renders in child components? > The problem with this syntax is that a different callback is created each time the...
Yes this was noted on the original proposal. not sure why we added it https://github.com/humanmade/coding-standards/issues/157#issuecomment-567540662
I vote for the second one
This seems to work https://gist.github.com/pdewouters/2916363d56f3978894d9
Ah ok, thanks for clarifying. The selected posts weren't being saved actually.
In this particular case there is only one site that receives distributed content. I do see the issue if there are a lot of sites though. I don't have any...