Jonny Harris's Avatar

Jonny Harris

@spacedmonkey.bsky.social

WordPress core committer. Working on the Times. Lover of open source.

789 Followers  |  234 Following  |  49 Posts  |  Joined: 09.12.2023  |  1.6945

Latest posts by spacedmonkey.bsky.social on Bluesky

I would love to see a custom LLM for WordPress, it could contain trac, the codex and maybe the plugin repo. I would love to be able to ask questions of the whole of trac, like why decisions were made, find duplicate tickets or find plugins with similar functionality.

18.07.2025 07:33 โ€” ๐Ÿ‘ 4    ๐Ÿ” 0    ๐Ÿ’ฌ 1    ๐Ÿ“Œ 0

I would love to see a custom LLM for WordPress, it could contain trac, the codex and maybe the plugin repo. I would love to be able to ask questions of the whole of trac, like why decisions were made, find duplicate tickets or find plugins with similar functionality.

18.07.2025 07:32 โ€” ๐Ÿ‘ 2    ๐Ÿ” 1    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 1
Preview
#14110 (Expose height and width attributes to 'wp_get_attachment_image_attributes' filter) โ€“ WordPress Trac Blog Tool and Publishing Platform

WordPress 6.8.2 just dropped, and Iโ€™m especially proud of one small but mighty improvement: we closed a 15-year-old ticket! ๐ŸŽ‰

wp_get_attachment_image_attributes now includes height and width. This unlocks some powerful tricksโ€”like replacing image URLs or dynamically adjusting dimensions.

16.07.2025 08:43 โ€” ๐Ÿ‘ 1    ๐Ÿ” 0    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0

Have you ever used the alias_of term functionality in WordPress?

Or even heard of it?
Genuinely curious โ€” reply and let me know. ๐Ÿ‘‡ #WordPress #DevSurprises

01.07.2025 20:56 โ€” ๐Ÿ‘ 1    ๐Ÿ” 0    ๐Ÿ’ฌ 1    ๐Ÿ“Œ 0

Apparently it was officially deprecated in WordPress 4.7 โ€” yet it still works if you manually set it.

I canโ€™t believe this was quietly lurking in plain sight all this time.

01.07.2025 20:56 โ€” ๐Ÿ‘ 0    ๐Ÿ” 0    ๐Ÿ’ฌ 1    ๐Ÿ“Œ 0

It doesnโ€™t show up in the admin UI.
Thereโ€™s no core UI for managing aliases.
You have to dig into the DB or use code.
And it only works within the same taxonomy.

01.07.2025 20:56 โ€” ๐Ÿ‘ 0    ๐Ÿ” 0    ๐Ÿ’ฌ 1    ๐Ÿ“Œ 0

You can even set alias_of via wp_insert_term() or when registering terms manually.

Internally, WordPress uses it to merge terms. Think of it as a soft-deprecated, under-documented feature from the multisite merge days.

01.07.2025 20:56 โ€” ๐Ÿ‘ 0    ๐Ÿ” 0    ๐Ÿ’ฌ 1    ๐Ÿ“Œ 0

Turns out thereโ€™s a alias_of parameter for taxonomy terms.

Itโ€™s meant to point one term (e.g. a tag or category) to another โ€” so when you access the alias, it loads the main term instead. Essentially a redirect, at the database level.

01.07.2025 20:56 โ€” ๐Ÿ‘ 0    ๐Ÿ” 0    ๐Ÿ’ฌ 1    ๐Ÿ“Œ 0

Waitโ€ฆ did you know WordPress has a term alias functionality? ๐Ÿ˜ฎ
Iโ€™ve worked with WordPress for years and somehow completely missed this.

01.07.2025 20:56 โ€” ๐Ÿ‘ 0    ๐Ÿ” 0    ๐Ÿ’ฌ 1    ๐Ÿ“Œ 0
Dropping security updates for WordPress versions 4.1 through 4.6 โ€“ WordPress NewsWordPress.orgWordPress.orgWordPress.orgWordPress.org

Dropping security updates for WordPress versions 4.1 through 4.6 wordpress.org/news/2025/06...

20.06.2025 09:08 โ€” ๐Ÿ‘ 1    ๐Ÿ” 0    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0

For those at #wceu, what is your biggest take away from the event? What did you learn?

08.06.2025 14:12 โ€” ๐Ÿ‘ 0    ๐Ÿ” 1    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0

I am not even in Europe right now, I am in Canada. I think that law of physics requires me to half a word away. Crazy. Hopefully next time!

08.06.2025 13:34 โ€” ๐Ÿ‘ 1    ๐Ÿ” 0    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0

You went to WCEU?!? The one bloody WCEU I miss!

08.06.2025 13:20 โ€” ๐Ÿ‘ 0    ๐Ÿ” 0    ๐Ÿ’ฌ 1    ๐Ÿ“Œ 0

It can be used with delicious brains background processing. I would look at using WP cli to run your scheduled tasks, once a minute using a real cron on your server.

02.06.2025 19:54 โ€” ๐Ÿ‘ 0    ๐Ÿ” 0    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0

Have you looked into action scheduler?

02.06.2025 07:13 โ€” ๐Ÿ‘ 0    ๐Ÿ” 0    ๐Ÿ’ฌ 1    ๐Ÿ“Œ 0
Preview
Enhancing WP_Query Performance in WordPress - Spacedmonkey WP_Query is a powerful tool for fetching posts in WordPress. However, if you donโ€™t carefully configure your queries, they can quickly become inefficient, particularly on larger sites. Whether youโ€™re working on a high-traffic website, a REST API endpo...

I don't know about you, but I use WP_Query a lot when coding in #WordPress. This article from @spacedmonkey.bsky.social is a great resource on how to enhance your use of WP_Query.

Well worth a read.

https://bit.ly/4kwUVfa

24.05.2025 08:00 โ€” ๐Ÿ‘ 11    ๐Ÿ” 4    ๐Ÿ’ฌ 1    ๐Ÿ“Œ 0
Preview
How to work effectively with the useSelect hook This article is about the useSelect React hook from the @wordpress/data library. It offers several tips and tricks on how to use it in the most efficient way possible, and answers many subtleโ€ฆ

๐Ÿš€ Mastering useSelect in WordPress development? This in-depth guide by Jarda Snajdr dives into best practices for using the @wordpress/data hook efficiently. From declaring dependencies to handling multiple stores, elevate your block editor skills today.

22.04.2025 13:32 โ€” ๐Ÿ‘ 1    ๐Ÿ” 0    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0

Today I voted! If you are a Canadian, please vote too! This is probably one of the most consequential elections of our time.

21.04.2025 17:41 โ€” ๐Ÿ‘ 2    ๐Ÿ” 1    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0

Might be my new favourite filter in core.

21.04.2025 14:59 โ€” ๐Ÿ‘ 2    ๐Ÿ” 0    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0

After a thoughtful discussion with Core committers, WordPress is moving to one major release per year starting in 2025. Regular maintenance and security releases will continue to keep sites stable and secure between major updates.

16.04.2025 17:44 โ€” ๐Ÿ‘ 10    ๐Ÿ” 8    ๐Ÿ’ฌ 1    ๐Ÿ“Œ 2
Preview
Lazy Load Blocks for WordPress Improve page performance and user experience by lazy loading any WordPress block. Don't let video embeds and newsletter signups delay the critical assets required for rendering your site! Demo of the ...

Get the beta version with a 50% discount here: wpelevator.com/plugins/lazy...

17.04.2025 18:01 โ€” ๐Ÿ‘ 0    ๐Ÿ” 1    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0

๐Ÿš€ Optimise your WordPress queries for better performance! Check out our latest post on improving WP_Query efficiency with key parameters to reduce memory usage, enhance speed, and avoid common pitfalls. ๐Ÿ’ป๐Ÿ“ˆ

14.04.2025 11:10 โ€” ๐Ÿ‘ 4    ๐Ÿ” 1    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0

Has anyone got any recommendations for a good Gutenberg block to share code snippets? The core code block is too simple.

02.04.2025 15:28 โ€” ๐Ÿ‘ 2    ๐Ÿ” 1    ๐Ÿ’ฌ 2    ๐Ÿ“Œ 0
Preview
Why enterprises should be all-in on WordPress Multisite Whether youโ€™re overseeing regional sites, microsites, or internal portals, WordPress Multisite can help you work smarter, and more securely.

I personally believe ( and have done so for many years ) that WordPress Multisite should be enabled by default. He is a good article why Multisite rocks.

humanmade.com/wordpress-fo...

02.04.2025 12:18 โ€” ๐Ÿ‘ 6    ๐Ÿ” 1    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0

Do people like deep dives like this?

31.03.2025 20:40 โ€” ๐Ÿ‘ 1    ๐Ÿ” 0    ๐Ÿ’ฌ 2    ๐Ÿ“Œ 0
Preview
New REST API Filter for Exposing Menus Publicly in WordPress 6.8 In WordPress 6.8, the REST API will allow public access to menu data. That enhancement addresses a longstanding need for headless CMS implementations and custom front-end applications. Before, acceโ€ฆ

New REST API Filter for Exposing Menus Publicly in WordPress 6.8 make.wordpress.org/core/2025/03...

28.03.2025 15:25 โ€” ๐Ÿ‘ 1    ๐Ÿ” 0    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0
Preview
Optimising WP_User_Query Performance: Lazy Loading, Query Caching, and Memory Efficiency in WordPress - Spacedmonkey When working with WordPress sites that have a large number of usersโ€”especially in Multisite environments or setups that heavily rely on user metaโ€”you may have noticed significant performance issuesโ€ฆ

Optimising WP_User_Query Performance: Lazy Loading, Query Caching, and Memory Efficiency in WordPress

26.03.2025 13:30 โ€” ๐Ÿ‘ 1    ๐Ÿ” 0    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 2

I have been using AI tools to get them to try & refactor my code to make it better. Over this year, the tools seem to be getting worse. Now all they seem to do is tell me to break the code down into smaller chunks without any meaningful refactor or other code improvements.Just me

12.03.2025 13:30 โ€” ๐Ÿ‘ 1    ๐Ÿ” 0    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0

Maybe WordPress isnโ€™t for you ๐Ÿคท๐Ÿปโ€โ™‚๏ธ

11.03.2025 04:20 โ€” ๐Ÿ‘ 1    ๐Ÿ” 0    ๐Ÿ’ฌ 1    ๐Ÿ“Œ 0
Preview
Speculative Loading in 6.8 WordPress 6.8 introduces speculative loading, which can lead to near-instant page load times by loading URLs before the user navigates to them. The feature relies on the Speculation Rules API, a weโ€ฆ

WordPress 6.8 introduces speculative loading, which can lead to near-instant page load times by loading URLs before the user navigates to them.

10.03.2025 12:34 โ€” ๐Ÿ‘ 17    ๐Ÿ” 4    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 2

@spacedmonkey is following 20 prominent accounts