Skip to content

Commit e41315a

Browse files
authored
Merge pull request #17 from circuscode/develop
Bugfix Invisible Label
2 parents e5bd27e + 0d3f16d commit e41315a

File tree

5 files changed

+25
-13
lines changed

5 files changed

+25
-13
lines changed

readme.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -174,6 +174,11 @@ This project is licensed under the GPL3 License.
174174

175175
## Changelog
176176

177+
### 0.2.1
178+
179+
* April 2023
180+
* Bugfix: Label for Option Nav Standard will displayed again
181+
177182
### 0.2 "Kate Bishop"
178183

179184
* April 2023

readme.txt

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ Contributors: unmus
33
Tags: mastodon, toots, microblogging, blog, fediverse
44
Requires at least: 6.1
55
Tested up to: 6.2
6-
Stable tag: 0.2
6+
Stable tag: 0.2.1
77
License: GNU General Public License v3 or later
88
License URI: https://www.gnu.org/licenses/gpl-3.0.html
99

@@ -138,6 +138,11 @@ No. TootPress does not support the WordPress Multisite Feature. The plugin is wo
138138

139139
== Changelog ==
140140

141+
= 0.2.1 =
142+
143+
* April 2023
144+
* Bugfix: Label for Option Nav Standard will displayed again
145+
141146
= 0.2 "Kate Bishop" =
142147
* April 2023
143148
* New: Available in WordPress Plugin Directory
@@ -147,4 +152,9 @@ No. TootPress does not support the WordPress Multisite Feature. The plugin is wo
147152

148153
= 0.1 "Ms. Marvel" =
149154
* March 2023
150-
* Initial Release
155+
* Initial Release
156+
157+
== Upgrade Notice ==
158+
159+
= 0.2.1 =
160+
This version includes bugfixing only.

tootpress.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
/*
44
Plugin Name: TootPress
55
Description: TootPress copies your Toots from Mastodon to WordPress.
6-
Version: 0.2
6+
Version: 0.2.1
77
Author: Marco Hitschler
88
Author URI: https://www.unmus.de/
99
License: GPL3

tootpress_options.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ function tootpress_options_display_cron_period()
8585
function tootpress_options_display_navigation()
8686
{
8787
echo '<input type="radio" id="tootpress_navigation_standard" name="tootpress_navigation" value="standard" ' . checked('standard', esc_attr(get_option('tootpress_navigation')), false) . '/>';
88-
'<label for="tootpress_navigation_standard">Standard</label>';
88+
echo '<label for="tootpress_navigation_standard">Standard</label>';
8989
echo '<br/>&nbsp;<br/>';
9090
echo '<input type="radio" id="tootpress_navigation_numbers" name="tootpress_navigation" value="numbers" ' . checked('numbers', esc_attr(get_option('tootpress_navigation')), false) . '/>';
9191
echo '<label for="tootpress_navigation_numbers">Numbers</label>';

tootpress_update.php

Lines changed: 6 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -23,19 +23,16 @@ function tootpress_update() {
2323
$tootpress_previous_version = get_option('tootpress_plugin_version');
2424

2525
/* Update Process Version 0.2 */
26-
27-
/*
28-
2926
if($tootpress_previous_version==1) {
30-
31-
// Code Here
32-
3327
update_option('tootpress_plugin_version', "2");
34-
}
28+
}
3529

36-
*/
30+
/* Update Process Version 0.2.1 */
31+
if($tootpress_previous_version==2) {
32+
update_option('tootpress_plugin_version', "3");
33+
}
3734

3835
}
39-
// add_action( 'plugins_loaded', 'tootpress_update' );
36+
add_action( 'plugins_loaded', 'tootpress_update' );
4037

4138
?>

0 commit comments

Comments
 (0)