Skip to content

Commit

Permalink
fix: don't add ellipsis to title
Browse files Browse the repository at this point in the history
  • Loading branch information
davisshaver committed Dec 13, 2024
1 parent 0da8f10 commit 3e24b9b
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions farcaster-wp.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
* Plugin Name: Farcaster WP
* Plugin URI: https://farcaster-wp.davisshaver.com/
* Description: Farcaster WP connects your WordPress site to Farcaster.
* Version: 0.0.15
* Version: 0.0.16
* Author: Davis Shaver
* Author URI: https://davisshaver.com/
* License: GPL v2 or later
Expand All @@ -22,7 +22,7 @@

defined( 'ABSPATH' ) || exit;

define( 'FARCASTER_WP_VERSION', '0.0.15' );
define( 'FARCASTER_WP_VERSION', '0.0.16' );

define( 'FARCASTER_WP_API_NAMESPACE', 'farcaster-wp/v1' );
define( 'FARCASTER_WP_API_URL', get_site_url() . '/wp-json/' . FARCASTER_WP_API_NAMESPACE );
Expand Down
2 changes: 1 addition & 1 deletion includes/class-frames.php
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ public static function get_frame_data() {
$button_text = $options['button_text'] ?? __( 'Read More', 'farcaster-wp' );
} else {
$title = is_singular() ? get_the_title() : get_bloginfo( 'name' );
$button_text = mb_strimwidth( $title, 0, 32, '...' );
$button_text = mb_substr( $title, 0, 32 );
}

$splash_image_url = self::get_splash_image_url( $options );
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "farcaster-wp",
"version": "0.0.15",
"version": "0.0.16",
"description": "Farcaster WP connects your WordPress site to Farcaster.",
"author": "Davis Shaver",
"license": "GPL-2.0-or-later",
Expand Down
4 changes: 2 additions & 2 deletions readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Tags: WordPress, web3, Farcaster, Ethereum
Tested up to: 6.7.1
Requires at least: 6.7.0
Requires PHP: 7.0
Stable tag: 0.0.15
Stable tag: 0.0.16
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Expand All @@ -26,7 +26,7 @@ Farcaster WP makes it easy to setup [Farcaster frames](https://docs.farcaster.xy

== Changelog ==

= 0.0.15 =
= 0.0.16 =
* Initial plugin release to WordPress.org

== Screenshots =
Expand Down

0 comments on commit 3e24b9b

Please sign in to comment.