All posts › code
-
Refactoring and Autoloaders
Refactoring work on GitHub Updater and The Events Calendar Category Colors adopts PHP 5.3 namespacing and PSR-4 autoloading via spl_autoload_register, with class aliasing used to maintain backward compatibility across plugin versions.
-
Private Bitbucket Repositories
An update to GitHub Updater reorganizes the Settings page so clients enter their own Bitbucket credentials, improving security by letting developers add clients as read-only users without exposing the developer password.
-
Automatic Plugin & Theme Updating From GitHub – Part 3
Recent improvements to GitHub Updater include privileged-user-only execution, spl_autoload_register for class loading, Parsedown for changelog rendering, a new Settings Page for storing credentials outside the repository, and a fix for a long-standing bug preventing Bitbucket private repository updates.
-
Automatic Plugin & Theme Updating From GitHub – Part 2
A technical deep-dive into how GitHub Updater scans plugin and theme headers, queries the GitHub and Bitbucket APIs with transient caching to avoid rate limits, and hooks into WordPress core update mechanisms with minimal overhead for both developers and end users.
-
Automatic Plugin & Theme Updating From GitHub – Part 1
The origin story of GitHub Updater traces the plugin from its roots as a frustration with manually FTP-ing updates across multiple sites, through a series of forks and collaborations with Gary Jones, Seth Carstens, and Paul Clark, to a combined plugin-and-theme updater.
-
The Events Calendar Outlook Import Fix
A WordPress plugin was created to remove the X-WR-CALNAME header from The Events Calendar iCalendar output, fixing the Outlook behavior of creating a new calendar instead of adding the event to the default one.
-
Transferring IMAP Messages
The final phase of migrating to Dreamhost involved using imapsync with a caching and sync command to transfer all IMAP mail, completing successfully for all users after a minor hiccup with moving mail accounts between domains.
-
Add Custom Header Images
A refactored WordPress plugin submitted to the plugin repository automatically registers all images uploaded to a page called The Headers as selectable or randomized header images, replacing any defaults.
-
Not Running a Server
After more than five years of self-hosting, the decision was made to move to Dreamhost and let professionals handle server administration, with transferring existing IMAP email being the biggest concern.