On April 9, 2025 at 13:48
Responded to @kasparsd:

There are inline images but they don't support any block attributes and are placed as simple inline markup.
Responded to @kasparsd:

There are inline images but they don't support any block attributes and are placed as simple inline markup.

Do we really need to wait for the block bits (a shortcode replacement) to enable dynamic content inside inline elements? Currently there isn't a way to display the post title as a paragraph tag in a query loop block, for example.
Responded to @kasparsd:
Importantly, it doesn’t matter if just one sitemap is slow to respond — it will still encourage Google to throttle crawling.
Most of the popular SEO plugin sitemap implementations are known to have both issues on sites with 10k posts or more — there is a delay in regeneration and the dynamic response times can be 30 seconds and more even on dedicated enterprise hosting.
Make sure your sitemaps are quick to update and fast to render at ALL times!
I see a lot of publishers struggle with timely search engine indexing after publishing or updating an article. This happens because:
(1) the update invalidates the sitemap cache and Google sees a long response time due to regeneration which makes it apply crawl throttling as the site appears to be overloaded; or
(2) the sitemap returns stale content (without the new article URL) because there is a delay in regeneration.
Responded to @kasparsd:
I’ve created a repository with minimal configuration to replicate all of these issues: https://github.com/kasparsd/wp-scripts-build-issues
And here is the pull request to fix them: https://github.com/WordPress/gutenberg/pull/69828
I wish wp-scripts considered all JS files in the ./src directory as webpack entrypoints. The current behaviour is very unpredictable and broken:
1. No way to specify individual JS files as entry points while keeping the blocks/*/block.json parsing.
2. Ignores src/index.js entrypoint if src/blocks/*/blocks.json is present.
If you're mostly on other social networks, follow me on:
– LinkedIn https://www.linkedin.com/in/kaspars-dambis/
– Twitter https://x.com/konstruktors
– Bluesky https://bsky.app/profile/kaspars.damb.is
– Threads https://www.threads.net/@wpelevator

With two-factor authentication it is often overwhelming to decide on how to set it up right. Do you think these "recommended" labels and the ordering of methods make it easier? How else could we improve it?
See this issue for context: https://github.com/WordPress/two-factor/pull/676

Version 0.13.0 of the Two Factor plugin for WordPress is out! 🚀
It features a new filter to limit the available two-factor methods for each user. Useful for disabling less secure methods for super-admins, for example.
How do you scope a PHP scoping library to avoid dependency conflicts? That's a trick question 😅
The must rewrite EVERYTHING including the source itself, the autoloader (which must be shipped with the release) and the composer.json with the original dependencies removed.
And then you probably want to test everything by re-running the test suite within the rewritten codebase which still needs to rely on the development dependencies.

What are you using for debugging post meta values in WordPress? Most of the existing plugins seem to be relying on legacy meta boxes for the output.
Oh, well. Microsoft Office auto-update somehow replaced my Office 2021 install with Office 365 which disabled all editing. Had to do a complete reinstall. Good luck finding an official 2021 installer using any of their documentation which is all out of date.
Found a GitHub repo with up-to-date direct links to official downloads and handy commands to disable all telemetry and cloud functionality.

The standard <link rel="alternate" /> tag seems like a good candidate for providing semantic links to markdown representation of website content to LLMs. Same with links to MCP endpoints, right?
Responded to @kasparsd:
Learn more at: https://querymonitor.com

TIL: The Query Monitor plugin adds an HTTP header with a PHP backtrace showing what triggered a WordPress redirect — useful for tracking down the source of unexpected redirects.
Seeing unexpected redirects ♻️ in WordPress and not sure why they're happening?
I put together a guide on how WordPress handles redirects, and the tools you can use to track down where they're coming from.
Here is the guide: https://wpelevator.com/guides/log-wordpress-redirects
Ever wanted to know the source of a redirect in WordPress and the X-Redirect-By header isn't giving you enough context?
Here is a simple must-use plugin to log all redirects to a JSON file along with the PHP backtrace of all the function calls leading up to the redirect https://gist.github.com/kasparsd/f6b6e5572b5afeabe0d26f9120df26f0

Here’s a sneak peek at a prototype plugin that lets you selectively 🔐 encrypt WordPress options.
It's accessible only to admins, similar to the secret wp-admin/options.php page which provides read/write access to all unserialized options.
Interested in early access to this paid plugin? Drop a comment below 👇


I'm working on a PHP library to enable encryption of WordPress options and meta values using symmetrical keys stored in constants, environment variables and PHP files.
The eventual goal is to get something similar into WordPress core so I'll build a plugin that provides an interface for encrypting existing options. Other plugins will be able to opt-in for encrypted storage of specific options through a simple filter.
What's something you would like to see in a solution like this?
What’s the name of the form plugin that is using only Gutenberg blocks? I think it was released in the past few month.