Brandon Payton
Brandon Payton
I've been looking at this a bit this evening. Ultimately, we need to be able to handle PHP subrequests before the WordPress installation process is invoked.
> Can we enable pretty permalinks once WordPress is installed, though? Could be as a part of the boot protocol. @adamziel yep, I think that is good in the short...
How can subrequests work if the PHP request handler hasn't been exposed outside of bootWordPress() yet?
@adamziel thanks for all your thoughts and background. I agree it probably makes sense to avoid slowing down Playground WP boot with a longer install process. And maybe we can...
This sounds like a great idea, both for users making reports and for our efforts to triage.
I'm curious whether this has anything to do with #1539 and will grab this to test after the other PR is merged.
@dcalhoun, it looks like the auth is not working for some reason. I'm getting the same message, and if I instrument the permissions check to error_log `get_current_user_id()` the value is...
@dcalhoun After some debugging, it looks like Playground is auto-sending cookies and interfering with application password auth. Here's how: Playground is auto-sending login cookies here: https://github.com/WordPress/wordpress-playground/blob/2b1f0b635809d0b8723460a88460b04bcfadd1ce/packages/php-wasm/universal/src/lib/php-request-handler.ts#L485-L496 When Playground auto-adds cookies...
> I wonder if it's time to get rid of the internal cookie store and scope all cookies to the specific scoped WordPress site path @adamziel, this is a great...
> I wonder if it's time to get rid of the internal cookie store and scope all cookies to the specific scoped WordPress site path I think this may turn...