-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
### 1.0.1 * [Fixed] Added fallback for when no mail client is installed on user computer.
- Loading branch information
Showing
5 changed files
with
17 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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" ) ); | ||
} | ||
); | ||
} | ||
|
@@ -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() { | ||
|
@@ -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 | ||
); | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters