wildoperation
Forum Replies Created
-
Forum: Plugins
In reply to: [Cloudflare] Purging cache on updateWe found a solution for this. It seems like you can do this with both a hook-based approach or by calling the purge function directly. We didn’t test calling directly — only hooks — so I’ll share that here in case anyone else needs to do something similar.
We found that adding these hooks to the theme functions didn’t work — they are registered too late. So we had to make a small plugin and add them there:
/**
* First add a custom action to the list of Cloudflare purge everything actions
*/
add_filter(
'cloudflare_purge_everything_actions',
function ( $actions ) {
$actions[] = 'ddi_cloudflare_purge_everything';
return $actions;
}
);
/**
* Hook into the ACF options page save action, and call our custom action.
* You can replace acf/options_page/save with any other action you're trying to intercept.
*/
add_action(
'acf/options_page/save',
function ( $post_id, $menu_slug ) {
if ( $menu_slug === 'acf-options-alert-message' || $menu_slug === 'site-general-settings' ) {
do_action( 'ddi_cloudflare_purge_everything' );
}
},
10,
2
);Forum: Plugins
In reply to: [Fast Velocity Minify] Line 29 Issue with WP 7.0We’re seeing the same issue, but not specific to WordPress 7.0. It’s happening on a site with 6.9 and a site with 7.0, so I suspect it was caused by a change in FVM 3.5.5 that both sites auto-updated to.
I would guess the problem is the double slash in the include path, but have not dug into it enough yet to confirm. If we fix before an update is released I will share here.
After looking through this more, I think my assumption that old data was being used is incorrect. The description matched what I had previously entered, but varies per page, so it is pulled from the page content.
Instead, I think what I’m seeing is that the overrides aren’t working. I see the note “Available post data is auto-mapped. Map only to override default values or add missing values.” I think what’s going on is that data is being auto-mapped, but my overrides and additional fields (phone, hours, etc) are not being added to the Schema.
My targeting is setup ON posts and pages with no OFF targeting.
EDIT: I ended up dropping ACF fields and using custom text fields and everything works as expected. I think the issue is that even though ACF fields from the Options page show up in Schema Package’s settings, maybe only ACF fields from pages/posts/cpts are actually available? Either way, I can work around it. Thanks!
- This reply was modified 2 months, 3 weeks ago by wildoperation.
Thanks so much for the review!
Thank you!
Forum: Plugins
In reply to: [WP Super Cache] Plugin auto-updates fail when cache enabledHello,
One example is https://wildoperation.com
But I’ve already implemented the wp_scrape_key= fix mentioned above on all sites that I was having this problem with, including this one. Since then, no updates have failed.
Thanks,
Tim
edit: Replied from the wrong account, so just wanted to note that I am the original creator of this thread.
Forum: Reviews
In reply to: [Screen Stay Awake] Just what I needed!Thanks, Joss! Feel free to reach out if you have any suggestions for future versions.
Hi Phuong,
Thanks for reaching out. We don’t provide support for the paid version on these forums as it is against the forum guidelines.
Please visit https://wpadcommander.com/support/ and reach out with a pre-sale question regarding lifetime keys and someone will get back to you!
Thanks.