Version Description
Download this release
Release Info
Developer | mandsconsulting |
Plugin | Email Before Download |
Version | 5.0.2 |
Comparing to | |
See all releases |
Code changes from version 5.0.1 to 5.0.2
admin/partials/email-before-download-admin-table.php
ADDED
@@ -0,0 +1,31 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
/**
|
4 |
+
* Provide a admin area view for the plugin
|
5 |
+
*
|
6 |
+
* This file is used to markup the admin-facing log views of the plugin.
|
7 |
+
*
|
8 |
+
* @since 5.0.0
|
9 |
+
* @package Email_Before_Download
|
10 |
+
* @subpackage Email_Before_Download/admin/partials
|
11 |
+
* @author M & S Consulting
|
12 |
+
*/
|
13 |
+
$message = "";
|
14 |
+
if( isset($_SESSION['success']) ) {
|
15 |
+
$message = "<div id=\"setting-error-settings_updated\" class=\"updated settings-error notice is-dismissible\">
|
16 |
+
<p><strong>".$_SESSION['success']."</strong></p><button type=\"button\" class=\"notice-dismiss\"><span class=\"screen-reader-text\">Dismiss this notice.</span></button></div>";
|
17 |
+
unset($_SESSION['success']);
|
18 |
+
}
|
19 |
+
?>
|
20 |
+
|
21 |
+
<!-- This file should primarily consist of HTML with a little bit of PHP. -->
|
22 |
+
<div class="wrap">
|
23 |
+
<?php echo $message ?>
|
24 |
+
<h2><?php echo $title ?></h2>
|
25 |
+
<div class="buttons">
|
26 |
+
<a href="<?php echo admin_url( "admin-post.php?action=ebd.csv&table=".$wp_table->atts['table'] ); ?>" class="button button-primary">Export as CSV</a>
|
27 |
+
<a href="<?php echo admin_url( "admin-post.php?action=ebd.purge&table=".$wp_table->atts['table'] ); ?>" class="button button-secondary" onclick="if(confirm('Are you sure you want to purge data?.')) return true; return false"><?php echo $wp_table->atts['purge_text']; ?></a>
|
28 |
+
<a href="<?php echo admin_url( "options-general.php?page=email-before-download"); ?>" class="right button button-primary">Back to Settings</a>
|
29 |
+
</div>
|
30 |
+
<?php $wp_table->display(); ?>
|
31 |
+
</div>
|
email-before-download.php
CHANGED
@@ -11,8 +11,8 @@
|
|
11 |
* @wordpress-plugin
|
12 |
* Plugin Name: Email Before Download
|
13 |
* Plugin URI: mandsconsulting.com
|
14 |
-
* Version: 5.0.
|
15 |
-
* Author: M
|
16 |
* Author URI: mandsconsulting.com
|
17 |
* License: GPL-2.0+
|
18 |
* License URI: http://www.gnu.org/licenses/gpl-2.0.txt
|
@@ -25,7 +25,7 @@ if ( ! defined( 'WPINC' ) ) {
|
|
25 |
}
|
26 |
|
27 |
|
28 |
-
define( 'PLUGIN_NAME_VERSION', '5.0.
|
29 |
|
30 |
function activate_email_before_download() {
|
31 |
require_once plugin_dir_path( __FILE__ ) . 'includes/class-email-before-download-activator.php';
|
11 |
* @wordpress-plugin
|
12 |
* Plugin Name: Email Before Download
|
13 |
* Plugin URI: mandsconsulting.com
|
14 |
+
* Version: 5.0.2
|
15 |
+
* Author: M&S Consulting
|
16 |
* Author URI: mandsconsulting.com
|
17 |
* License: GPL-2.0+
|
18 |
* License URI: http://www.gnu.org/licenses/gpl-2.0.txt
|
25 |
}
|
26 |
|
27 |
|
28 |
+
define( 'PLUGIN_NAME_VERSION', '5.0.2' );
|
29 |
|
30 |
function activate_email_before_download() {
|
31 |
require_once plugin_dir_path( __FILE__ ) . 'includes/class-email-before-download-activator.php';
|
readme.txt
CHANGED
@@ -104,8 +104,12 @@ This is the list of all short code attributes that can be used. Some of them o
|
|
104 |
|
105 |
|
106 |
== Changelog ==
|
|
|
|
|
|
|
|
|
107 |
=5.0.1=
|
108 |
-
* Bug fixes
|
109 |
|
110 |
=5.0=
|
111 |
* Complete tear down and rewrite of entire EBD plugin.
|
104 |
|
105 |
|
106 |
== Changelog ==
|
107 |
+
|
108 |
+
=5.0.2=
|
109 |
+
Fixed issue with admin tables not showing.
|
110 |
+
|
111 |
=5.0.1=
|
112 |
+
* Bug fixes
|
113 |
|
114 |
=5.0=
|
115 |
* Complete tear down and rewrite of entire EBD plugin.
|