tombroucke

Results 20 comments of tombroucke

We also need to filter a custom post type by a related post type, and we came up with 2 possible solutions - add a filter to the $use_key variable...

I came up with a workaround (I wouldn't call it a solution) for this. The problem is that $use_key remains false, because the key is an int (numeric), so the...

I'm having a similar issue with translations. In the `plugins_loaded` hook, `get_locale()` returns en_US, while the language is set to nl_NL in my config/intervention.php file. Database value is EMPTY. I...

Hi, Please see the screen recording below. Fresh install, twentytwentyone & intervention as the only active plugin. When I deactivate intervention, I can correctly publish new posts. ```

Same problem here. Wordpress installed in subdirectory /wp (bedrock). Rolling back to 6.8.2 fixes the issue

This also causes problems with the `?wc-ajax=get_refreshed_fragments` request, which is automatically canceled. Problem is caused by `add_filter( 'wp_resource_hints', array( $this, 'add_resource_hints' ), 10, 2 );`

If translation is a must, you could add a filter: ``` add_filter('sage/blocks/my-custom-block/register-data', function ($data) { $data['title'] = __('My custom block title', 'sage'); $data['description'] = __('My custom block description', 'sage'); return...

I have created a pull request that fixes this issue. In the meantime, you can fix the issue by updating the template() function in helpers.php: ``` function template($file, $data =...

I am used to pass my data through the `sage/blocks/$slug/data` filter, but this is not the best way imo. I am trying out some other ways to pass data. This...