PluginProbe
E2Pdf – Export Pdf Tool for WordPress / 1.32.49
E2Pdf – Export Pdf Tool for WordPress v1.32.49
1.32.49 1.32.48 1.32.43 1.32.40 1.32.34 1.32.32 1.32.31 1.32.26 1.32.22 1.32.23 1.32.18 1.32.17 1.32.15 trunk 1.00.00 1.00.13 1.01.01 1.02.02 1.03.07 1.04.07 1.05.03 1.06.02 1.07.11 1.08.00 1.08.06 All 72 releases
← All changes | classes/controller/e2pdf-debug.php +9 -9 1.32.171.32.49 View file →
@@ -18,11 +18,16 @@
18 18 if ($this->post->get('_wpnonce')) {
19 19 if (wp_verify_nonce($this->post->get('_wpnonce'), 'e2pdf_debug')) {
20 20 if ($this->post->get('e2pdf_updated')) {
21 21 update_option('e2pdf_version', '1.00.00');
22 - /* translators: %s: Action */
23 - $this->add_notification('update', sprintf(__('Success: %s', 'e2pdf'), __('Reinitialize Activation Hooks', 'e2pdf')));
24 - $this->redirect($this->helper->get_url(['page' => 'e2pdf-debug']));
22 + $this->redirect(
23 + $this->helper->get_url(
24 + [
25 + 'page' => 'e2pdf-debug',
26 + 'notification' => $this->add_notification('update', __('Success', 'e2pdf')),
27 + ]
28 + )
29 + );
25 30 }
26 31 } else {
27 32 wp_die($this->message('wp_verify_nonce_error'));
28 33 }
@@ -43,20 +48,14 @@
43 48 if (wp_verify_nonce($this->post->get('_wpnonce'), 'e2pdf_debug')) {
44 49 if ($this->post->get('e2pdf_db_repair')) {
45 50 $db_prefix = $wpdb->prefix;
46 51 $this->helper->load('db')->db_repair($db_prefix);
47 - /* translators: %s: Action */
48 - $this->add_notification('update', sprintf(__('Success: %s', 'e2pdf'), __('Repair DB', 'e2pdf')));
49 52 } elseif ($this->post->get('e2pdf_db_repair_collate')) {
50 53 $db_prefix = $wpdb->prefix;
51 54 $this->helper->load('db')->db_repair_collate($db_prefix);
52 - /* translators: %s: Action */
53 - $this->add_notification('update', sprintf(__('Success: %s', 'e2pdf'), __('Repair DB Collate', 'e2pdf')));
54 55 } elseif ($this->post->get('e2pdf_db')) {
55 56 $db_prefix = $wpdb->prefix;
56 57 $this->helper->load('db')->db_init($db_prefix);
57 - /* translators: %s: Action */
58 - $this->add_notification('update', sprintf(__('Success: %s', 'e2pdf'), __('Reinitialize DB Hooks', 'e2pdf')));
59 58 }
60 59 $this->redirect(
61 60 $this->helper->get_url(
62 61 [
@@ -61,8 +60,9 @@
61 60 $this->helper->get_url(
62 61 [
63 62 'page' => 'e2pdf-debug',
64 63 'action' => 'db',
64 + 'notification' => $this->add_notification('update', __('Success', 'e2pdf')),
65 65 ]
66 66 )
67 67 );
68 68 } else {