Skip to content

Notes

I’ve modified my feed reader to accept `figure` …

I’ve modified my feed reader to accept figure and figcaption—I mean, why not?—but because of how microformats feeds are parsed, images themselves are stripped from photo posts, to be shown underneath, leaving the caption rather lonely. One way to deal with this is interpret photo posts’ content as (mostly) plain text, I guess.

Bookmarked https://wptavern.com/wordfence-and-wpscan-publish-mid-year-wordpress-security-report. And over two thirds of them …

Bookmarked https://wptavern.com/wordfence-and-wpscan-publish-mid-year-wordpress-security-report.

And over two thirds of them stem from not or wrongly escaping user inputs, and would’ve been avoided by running a static analyzer, like PHPCS with WordPress’s ruleset.

The vast majority of the vulnerabilities you hear about in the WordPress ecosystem come from plugins[.]

This is what most “notes”—this particular one being …

This is what most “notes”—this particular one being a reply—typically look like in my WordPress editor. If it were a bit longer, I’d probably have the outgoing link in the e-content itself, but for shorter notes, a brief introduction/post context works well enough. Note that this “context” is purposely kept out of the e-content, so as not to show Microsub (or otherwise mf2-compatible) readers the same information twice. (Most, if not all, Microsub apps explicitly display reply-to URLs above replies. “Regular” RSS subscribers get to see the entire entry.) The title, by the way, is automatically generated and neither given a p-name class on the front end nor shown in RSS, which is the way it should be (for notes).

My WordPress post editor, showing a microformatted "note"

In reply to https://www.zylstra.org/blog/2021/08/working-around-post-kinds-plugin-lock-in/. What I do—I’ve probably …

In reply to https://www.zylstra.org/blog/2021/08/working-around-post-kinds-plugin-lock-in/.

What I do—I’ve probably said this before, but I’m going to repeat it anyway—is, I have a couple code snippets in my functions.php that filter Micropub requests before they’re saved to the database, and these add all the hidden metadata to the actual post content, nicely microformatted and all.

Then on the desktop, or rather, within WordPress’s admin interface, I either type things out by hand or use a “text expander.” And then I also have a bit of code that allows me to use “Press This” to create correctly formatted bookmark or read posts.

Bookmarked https://css-tricks.com/view-source-on-mobile/. Yes! Firefox on Android _used to …

Bookmarked https://css-tricks.com/view-source-on-mobile/.

Yes! Firefox on Android used to actually have “View Source,” and I’d use it fairly often, too, dangit.

Have you ever wished you could see the HTML source of a web page while on a mobile browser, which generally doesn’t offer that feature?

Update: Turns out prefixing a URL with “view-source:” still works! Thank you, Josh.