Changeset 2414070
- Timestamp:
- 11/06/2020 07:55:36 PM (4 years ago)
- Location:
- wpessential
- Files:
-
- 245 added
- 10 edited
Legend:
- Unmodified
- Added
- Removed
-
wpessential/trunk/inc/Builders/Elementor/Shortcodes/BlogPost/Post.php
r2409553 r2414070 26 26 * Retrieve widget keywords. 27 27 * 28 * @return array Widget icon.28 * @return array Widget . 29 29 * @access public 30 30 * @since 1.0.0 -
wpessential/trunk/inc/Builders/Elementor/Shortcodes/Forms/ContactForm7.php
r2409384 r2414070 9 9 class ContactForm7 extends Base implements Shortcodes 10 10 { 11 11 12 /** 12 13 * Set widget keywords. … … 24 25 25 26 /** 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 26 42 * Register widget controls. 27 43 * … … 36 52 'section_1', 37 53 [ 38 'label' => __( 'Shortcode', 'wpessential -blog-post-pro' )54 'label' => __( 'Shortcode', 'wpessential' ) 39 55 ] 40 56 ); -
wpessential/trunk/inc/Builders/Elementor/Shortcodes/Forms/FormidableForm.php
r2409384 r2414070 24 24 25 25 /** 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 26 41 * Register widget controls. 27 42 * … … 36 51 'section_1', 37 52 [ 38 'label' => __( 'Shortcode', 'wpessential -blog-post-pro' )53 'label' => __( 'Shortcode', 'wpessential' ) 39 54 ] 40 55 ); -
wpessential/trunk/inc/Builders/Elementor/Utility/Elementor.php
r2409384 r2414070 54 54 if ( function_exists( 'load_formidable_forms' ) ) { 55 55 self::$list[ 'FormidableForm' ] = 'WPEssential\Plugins\Builders\Elementor\Shortcodes\Forms\FormidableForm'; 56 57 58 59 60 61 62 63 64 65 66 67 56 68 } 57 69 } -
wpessential/trunk/inc/Helper/SetShortcodeBase.php
r2409384 r2414070 55 55 public function set_widget_icon () 56 56 { 57 return " ";57 return ""; 58 58 } 59 59 -
wpessential/trunk/inc/Loader.php
r2409384 r2414070 3 3 namespace WPEssential\Plugins; 4 4 5 5 6 use WPEssential\Plugins\Utility\BuildersInit; 6 7 use WPEssential\Plugins\Utility\Requesting; … … 55 56 public static function autoload () 56 57 { 57 $psr = [ 58 'WPEssential\\Plugins\\' => WPE_DIR . 'inc/' 58 $theme_name = wp_get_theme(); 59 $theme_name = $theme_name->get( 'Name' ); 60 $psr = [ 61 'WPEssential\\Plugins\\' => WPE_DIR . 'inc/', 62 "WPEssential\\Theme\\{$theme_name}\\" => get_template_directory() . '/inc/', 59 63 ]; 60 64 … … 81 85 RegisterAssets::constructor(); 82 86 Enqueue::constructor(); 87 83 88 } 84 89 … … 88 93 BuildersInit::constructor(); 89 94 load_plugin_textdomain( 'wpessential', false, WPE_DIR . 'language' ); 90 self::add_image_sizes();91 95 } 92 96 … … 102 106 return $boolean; 103 107 } 104 105 public static function add_image_sizes ()106 {107 $size = apply_filters( 'wpe/images/sizing', [] );108 foreach ( $size as $name => $value ) {109 add_image_size( $name, $value[ 0 ], $value[ 1 ], true );110 }111 }112 108 } -
wpessential/trunk/inc/Utility/Enqueue.php
r2409384 r2414070 34 34 35 35 $list = [ 36 36 37 'wpessential' 37 38 ]; … … 70 71 $localization = [ 71 72 'ajaxurl' => admin_url( 'admin-ajax.php' ), 72 'web url'=> WPE_URL,73 'web => WPE_URL, 73 74 'nonce' => wp_create_nonce( 'wpe_request_nonce' ), 74 'ajaxshort' => '/wp-admin/admin-ajax.php' 75 'ajaxshort' => '/wp-admin/admin-ajax.php', 76 'root' => home_url( '/' ), 75 77 ]; 76 $localization = apply_filters( 'wpe_loco', $localization ); 77 $localization = json_encode( $localization ); 78 ?> 79 <script id="wpessential-localization"> 80 var WPEssential = <?php echo $localization; ?>; 81 </script> 82 <?php 83 //wp_localize_script( 'jquery', 'WPEssential', $localization ); 78 $localization = apply_filters( 'wpe/localization', $localization ); 79 wp_localize_script( 'jquery', 'WPEssential', $localization ); 84 80 } 85 81 -
wpessential/trunk/inc/query-functions.php
r2409384 r2414070 19 19 } 20 20 } 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 -
wpessential/trunk/readme.txt
r2409553 r2414070 8 8 WC requires at least: 4.0 9 9 WC tested up to: 4.5 10 Stable tag: 1.0.0.0000 110 Stable tag: 1.0.0.0000 11 11 License: GPLv3 12 12 License URI: https://www.gnu.org/licenses/gpl-3.0.html … … 22 22 - [WordPress](https://codex.wordpress.org/Shortcode_API/) 23 23 - [Elementor](https://wordpress.org/plugins/elementor/) 24 25 26 27 28 29 30 24 31 25 32 … … 40 47 == Changelog == 41 48 49 50 51 52 53 54 55 42 56 = 30/10/2020 1.0.0.00001 = 43 57 - Fix Blog post already class exist error -
wpessential/trunk/wpessential.php
r2409553 r2414070 5 5 * Plugin URI: https://wp.wpessential.org/plugins/wpessential/ 6 6 * Author: WPEssential 7 * Version: 1.0.0.0000 17 * Version: 1.0.0.0000 8 8 * Author URI: https://wpessential.org/ 9 9 * Text Domain: wpessential
Note: See TracChangeset
for help on using the changeset viewer.