2 Commits

Author SHA1 Message Date
Krystie 955e443274 fix(v1.7.4): portable + cache-busted feed-header wordmark
The header <img> hardcoded https://sami-ahmed.net/... with no version
string, so browsers/proxies kept serving the stale corrupted PNG. Load it
from BEEP_URL with a ?v=BEEP_VERSION cache-buster and bump it to 30px.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-08 20:33:48 -07:00
Krystie 1fb4085d64 fix(v1.7.3): clean wordmark PNG + descender headroom
Regenerate assets/beep-wordmark.png (and -blue) as a clean transparent
render of the 3D logo, replacing the corrupted files — fixes the feed
header image. Bump the inline-SVG viewBox so the "p" descender never clips.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-08 19:09:13 -07:00
6 changed files with 16 additions and 8 deletions
Binary file not shown.

Before

Width:  |  Height:  |  Size: 17 KiB

After

Width:  |  Height:  |  Size: 23 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 17 KiB

After

Width:  |  Height:  |  Size: 23 KiB

+2 -2
View File
@@ -2,7 +2,7 @@
/**
* Plugin Name: Beep
* Description: A Twitter-style microblog for WordPress, with likes, replies, and Gravatars. Use the [beep_feed] shortcode on any page.
* Version: 1.7.2
* Version: 1.7.4
* Requires at least: 6.0
* Requires PHP: 7.4
* Author: Sami Ahmed
@@ -14,7 +14,7 @@ if (!defined('ABSPATH')) {
exit;
}
define('BEEP_VERSION', '1.7.2');
define('BEEP_VERSION', '1.7.4');
define('BEEP_FILE', __FILE__);
define('BEEP_DIR', plugin_dir_path(__FILE__));
define('BEEP_URL', plugin_dir_url(__FILE__));
+1 -1
View File
@@ -99,7 +99,7 @@ class Beep_Shortcode {
<div class="beep-feed" data-beep-feed>
<div class="beep-embed">
<div class="beep-feed-header">
<div style="display:flex;align-items:center;justify-content:center;gap:8px;"><strong style="color:#FFFFFF;">Messages from </strong><img src="https://sami-ahmed.net/wp-content/plugins/beep/assets/beep-wordmark.png" alt="Beep!" style="height:22px;width:auto;vertical-align:middle;"></div>
<div style="display:flex;align-items:center;justify-content:center;gap:8px;"><strong style="color:#FFFFFF;">Messages from </strong><img src="<?php echo esc_url( BEEP_URL . 'assets/beep-wordmark.png?v=' . BEEP_VERSION ); ?>" alt="Beep!" style="height:30px;width:auto;vertical-align:middle;"></div>
</div>
<?php if ($has_posts) : ?>
+4 -4
View File
@@ -59,9 +59,9 @@ function beep_logo_svg() {
*
* Rendered as a crisp inline SVG recreation of the 3D extruded brand logo —
* a blue-violet face with a darker-blue depth and navy outline. Stays sharp at
* any size and ships as ~1KB of markup (no image request). The bundled
* beep-wordmark.png assets are corrupted, which is why we draw it as vector.
* To swap in a real image once you have a clean asset, hook the filter:
* any size and ships as ~1KB of markup (no image request). The matching raster
* version lives at assets/beep-wordmark.png (used in the feed header).
* To swap in the PNG here instead, hook the filter:
* add_filter('beep_post_wordmark', fn() => '<img class="beep-post-wordmark" src="...">');
*/
function beep_post_wordmark() {
@@ -74,7 +74,7 @@ function beep_post_wordmark() {
$extrude .= '<text x="' . $x . '" y="' . $y . '" fill="#2A2AAE">Beep!</text>';
}
$svg = '<svg class="beep-post-wordmark" viewBox="0 0 168 68"'
$svg = '<svg class="beep-post-wordmark" viewBox="0 0 168 72"'
. ' role="img" aria-label="Beep!" xmlns="http://www.w3.org/2000/svg">'
. '<g font-family="&quot;Arial Black&quot;,&quot;Arial Bold&quot;,Arial,Helvetica,sans-serif"'
. ' font-weight="900" font-size="52" letter-spacing="-1">'
+9 -1
View File
@@ -4,7 +4,7 @@ Tags: microblog, twitter, tweets, social, comments, polls, elementor
Requires at least: 6.0
Tested up to: 6.9
Requires PHP: 7.4
Stable tag: 1.7.2
Stable tag: 1.7.4
License: GPLv2 or later
A Twitter-style microblog for WordPress. Posts, likes, replies, polls, quotes, GIFs, and Gravatars. Use [beep_feed] shortcode or Elementor widget.
@@ -40,6 +40,14 @@ Features:
== Changelog ==
= 1.7.4 =
* Feed-header wordmark now loads from the plugin's own URL (was hardcoded to sami-ahmed.net) with a version-based cache-buster, so the clean logo shows immediately instead of a stale/corrupted cached image.
* Made the header wordmark a bit larger (30px).
= 1.7.3 =
* Replaced the corrupted beep-wordmark.png assets with a clean, transparent render of the 3D "Beep!" logo (fixes the feed-header wordmark image).
* Gave the inline-SVG wordmark extra descender room so the "p" never clips.
= 1.7.2 =
* Beep wordmark on every beep + reply is now the 3D extruded brand logo (blue-violet face, navy outline, blue depth) instead of flat text, drawn as a sharp ~1KB inline SVG.
* Bumped the wordmark size and opacity so the logo reads clearly on the dark theme.