Sal Ferrarello

@salcode
0 Followers
11 Following
3 Posts
Web Developer and Speaker, loves Git, works at
WebDevStudios. Good at metaphors. He / him.
Websitehttps://salferrarello.com/

While discussing #wordpress code recently I realized I have a preference for untrailingslashit() over trailingslashit(). I decided to capture these thoughts so I don't have to think about it next time. 😀

https://salferrarello.com/untrailingslashit-vs-trailingslashit/

trailingslashit() vs untrailingslashit() - Sal Ferrarello

WordPress has two functions that can be helpful when dealing with the final character of a URL, trailingslashit() and untrailingslashit(). I find it preferable to use untrailingslashit() for two reasons: 1. It does not break empty checks and 2. It makes my sprintf() statements more readable.

Sal Ferrarello
Wrote about curing the "An automated WordPress update has failed to complete" message in #WordPress https://blog.goodbyeplease.com/2022/11/01/An-automated-WordPress-update-has-failed-to-complete/
An automated WordPress update has failed to complete

We use a git+composer strategy to manage our WordPress environments (start here for a series of posts about this) and therefore have WordPress auto-update disabled. Beyond that, Apache doesn’t have wr

Goodbye Please
Better URL with this information · Issue #4 · salcode/wordpress-to-gutenberg-version

This URL has WordPress to Gutenberg versions and it a much better resource than this README.md https://developer.wordpress.org/block-editor/principles/versions-in-wordpress/ We should modify the RE...

GitHub