v2.3.3 — Custom URL links + 404 picker, terminology cleanup
A patch release that adds custom-URL items to the Links tab, fixes a couple of UX paper cuts, and aligns terminology across the settings page.
✨ New
Custom URL links
The Links toolbar now shows two add buttons:
- + Add YOURLS shortlink — the existing flow. Opens the picker, pre-fills the favicon, item is bound to a YOURLS keyword and rides through
yourls_link()so click stats keep incrementing. - + Add custom URL — creates an item that points directly at any URL you type. Useful for things you don't want to (or can't) shorten through YOURLS first. The editor expands immediately with the URL field focused.
Each link item now carries a source field (keyword | url) that drives storage and rendering. Existing items from earlier 2.x versions don't have one — they're transparently migrated to keyword on first read.
In the editor:
- Shortlink items show their keyword plus a Change… button that re-opens the picker.
- URL items show a Destination URL input.
Default source = YOURLS shortlink for new media-grid + social items
Adding a new image-grid tile or social-media button now starts with the YOURLS shortlink picker instead of a free-form URL. Most additions point at an existing shortlink so this saves the toggle.
🐛 Fixes
Quick-add favicon
The + quick-add button in the YOURLS link table (/admin/index.php) now seeds the new link with the same Google s2/favicons image the manual + Add link flow uses. Pulled both call sites onto a shared lfp_favicon_for_url() helper so they can't drift.
Terminology
Every user-facing YOURLS keyword label now reads YOURLS shortlink — image-grid dialog, social-row source select, internal comments. Matches the picker dialog title.
⬇️ Installation
cd /path/to/yourls/user/plugins
rm -rf yourls-link-front-page
unzip /path/to/YOURLS-Link-Front-Page-2.3.3.zip…or git pull. No database changes — legacy items migrate transparently.
Full changelog: v2.3.2…v2.3.3