Skip to content

Commit

Permalink
Release version 1.8
Browse files Browse the repository at this point in the history
  • Loading branch information
nielslange committed Dec 3, 2022
1 parent b0dcd2a commit aa43eab
Show file tree
Hide file tree
Showing 3 changed files with 97 additions and 89 deletions.
16 changes: 10 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ Sidebar widget to show random Wapuu

## Installation

1. Upload `smntcs-wapuu-widget to the`/wp-content/plugins/` directory.
1. Upload `smntcs-wapuu-widget` to the `/wp-content/plugins/` directory.
2. Activate the plugin through the `Plugins` menu in WordPress.
3. Go to `Appearance » Customize » Widget` and add the _Wapuu Widget_ to the required widget area.

Expand All @@ -24,30 +24,34 @@ You can find the plugin on https://wordpress.org/plugins/smntcs-wapuu-widget/.

## Changelog

### 1.8 (2022.12.03)

- Test up to WP 6.1

### 1.7 (2022.01.09)

- Test up to 5.8
- Test up to WP 5.8

### 1.6 (2020.03.19)

- Test up to 5.4
- Test up to WP 5.4

### 1.5 (2019.06.30)

- Test up to 5.2
- Test up to WP 5.2

### 1.4 (2019.03.01)

- Add new Wapuus

### 1.3 (2019.02.19)

- Test up to 5.1
- Test up to WP 5.1

### 1.2 (2019.02.19)

- Add README.md
- Test up to 5.0
- Test up to WP 5.0

### 1.1 (2019.02.19)

Expand Down
129 changes: 70 additions & 59 deletions README.txt
Original file line number Diff line number Diff line change
@@ -1,59 +1,70 @@
=== SMNTCS Wapuu Widget ===

Contributors: nielslange
Tags: Wapuu, Widget, Sidebar
Version: 1.7
Stable tag: 1.7
Tested up to: 5.8
Requires at least: 3.4
Requires PHP: 5.6
License: GPLv2 or later
License URI: https://opensource.org/licenses/GPL-2.0

Sidebar widget to show random Wapuu.

== Description ==

Sidebar widget to show random Wapuu.

== Installation ==

1. Upload `smntcs-wapuu-widget’ to the `/wp-content/plugins/` directory.
2. Activate the plugin through the `Plugins` menu in WordPress.
3. Go to `Appearance » Customize » Widget` and add the *Wapuu Widget* to the required widget area.

== Screenshots ==

1. Show a random Wapuu on every page refresh.
2. Add `Wapuu Widget` to the required widget area.

== Contribute ==

Contributions are more than welcome. Simply head over to [Github](https://github.com/nielslange/smntcs-wapuu-widget/pulls) and open a pull request.

== Changelog ==

= 1.7 (2022.01.09) =
* Test up to 5.8

= 1.6 (2020.03.19) =
* Test up to 5.4

= 1.5 (2019.06.30) =
* Test up to 5.2

= 1.4 (2019.03.01) =
* Add new Wapuus

= 1.3 (2019.02.19) =
* Test up to 5.1

= 1.2 (2019.02.19) =
* Add README.md
* Test up to 5.0

= 1.1 (2019.02.19) =
* Fix issue with relative image link

= 1.0 (2019.02.19) =
* Initial release
=== SMNTCS Wapuu Widget ===

Contributors: nielslange
Tags: Wapuu, Widget, Sidebar
Stable tag: 1.8
Tested up to: 6.1
Requires PHP: 5.6
Requires at least: 3.4
License: GPL v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Sidebar widget to show random Wapuu.

== Description ==

Sidebar widget to show random Wapuu.

== Installation ==

1. Upload `smntcs-wapuu-widget` to the `/wp-content/plugins/` directory.
2. Activate the plugin through the `Plugins` menu in WordPress.
3. Go to `Appearance » Customize » Widget` and add the *Wapuu Widget* to the required widget area.

== Screenshots ==

1. Show a random Wapuu on every page refresh.
2. Add `Wapuu Widget` to the required widget area.

== Contribute ==

Contributions are more than welcome. Simply head over to [Github](https://github.com/nielslange/smntcs-wapuu-widget/pulls) and open a pull request.

== Changelog ==

= 1.8 (2022.12.03) =

- Test up to WP 6.1

= 1.7 (2022.01.09) =

- Test up to WP 5.8

= 1.6 (2020.03.19) =

- Test up to WP 5.4

= 1.5 (2019.06.30) =

- Test up to WP 5.2

= 1.4 (2019.03.01) =

- Add new Wapuus

= 1.3 (2019.02.19) =

- Test up to WP 5.1

= 1.2 (2019.02.19) =

- Add README.md
- Test up to WP 5.0

= 1.1 (2019.02.19) =

- Fix issue with relative image link

= 1.0 (2019.02.19) =

- Initial release
41 changes: 17 additions & 24 deletions smntcs-wapuu-widget.php
Original file line number Diff line number Diff line change
@@ -1,27 +1,20 @@
<?php
/**
* Plugin Name: SMNTCS Wapuu Widget
* Plugin URI: https://github.com/nielslange/smntcs-wapuu-widget
* Description: Sidebar widget to show random Wapuu
* Author: Niels Lange <[email protected]>
* Author URI: https://nielslange.de
* Text Domain: smntcs-wapuu-widget
* Version: 1.7
* Stable tag: 1.7
* Tested up to: 5.8
* Requires at least: 3.4
* Requires PHP: 5.6
* License: GPLv2 or later
* License URI: https://opensource.org/licenses/GPL-2.0
* Plugin Name: SMNTCS Wapuu Widget
* Plugin URI: https://github.com/nielslange/smntcs-wapuu-widget
* Description: Sidebar widget to show random Wapuu.
* Author: Niels Lange
* Author URI: https://nielslange.de
* Text Domain: smntcs-wapuu-widget
* Version: 1.8
* Requires PHP: 5.6
* Requires at least: 3.4
* License: GPL v2 or later
* License URI: https://www.gnu.org/licenses/gpl-2.0.html
*
* @category Plugin
* @package WordPress
* @subpackage SMNTCS Wapuu Widget
* @author Niels Lange <[email protected]>
* @license https://opensource.org/licenses/GPL-2.0 GNU Public License version 2
* @package SMNTCS_Wapuu_Widget
*/

// Avoid direct plugin access.
defined( 'ABSPATH' ) || exit;

/**
Expand All @@ -46,12 +39,12 @@ function smntcs_wapuu_widget_enqueue_scripts() {
* @param string $links The original settings link on the plugin page.
* @return string $links The updated settings link on the plugin page.
*/
function smntcs_wapuu_widget_plugin_settings_link( $links ) {
$admin_url = admin_url( 'widgets.php' );
$settings_url = sprintf( '<a href="%s">%s</a>', $admin_url, __( 'Settings', 'smntcs-wapuu-widget' ) );
array_unshift( $links, $settings_url );
function smntcs_wapuu_widget_plugin_settings_link( $url ) {
$admin_url = admin_url( 'widgets.php' );
$settings_link = sprintf( '<a href="%s">%s</a>', $admin_url, __( 'Settings', 'smntcs-wapuu-widget' ) );
array_unshift( $url, $settings_link );

return $links;
return $url;
}
add_filter( 'plugin_action_links_' . plugin_basename( __FILE__ ), 'smntcs_wapuu_widget_plugin_settings_link' );

Expand Down

0 comments on commit aa43eab

Please sign in to comment.