Jon Surrell
615 posts

Jon Surrell
@jonsurrell
Dad, coder, linguist, expat in Spain. I wrangle code @Automattic.
Spain Katılım Ocak 2009
925 Takip Edilen296 Takipçiler

@jonsurrell No idea, sorry. I don't see anything in the mailing list logs around that time either. Most of that stuff was just whatever the browsers at the time did already, so the real "why" of it may be lost to the late 90s, in the logs of the Netscape or IE teams.
English

@Hixie Do you to recall why U+00A0 should be escaped when serializing an HTML string?
I just came across this but didn't find anything related in the mailing lists around that time:
> Apparently U+00A0… needs special treatment.
github.com/whatwg/html/co…
English

@Kathy_Darling @ryanwelcher @briancoords @aurooba The image shows a link tag, not the script tag. If you make sure `wp-api-fetch` is enqueued, you should be able to access it via `const apiFetch = wp.apiFetch;` from inside your module.
I hope to solve this problem and have an API module before that pattern proliferates too much.
English

@ryanwelcher @briancoords @aurooba i thought that too:
apiFetch is up on line 39. but my script "module" (i don't understand those yet) is down much later in source on line 1538


English

Module not found: Error: Attempted to use WordPress script in a module: @wordpress/i18n, which is not supported yet.
@briancoords @aurooba have you seen this when trying to use the Interactivity API?
English

@Kathy_Darling @briancoords @aurooba This is a limitation of Script Modules right now: make.wordpress.org/core/2024/03/0…
There's ongoing work to expose more functionality to Script Modules: core.trac.wordpress.org/ticket/60647
English

@Hixie Is there a license for software.hixie.ch/utilities/js/l…? I know the site says "free software," but I'd like to reuse some of the code in other free, open source work. Thanks!
English

It's always sounded like this in my head.
Riley Goodside@goodside
AI-generated sad girl with piano performs the text of the MIT License
English

@luisherranz @WordPress @DAreRodz @cbravobernal @santosguillamot @gziolo The Interactivity API has such a cute twin! 🥰
English

It's official. The Interactivity API is part of @WordPress, starting from WP 6.5.
Kudos to @DAreRodz, @cbravobernal, @santosguillamot, @jonsurrell and @gziolo for pushing it to the finish line without me, while I was taking care of this other new little thing 💜

English
Jon Surrell retweetledi

Heard about the Interactivity API coming in WordPress 6.5, but still not sure what it actually does or how to use it in your own projects?
Join @justintadlock and @DAreRodz tomorrow to explore this new feature. RSVP 👉 meetup.com/learn-wordpres…
English

@HowellsMead @elliottrichmond This isn't entirely accurate. You can use the @wordpress/interactivity package from npm. You can build an interactive page using directives and the client-side APIs without WordPress.
It's true that it's designed for WordPress and that's where it really shines.
English

@Tumblrsupport hello! not sure if this is the best place to ask this, but I'm a developer with a daily reading Tarot Bot (tumblr.com/tarot-bot) and I'm wondering if there's any way to add alt text to our images via the tumblr.js library. any help would be appreciated, thanks!
English
Jon Surrell retweetledi

If you're leaving your nest and migrating to Tumblr, visit at.tumblr.com/bmaBLmAvSub to check the availability of your username!

English
Jon Surrell retweetledi
Jon Surrell retweetledi

👋 ¡Hola! ¿Os acordáis de Coders Cantabria? Tenemos noticias frescas: ¡vuelven las charlas! Tendremos a @juantoca_ que hablará sobre visión artificial con OpenCV y Deep Learning. Será el viernes 14 de enero, de manera remota. ¡Nos vemos!

Español
Jon Surrell retweetledi


