Skip to content

Commit 67234f0

Browse files
committed
fix: show manifest download even if no current manifet
1 parent 391d3f3 commit 67234f0

File tree

4 files changed

+20
-25
lines changed

4 files changed

+20
-25
lines changed

farcaster-wp.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
* Plugin Name: Farcaster WP
1111
* Plugin URI: https://farcaster-wp.davisshaver.com/
1212
* Description: Farcaster WP connects your WordPress site to Farcaster.
13-
* Version: 0.0.11
13+
* Version: 0.0.12
1414
* Author: Davis Shaver
1515
* Author URI: https://davisshaver.com/
1616
* License: GPL v2 or later
@@ -22,7 +22,7 @@
2222

2323
defined( 'ABSPATH' ) || exit;
2424

25-
define( 'FARCASTER_WP_VERSION', '0.0.11' );
25+
define( 'FARCASTER_WP_VERSION', '0.0.12' );
2626

2727
define( 'FARCASTER_WP_API_NAMESPACE', 'farcaster-wp/v1' );
2828
define( 'FARCASTER_WP_API_URL', get_site_url() . '/wp-json/' . FARCASTER_WP_API_NAMESPACE );

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "farcaster-wp",
3-
"version": "0.0.11",
3+
"version": "0.0.12",
44
"description": "Farcaster WP connects your WordPress site to Farcaster.",
55
"author": "Davis Shaver",
66
"license": "GPL-2.0-or-later",

readme.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ Tags: WordPress, web3, Farcaster, Ethereum
44
Tested up to: 6.7.1
55
Requires at least: 6.7.0
66
Requires PHP: 7.0
7-
Stable tag: 0.0.11
7+
Stable tag: 0.0.12
88
License: GPLv2 or later
99
License URI: https://www.gnu.org/licenses/gpl-2.0.html
1010

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

2727
== Changelog ==
2828

29-
= 0.0.11 =
29+
= 0.0.12 =
3030
* Initial plugin release to WordPress.org
3131

3232
== Screenshots =

src/components/ManifestViewer.tsx

Lines changed: 15 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -333,28 +333,23 @@ const ManifestViewer = ( {
333333
) }
334334
</>
335335
) }
336-
337-
<>
338-
<div style={ { marginTop: '16px' } }>
339-
<Text>
340-
{ __(
341-
'Are you going to update the manifest to match current settings? Here is the manifest data to reference:',
342-
'farcaster-wp'
343-
) }
344-
</Text>
345-
</div>
346-
<CopyableCode
347-
showDownloadButton={ true }
348-
downloadFilename="farcaster.json"
349-
content={ JSON.stringify(
350-
currentManifest,
351-
null,
352-
2
353-
) }
354-
/>
355-
</>
356336
</>
357337
) }
338+
<>
339+
<div style={ { marginTop: '16px' } }>
340+
<Text>
341+
{ __(
342+
'Are you going to update the manifest to match current settings? Here is the manifest data to reference:',
343+
'farcaster-wp'
344+
) }
345+
</Text>
346+
</div>
347+
<CopyableCode
348+
showDownloadButton={ true }
349+
downloadFilename="farcaster.json"
350+
content={ JSON.stringify( currentManifest, null, 2 ) }
351+
/>
352+
</>
358353
</div>
359354
);
360355
};

0 commit comments

Comments
 (0)