Skip to content

Commit

Permalink
fix: webhook should be omitted if empty
Browse files Browse the repository at this point in the history
  • Loading branch information
davisshaver committed Dec 13, 2024
1 parent 67234f0 commit 3541597
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 7 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.12
* Version: 0.0.13
* 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.12' );
define( 'FARCASTER_WP_VERSION', '0.0.13' );

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/api/class-manifest-controller.php
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ public function get_manifest() {
'splashImageUrl' => $splash_image_url,
'splashBackgroundColor' => $splash_background_color,
// @TODO: Add API endpoint for webhook to do... something?
'webhookUrl' => '',
// 'webhookUrl' => '',
],
];

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.12",
"version": "0.0.13",
"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.12
Stable tag: 0.0.13
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.12 =
= 0.0.13 =
* Initial plugin release to WordPress.org

== Screenshots =
Expand Down
2 changes: 1 addition & 1 deletion src/components/ManifestViewer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -339,7 +339,7 @@ const ManifestViewer = ( {
<div style={ { marginTop: '16px' } }>
<Text>
{ __(
'Are you going to update the manifest to match current settings? Here is the manifest data to reference:',
'Are you going to update the manifest to match current settings? Here is the manifest data to reference. This should be available at /.well-known/farcaster.json on your site.',
'farcaster-wp'
) }
</Text>
Expand Down

0 comments on commit 3541597

Please sign in to comment.