Skip to content

Commit

Permalink
05-06-2022
Browse files Browse the repository at this point in the history
### 1.0.1
* [Fixed] Added fallback for when no mail client is installed on user computer.
  • Loading branch information
smileBeda committed Jun 5, 2022
1 parent d3f5ff1 commit c59094d
Show file tree
Hide file tree
Showing 5 changed files with 17 additions and 9 deletions.
2 changes: 1 addition & 1 deletion README.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Donate link: https://paypal.me/tukutoi
Tags: directory, plugins
Requires at least: 1.0.0
Tested up to: 4.9.15
Stable tag: 1.0.0
Stable tag: 1.0.1
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Expand Down
12 changes: 7 additions & 5 deletions admin/js/cp-plgn-drctry-admin.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
if ( 'Activate' !== $( this ).text() ) {
e.preventDefault();
}
install_plugin( $( this ).attr( 'href' ), $( this ).data( "slug" ) )
install_plugin( $( this ).attr( 'href' ), $( this ).data( "slug" ) );
}
);
}
Expand All @@ -49,12 +49,14 @@
);
/**
* Some people still do not have an email client...
*
* @since 1.0.1
*/
$( 'a[href^=mailto]' ).each(
function() {
var href = $( this ).attr( 'href' );
$( this ).click(
function() {
$( this ).on(
'click',
function( e ) {
var t;
$( window ).blur(
function() {
Expand All @@ -65,7 +67,7 @@
t = setTimeout(
function() {
// The browser did not respond after 500ms, so open an alternative URL.
alert( 'You do not have a local mailclient, or did not set your mailclient as the default. Please contact the Developer using this email: ' + $( href ) );
alert( 'You do not have a local mailclient, or did not set your mailclient as the default. Please contact the ClassicPress Plugin Review Team at [email protected]' );
},
500
);
Expand Down
3 changes: 3 additions & 0 deletions changelog.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,5 @@
= 1.0.1 =
[Fixed] Added fallback for when no mail client is installed on user computer.

= 1.0.0 =
[Added] Initial release
5 changes: 4 additions & 1 deletion readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,5 +19,8 @@ The plugin does not take any responsibility for Plugins downloaded from the Clas

## Changelog

### 1.0.1
* [Fixed] Added fallback for when no mail client is installed on user computer.

### 1.0.0
* [Added] Initial Release
* [Added] Initial Release.
4 changes: 2 additions & 2 deletions tukutoi-cp-directory-integration.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
* Plugin Name: CP Plugin Directory
* Plugin URI: https://www.tukutoi.com/
* Description: Integrates the ClassicPress Plugin Directory into the ClassicPress Admin Interface.
* Version: 1.0.0
* Version: 1.0.1
* Author: bedas
* Requires at least: 4.9.15
* Requires PHP: 7.0.0
Expand All @@ -37,7 +37,7 @@
* Start at version 1.0.0 and use SemVer - https://semver.org
* Rename this for your plugin and update it as you release new versions.
*/
define( 'CP_PLGN_DRCTRY_VERSION', '1.0.0' );
define( 'CP_PLGN_DRCTRY_VERSION', '1.0.1' );

/**
* Define the Plugin basename
Expand Down

0 comments on commit c59094d

Please sign in to comment.