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>
This commit is contained in:
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,7 +2,7 @@
|
|||||||
/**
|
/**
|
||||||
* Plugin Name: Beep
|
* Plugin Name: Beep
|
||||||
* Description: A Twitter-style microblog for WordPress, with likes, replies, and Gravatars. Use the [beep_feed] shortcode on any page.
|
* 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.3
|
||||||
* Requires at least: 6.0
|
* Requires at least: 6.0
|
||||||
* Requires PHP: 7.4
|
* Requires PHP: 7.4
|
||||||
* Author: Sami Ahmed
|
* Author: Sami Ahmed
|
||||||
@@ -14,7 +14,7 @@ if (!defined('ABSPATH')) {
|
|||||||
exit;
|
exit;
|
||||||
}
|
}
|
||||||
|
|
||||||
define('BEEP_VERSION', '1.7.2');
|
define('BEEP_VERSION', '1.7.3');
|
||||||
define('BEEP_FILE', __FILE__);
|
define('BEEP_FILE', __FILE__);
|
||||||
define('BEEP_DIR', plugin_dir_path(__FILE__));
|
define('BEEP_DIR', plugin_dir_path(__FILE__));
|
||||||
define('BEEP_URL', plugin_dir_url(__FILE__));
|
define('BEEP_URL', plugin_dir_url(__FILE__));
|
||||||
|
|||||||
@@ -59,9 +59,9 @@ function beep_logo_svg() {
|
|||||||
*
|
*
|
||||||
* Rendered as a crisp inline SVG recreation of the 3D extruded brand logo —
|
* 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
|
* 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
|
* any size and ships as ~1KB of markup (no image request). The matching raster
|
||||||
* beep-wordmark.png assets are corrupted, which is why we draw it as vector.
|
* version lives at assets/beep-wordmark.png (used in the feed header).
|
||||||
* To swap in a real image once you have a clean asset, hook the filter:
|
* To swap in the PNG here instead, hook the filter:
|
||||||
* add_filter('beep_post_wordmark', fn() => '<img class="beep-post-wordmark" src="...">');
|
* add_filter('beep_post_wordmark', fn() => '<img class="beep-post-wordmark" src="...">');
|
||||||
*/
|
*/
|
||||||
function beep_post_wordmark() {
|
function beep_post_wordmark() {
|
||||||
@@ -74,7 +74,7 @@ function beep_post_wordmark() {
|
|||||||
$extrude .= '<text x="' . $x . '" y="' . $y . '" fill="#2A2AAE">Beep!</text>';
|
$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">'
|
. ' role="img" aria-label="Beep!" xmlns="http://www.w3.org/2000/svg">'
|
||||||
. '<g font-family=""Arial Black","Arial Bold",Arial,Helvetica,sans-serif"'
|
. '<g font-family=""Arial Black","Arial Bold",Arial,Helvetica,sans-serif"'
|
||||||
. ' font-weight="900" font-size="52" letter-spacing="-1">'
|
. ' font-weight="900" font-size="52" letter-spacing="-1">'
|
||||||
|
|||||||
+5
-1
@@ -4,7 +4,7 @@ Tags: microblog, twitter, tweets, social, comments, polls, elementor
|
|||||||
Requires at least: 6.0
|
Requires at least: 6.0
|
||||||
Tested up to: 6.9
|
Tested up to: 6.9
|
||||||
Requires PHP: 7.4
|
Requires PHP: 7.4
|
||||||
Stable tag: 1.7.2
|
Stable tag: 1.7.3
|
||||||
License: GPLv2 or later
|
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.
|
A Twitter-style microblog for WordPress. Posts, likes, replies, polls, quotes, GIFs, and Gravatars. Use [beep_feed] shortcode or Elementor widget.
|
||||||
@@ -40,6 +40,10 @@ Features:
|
|||||||
|
|
||||||
== Changelog ==
|
== Changelog ==
|
||||||
|
|
||||||
|
= 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 =
|
= 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.
|
* 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.
|
* Bumped the wordmark size and opacity so the logo reads clearly on the dark theme.
|
||||||
|
|||||||
Reference in New Issue
Block a user