#wordpress 2022-10-14

2022-10-14 UTC
[jeremyfelt] joined the channel
#
[jeremyfelt]
GWG - could you use the `shutdown` hook or `register_shutdown_function()` to register a custom shutdown handler? There's also a chance the heartbeat API could work, or some custom "fire only once if a queue exists" REST call via JS. I'd be happy to help/think through it some more if you'd like.
#
GWG
[jeremyfelt]: WP-Cron is still inherently unpredictable.
#
[jeremyfelt]
oh yeah, beyond so. 🙂 With the shutdown hook, you could be more confident that all other processing had happened and then fire it on the same POST request. The heartbeat API or a custom REST call would be a little hacky, but could give a more reliable ping from the browser on the next page load to trigger a "cron" if the shutdown hook didn't do the trick.
#
GWG
[jeremyfelt]: We have this same problem in sending webmentions, which hook into the do_pings infrastructure
neceve and [tonz] joined the channel
#
[tonz]
Jan Boddez released a WP plugin for IndieWeb that works with blocks today https://wordpress.org/plugins/indieblocks/
#
Loqi
[Jan Boddez] Description IndieBlocks currently registers a single block, “Context,” which takes a URL and “type,” and outputs correctly microformatted HTML. More blocks are on the way. In combination with a microformats-compatible theme, these help ens...
amar1 and barnaby joined the channel
#
Loqi
tonz has 1 karma in this channel over the last year (18 in all channels)
RasAlGhoul_, jacky, barnaby, barnaby1, [jgmac1106] and jeremycherfas joined the channel