Premium Addons for Elementor - Version 3.3.3

Version Description

  • Fixed: Read More button doesn't show when The Excerpt post field is set in Blog widget.
Download this release

Release Info

Developer leap13
Plugin Icon 128x128 Premium Addons for Elementor
Version 3.3.3
Comparing to
See all releases

Code changes from version 3.3.2 to 3.3.3

admin/settings/sys-info.php CHANGED
@@ -5,12 +5,13 @@ namespace PremiumAddons;
5
  if(!defined('ABSPATH')) exit;
6
 
7
  class PA_System_Info {
8
- public function __construct()
9
- {
 
10
  add_action( 'admin_menu', array ($this,'create_sys_info_menu' ), 100 );
11
  }
12
 
13
- public function create_sys_info_menu(){
14
  add_submenu_page(
15
  'premium-addons',
16
  '',
5
  if(!defined('ABSPATH')) exit;
6
 
7
  class PA_System_Info {
8
+
9
+ public function __construct() {
10
+
11
  add_action( 'admin_menu', array ($this,'create_sys_info_menu' ), 100 );
12
  }
13
 
14
+ public function create_sys_info_menu() {
15
  add_submenu_page(
16
  'premium-addons',
17
  '',
admin/settings/version-control.php CHANGED
@@ -85,7 +85,7 @@ class PA_Version_Control {
85
  <tr class="pa-roll-row">
86
  <th>Rollback Version</th>
87
  <td>
88
- <div><?php echo sprintf( '<a target="_blank" href="%1$s" class="button pa-btn pa-rollback-button elementor-button-spinner">%2$s</a>', wp_nonce_url( admin_url( 'admin-post.php?action=premium_addons_rollback' ), 'premium_addons_rollback' ), __('Reinstall Version 3.3.1', 'premium-addons-for-elementor') ); ?></div>
89
  <p class="pa-roll-desc">
90
  <span><?php echo __('Warning: Please backup your database before making the rollback.', 'premium-addons-for-elementor'); ?></span>
91
  </p>
85
  <tr class="pa-roll-row">
86
  <th>Rollback Version</th>
87
  <td>
88
+ <div><?php echo sprintf( '<a target="_blank" href="%1$s" class="button pa-btn pa-rollback-button elementor-button-spinner">%2$s</a>', wp_nonce_url( admin_url( 'admin-post.php?action=premium_addons_rollback' ), 'premium_addons_rollback' ), __('Reinstall Version 3.3.2', 'premium-addons-for-elementor') ); ?></div>
89
  <p class="pa-roll-desc">
90
  <span><?php echo __('Warning: Please backup your database before making the rollback.', 'premium-addons-for-elementor'); ?></span>
91
  </p>
premium-addons-for-elementor.php CHANGED
@@ -3,7 +3,7 @@
3
  Plugin Name: Premium Addons for Elementor
4
  Description: Premium Addons Plugin Includes 22+ premium widgets for Elementor Page Builder.
5
  Plugin URI: https://premiumaddons.com
6
- Version: 3.3.2
7
  Author: Leap13
8
  Author URI: https://leap13.com/
9
  Text Domain: premium-addons-for-elementor
@@ -14,12 +14,12 @@ License: GNU General Public License v3.0
14
  if ( ! defined('ABSPATH') ) exit; // No access of directly access
15
 
16
  // Define Constants
17
- define('PREMIUM_ADDONS_VERSION', '3.3.2');
18
  define('PREMIUM_ADDONS_URL', plugins_url('/', __FILE__));
19
  define('PREMIUM_ADDONS_PATH', plugin_dir_path(__FILE__));
20
  define('PREMIUM_ADDONS_FILE', __FILE__);
21
  define('PREMIUM_ADDONS_BASENAME', plugin_basename(PREMIUM_ADDONS_FILE));
22
- define('PREMIUM_ADDONS_STABLE_VERSION', '3.3.1');
23
 
24
  if( ! class_exists('Premium_Addons_Elementor') ) {
25
 
@@ -40,9 +40,9 @@ if( ! class_exists('Premium_Addons_Elementor') ) {
40
  */
41
  public function __construct() {
42
 
43
- add_action('plugins_loaded', array( $this, 'premium_addons_elementor_setup') );
44
 
45
- add_action('elementor/init', array( $this, 'elementor_init') );
46
 
47
  add_action( 'init', array( $this, 'init_addons' ), -999 );
48
 
@@ -93,7 +93,7 @@ if( ! class_exists('Premium_Addons_Elementor') ) {
93
  *
94
  * @return void
95
  */
96
- public function init_files(){
97
  if ( is_admin() ) {
98
  require_once (PREMIUM_ADDONS_PATH . 'includes/system-info.php');
99
  require_once (PREMIUM_ADDONS_PATH . 'includes/maintenance.php');
3
  Plugin Name: Premium Addons for Elementor
4
  Description: Premium Addons Plugin Includes 22+ premium widgets for Elementor Page Builder.
5
  Plugin URI: https://premiumaddons.com
6
+ Version: 3.3.3
7
  Author: Leap13
8
  Author URI: https://leap13.com/
9
  Text Domain: premium-addons-for-elementor
14
  if ( ! defined('ABSPATH') ) exit; // No access of directly access
15
 
16
  // Define Constants
17
+ define('PREMIUM_ADDONS_VERSION', '3.3.3');
18
  define('PREMIUM_ADDONS_URL', plugins_url('/', __FILE__));
19
  define('PREMIUM_ADDONS_PATH', plugin_dir_path(__FILE__));
20
  define('PREMIUM_ADDONS_FILE', __FILE__);
21
  define('PREMIUM_ADDONS_BASENAME', plugin_basename(PREMIUM_ADDONS_FILE));
22
+ define('PREMIUM_ADDONS_STABLE_VERSION', '3.3.2');
23
 
24
  if( ! class_exists('Premium_Addons_Elementor') ) {
25
 
40
  */
41
  public function __construct() {
42
 
43
+ add_action( 'plugins_loaded', array( $this, 'premium_addons_elementor_setup' ) );
44
 
45
+ add_action( 'elementor/init', array( $this, 'elementor_init' ) );
46
 
47
  add_action( 'init', array( $this, 'init_addons' ), -999 );
48
 
93
  *
94
  * @return void
95
  */
96
+ public function init_files() {
97
  if ( is_admin() ) {
98
  require_once (PREMIUM_ADDONS_PATH . 'includes/system-info.php');
99
  require_once (PREMIUM_ADDONS_PATH . 'includes/maintenance.php');
queries.php CHANGED
@@ -50,7 +50,7 @@ function premium_addons_get_excerpt_by_id( $post_id, $excerpt_length, $excerpt_t
50
  $the_excerpt = null;
51
 
52
  if ( $the_post ) {
53
- $the_excerpt = $the_post->post_excerpt ? $the_post->post_excerpt : $the_post->post_content;
54
  }
55
 
56
  $the_excerpt = strip_tags( strip_shortcodes( $the_excerpt ) ); //Strips tags and images
50
  $the_excerpt = null;
51
 
52
  if ( $the_post ) {
53
+ $the_excerpt = $the_post->post_content;
54
  }
55
 
56
  $the_excerpt = strip_tags( strip_shortcodes( $the_excerpt ) ); //Strips tags and images
readme.txt CHANGED
@@ -5,7 +5,7 @@ Donate link: http://premiumaddons.com
5
  Requires at least: 4.5
6
  Tested up to: 5.1.1
7
  Requires PHP: 5.4
8
- Stable tag: 3.3.2
9
  License: GPL v3.0
10
  License URI: https://opensource.org/licenses/GPL-3.0
11
 
@@ -139,6 +139,10 @@ Premium Addons for Elementor is 100% Ads Free, Ads can only be detected from You
139
 
140
  == Changelog ==
141
 
 
 
 
 
142
  = 3.3.2 =
143
 
144
  - Tweak: Added `_content_template()` method for Counter widget to enhance rendering speed.
5
  Requires at least: 4.5
6
  Tested up to: 5.1.1
7
  Requires PHP: 5.4
8
+ Stable tag: 3.3.3
9
  License: GPL v3.0
10
  License URI: https://opensource.org/licenses/GPL-3.0
11
 
139
 
140
  == Changelog ==
141
 
142
+ = 3.3.3 =
143
+
144
+ - Fixed: `Read More` button doesn't show when `The Excerpt` post field is set in Blog widget.
145
+
146
  = 3.3.2 =
147
 
148
  - Tweak: Added `_content_template()` method for Counter widget to enhance rendering speed.