Peter Wilson

Results 203 comments of Peter Wilson

@jeffpaul @dkotter I've pushed an alternative approach in e5b7a78b34bc2b7b978e2a94d25af86567b4b416. Instead of pulling the URL from the DOM attribute, the code pulls in an identifier and there's a function to convert...

@jouni-salo You might be able to use the WordPress `http_request_args` filter to add an authorization header to the requests: ```php add_filter( 'http_request_args', function( $args, $url ) { if ( str_contains(...

Hi Dave, sorry you're having trouble with distributor. So I can test this out on my copy, are you able to let me know the following: * is the connection...

Thanks Dave, Are you able to send through the ACF config export file for the post types to aid with testing. Feel free to do so via the WordPress.org or...

@vkzawa You might be able to add a filter on the `dt_push_post_args` hook. Unfortunately the arguments differ slightly depending on whether it's a network or external connection so you'd need...

@westonruter When it comes to writing tests, are you able to include some for non-core block variations too.

@t-hamano The hook will still run for each individual URL but it won't run with all of them. IE `fetch_feed( [ 'one.example.com', 'two.example.com' ] )` will fire the hook twice,...

> This may not be entirely relevant here because the Custom CSS requires the `edit_css` capability: Sorry, wrong cap but it's still possible someone can edit css without using unfiltered...

> I was wondering if the scope here could be narrowed further to only paginated queries. I don't think that's possible as we can't know if a query will be...