Changeset 3085825
- Timestamp:
- 05/13/2024 12:55:08 PM (11 months ago)
- Location:
- sina-extension-for-elementor
- Files:
-
- 220 added
- 21 edited
-
tags/3.5.3 (added)
-
tags/3.5.3/LICENSE.txt (added)
-
tags/3.5.3/admin (added)
-
tags/3.5.3/admin/assets (added)
-
tags/3.5.3/admin/assets/css (added)
-
tags/3.5.3/admin/assets/css/fonts (added)
-
tags/3.5.3/admin/assets/css/fonts/icofont.woff (added)
-
tags/3.5.3/admin/assets/css/fonts/icofont.woff2 (added)
-
tags/3.5.3/admin/assets/css/fonts/index.php (added)
-
tags/3.5.3/admin/assets/css/icofont.min.css (added)
-
tags/3.5.3/admin/assets/css/index.php (added)
-
tags/3.5.3/admin/assets/css/sina-admin.min.css (added)
-
tags/3.5.3/admin/assets/img (added)
-
tags/3.5.3/admin/assets/img/index.php (added)
-
tags/3.5.3/admin/assets/img/logo.png (added)
-
tags/3.5.3/admin/assets/img/sina-extension-banner.jpg (added)
-
tags/3.5.3/admin/assets/index.php (added)
-
tags/3.5.3/admin/assets/js (added)
-
tags/3.5.3/admin/assets/js/index.php (added)
-
tags/3.5.3/admin/assets/js/sina-admin.min.js (added)
-
tags/3.5.3/admin/assets/js/sina-templates-lib.min.js (added)
-
tags/3.5.3/admin/assets/js/sweetalert2.min.js (added)
-
tags/3.5.3/admin/index.php (added)
-
tags/3.5.3/admin/partials (added)
-
tags/3.5.3/admin/partials/index.php (added)
-
tags/3.5.3/admin/partials/page-content.php (added)
-
tags/3.5.3/admin/partials/switch.php (added)
-
tags/3.5.3/admin/sina-ext-rollback.php (added)
-
tags/3.5.3/admin/sina-ext-settings.php (added)
-
tags/3.5.3/admin/sina-ext-templates.php (added)
-
tags/3.5.3/assets (added)
-
tags/3.5.3/assets/css (added)
-
tags/3.5.3/assets/css/animate-merge.min.css (added)
-
tags/3.5.3/assets/css/datatables.min.css (added)
-
tags/3.5.3/assets/css/img (added)
-
tags/3.5.3/assets/css/img/index.php (added)
-
tags/3.5.3/assets/css/img/owl.video.play.png (added)
-
tags/3.5.3/assets/css/img/sort_asc.png (added)
-
tags/3.5.3/assets/css/img/sort_asc_disabled.png (added)
-
tags/3.5.3/assets/css/img/sort_both.png (added)
-
tags/3.5.3/assets/css/img/sort_desc.png (added)
-
tags/3.5.3/assets/css/img/sort_desc_disabled.png (added)
-
tags/3.5.3/assets/css/index.php (added)
-
tags/3.5.3/assets/css/owl.carousel.min.css (added)
-
tags/3.5.3/assets/css/sina-morphing.min.css (added)
-
tags/3.5.3/assets/css/sina-tooltip.min.css (added)
-
tags/3.5.3/assets/css/sina-widgets-rtl.min.css (added)
-
tags/3.5.3/assets/css/sina-widgets.min.css (added)
-
tags/3.5.3/assets/css/twentytwenty.min.css (added)
-
tags/3.5.3/assets/css/venobox.min.css (added)
-
tags/3.5.3/assets/img (added)
-
tags/3.5.3/assets/img/brand1.png (added)
-
tags/3.5.3/assets/img/brand2.png (added)
-
tags/3.5.3/assets/img/brand3.png (added)
-
tags/3.5.3/assets/img/brand4.png (added)
-
tags/3.5.3/assets/img/car-original1.jpg (added)
-
tags/3.5.3/assets/img/car-original2.jpg (added)
-
tags/3.5.3/assets/img/car-original3.jpg (added)
-
tags/3.5.3/assets/img/car-preview1.jpg (added)
-
tags/3.5.3/assets/img/car-preview2.jpg (added)
-
tags/3.5.3/assets/img/car-preview3.jpg (added)
-
tags/3.5.3/assets/img/car-thumb1.jpg (added)
-
tags/3.5.3/assets/img/car-thumb2.jpg (added)
-
tags/3.5.3/assets/img/car-thumb3.jpg (added)
-
tags/3.5.3/assets/img/choose-img.jpg (added)
-
tags/3.5.3/assets/img/featured-img.jpg (added)
-
tags/3.5.3/assets/img/index.php (added)
-
tags/3.5.3/assets/img/marker.png (added)
-
tags/3.5.3/assets/img/portfolio1.jpg (added)
-
tags/3.5.3/assets/img/portfolio2.jpg (added)
-
tags/3.5.3/assets/img/portfolio3.jpg (added)
-
tags/3.5.3/assets/img/portfolio4.jpg (added)
-
tags/3.5.3/assets/img/portfolio5.jpg (added)
-
tags/3.5.3/assets/img/portfolio6.jpg (added)
-
tags/3.5.3/assets/img/review1.jpg (added)
-
tags/3.5.3/assets/img/review2.jpg (added)
-
tags/3.5.3/assets/img/review3.jpg (added)
-
tags/3.5.3/assets/img/team.jpg (added)
-
tags/3.5.3/assets/index.php (added)
-
tags/3.5.3/assets/js (added)
-
tags/3.5.3/assets/js/datatables.min.js (added)
-
tags/3.5.3/assets/js/imagesloaded.pkgd.min.js (added)
-
tags/3.5.3/assets/js/index.php (added)
-
tags/3.5.3/assets/js/isotope.min.js (added)
-
tags/3.5.3/assets/js/jquery.countdown.min.js (added)
-
tags/3.5.3/assets/js/jquery.easypiechart.min.js (added)
-
tags/3.5.3/assets/js/jquery.event.move.min.js (added)
-
tags/3.5.3/assets/js/jquery.twentytwenty.min.js (added)
-
tags/3.5.3/assets/js/map-styles.min.js (added)
-
tags/3.5.3/assets/js/owl.carousel.min.js (added)
-
tags/3.5.3/assets/js/sina-particles.min.js (added)
-
tags/3.5.3/assets/js/sina-tooltip.min.js (added)
-
tags/3.5.3/assets/js/sina-widgets.min.js (added)
-
tags/3.5.3/assets/js/typed.min.js (added)
-
tags/3.5.3/assets/js/venobox.min.js (added)
-
tags/3.5.3/assets/js/xzoom.min.js (added)
-
tags/3.5.3/inc (added)
-
tags/3.5.3/inc/controls (added)
-
tags/3.5.3/inc/controls/gradient-text.php (added)
-
tags/3.5.3/inc/controls/icon.php (added)
-
tags/3.5.3/inc/controls/index.php (added)
-
tags/3.5.3/inc/index.php (added)
-
tags/3.5.3/inc/sina-ext-base.php (added)
-
tags/3.5.3/inc/sina-ext-controls-extend.php (added)
-
tags/3.5.3/inc/sina-ext-controls.php (added)
-
tags/3.5.3/inc/sina-ext-func.php (added)
-
tags/3.5.3/inc/sina-ext-helpers.php (added)
-
tags/3.5.3/inc/sina-ext-hooks.php (added)
-
tags/3.5.3/inc/sina-ext.php (added)
-
tags/3.5.3/index.php (added)
-
tags/3.5.3/languages (added)
-
tags/3.5.3/languages/sina-ext-bn_BD.mo (added)
-
tags/3.5.3/languages/sina-ext-bn_BD.po (added)
-
tags/3.5.3/languages/sina-ext-de_AT.mo (added)
-
tags/3.5.3/languages/sina-ext-de_AT.po (added)
-
tags/3.5.3/languages/sina-ext-de_CH.mo (added)
-
tags/3.5.3/languages/sina-ext-de_CH.po (added)
-
tags/3.5.3/languages/sina-ext-de_DE.mo (added)
-
tags/3.5.3/languages/sina-ext-de_DE.po (added)
-
tags/3.5.3/languages/sina-ext-es_AR.mo (added)
-
tags/3.5.3/languages/sina-ext-es_AR.po (added)
-
tags/3.5.3/languages/sina-ext-es_CL.mo (added)
-
tags/3.5.3/languages/sina-ext-es_CL.po (added)
-
tags/3.5.3/languages/sina-ext-es_CO.mo (added)
-
tags/3.5.3/languages/sina-ext-es_CO.po (added)
-
tags/3.5.3/languages/sina-ext-es_CR.mo (added)
-
tags/3.5.3/languages/sina-ext-es_CR.po (added)
-
tags/3.5.3/languages/sina-ext-es_ES.mo (added)
-
tags/3.5.3/languages/sina-ext-es_ES.po (added)
-
tags/3.5.3/languages/sina-ext-es_GT.mo (added)
-
tags/3.5.3/languages/sina-ext-es_GT.po (added)
-
tags/3.5.3/languages/sina-ext-es_MX.mo (added)
-
tags/3.5.3/languages/sina-ext-es_MX.po (added)
-
tags/3.5.3/languages/sina-ext-es_PE.mo (added)
-
tags/3.5.3/languages/sina-ext-es_PE.po (added)
-
tags/3.5.3/languages/sina-ext-es_PR.mo (added)
-
tags/3.5.3/languages/sina-ext-es_PR.po (added)
-
tags/3.5.3/languages/sina-ext-es_UY.mo (added)
-
tags/3.5.3/languages/sina-ext-es_UY.po (added)
-
tags/3.5.3/languages/sina-ext-es_VE.mo (added)
-
tags/3.5.3/languages/sina-ext-es_VE.po (added)
-
tags/3.5.3/languages/sina-ext-fr_BE.mo (added)
-
tags/3.5.3/languages/sina-ext-fr_BE.po (added)
-
tags/3.5.3/languages/sina-ext-fr_CA.mo (added)
-
tags/3.5.3/languages/sina-ext-fr_CA.po (added)
-
tags/3.5.3/languages/sina-ext-fr_FR.mo (added)
-
tags/3.5.3/languages/sina-ext-fr_FR.po (added)
-
tags/3.5.3/languages/sina-ext-pt_AO.mo (added)
-
tags/3.5.3/languages/sina-ext-pt_AO.po (added)
-
tags/3.5.3/languages/sina-ext-pt_BR.mo (added)
-
tags/3.5.3/languages/sina-ext-pt_BR.po (added)
-
tags/3.5.3/languages/sina-ext-pt_PT.mo (added)
-
tags/3.5.3/languages/sina-ext-pt_PT.po (added)
-
tags/3.5.3/languages/sina-ext.pot (added)
-
tags/3.5.3/readme.txt (added)
-
tags/3.5.3/sina-extension-for-elementor.php (added)
-
tags/3.5.3/widgets (added)
-
tags/3.5.3/widgets/advanced (added)
-
tags/3.5.3/widgets/advanced/index.php (added)
-
tags/3.5.3/widgets/advanced/sina-banner-slider.php (added)
-
tags/3.5.3/widgets/advanced/sina-blogpost.php (added)
-
tags/3.5.3/widgets/advanced/sina-brand-carousel.php (added)
-
tags/3.5.3/widgets/advanced/sina-contact-form.php (added)
-
tags/3.5.3/widgets/advanced/sina-content-slider.php (added)
-
tags/3.5.3/widgets/advanced/sina-countdown.php (added)
-
tags/3.5.3/widgets/advanced/sina-facebook-feed.php (added)
-
tags/3.5.3/widgets/advanced/sina-login-form.php (added)
-
tags/3.5.3/widgets/advanced/sina-mailchimp-subscribe.php (added)
-
tags/3.5.3/widgets/advanced/sina-modal-box.php (added)
-
tags/3.5.3/widgets/advanced/sina-news-ticker.php (added)
-
tags/3.5.3/widgets/advanced/sina-particle-layer.php (added)
-
tags/3.5.3/widgets/advanced/sina-portfolio.php (added)
-
tags/3.5.3/widgets/advanced/sina-posts-carousel.php (added)
-
tags/3.5.3/widgets/advanced/sina-posts-tab.php (added)
-
tags/3.5.3/widgets/advanced/sina-product-zoomer.php (added)
-
tags/3.5.3/widgets/advanced/sina-review-carousel.php (added)
-
tags/3.5.3/widgets/advanced/sina-search-form.php (added)
-
tags/3.5.3/widgets/advanced/sina-twitter-feed.php (added)
-
tags/3.5.3/widgets/basic (added)
-
tags/3.5.3/widgets/basic/index.php (added)
-
tags/3.5.3/widgets/basic/sina-accordion.php (added)
-
tags/3.5.3/widgets/basic/sina-content-box.php (added)
-
tags/3.5.3/widgets/basic/sina-counter.php (added)
-
tags/3.5.3/widgets/basic/sina-dynamic-button.php (added)
-
tags/3.5.3/widgets/basic/sina-fancytext.php (added)
-
tags/3.5.3/widgets/basic/sina-flip-box.php (added)
-
tags/3.5.3/widgets/basic/sina-google-map.php (added)
-
tags/3.5.3/widgets/basic/sina-image-differ.php (added)
-
tags/3.5.3/widgets/basic/sina-piechart.php (added)
-
tags/3.5.3/widgets/basic/sina-pricing.php (added)
-
tags/3.5.3/widgets/basic/sina-progressbar.php (added)
-
tags/3.5.3/widgets/basic/sina-social-icons.php (added)
-
tags/3.5.3/widgets/basic/sina-table.php (added)
-
tags/3.5.3/widgets/basic/sina-team.php (added)
-
tags/3.5.3/widgets/basic/sina-title.php (added)
-
tags/3.5.3/widgets/basic/sina-transform.php (added)
-
tags/3.5.3/widgets/basic/sina-user-counter.php (added)
-
tags/3.5.3/widgets/basic/sina-video.php (added)
-
tags/3.5.3/widgets/basic/sina-visit-counter.php (added)
-
tags/3.5.3/widgets/index.php (added)
-
tags/3.5.3/widgets/layout (added)
-
tags/3.5.3/widgets/layout/blogpost (added)
-
tags/3.5.3/widgets/layout/blogpost/grid.php (added)
-
tags/3.5.3/widgets/layout/blogpost/index.php (added)
-
tags/3.5.3/widgets/layout/blogpost/list.php (added)
-
tags/3.5.3/widgets/layout/contact-form (added)
-
tags/3.5.3/widgets/layout/contact-form/index.php (added)
-
tags/3.5.3/widgets/layout/contact-form/layout1.php (added)
-
tags/3.5.3/widgets/layout/contact-form/layout2.php (added)
-
tags/3.5.3/widgets/layout/index.php (added)
-
tags/3.5.3/widgets/layout/posts-carousel (added)
-
tags/3.5.3/widgets/layout/posts-carousel/grid.php (added)
-
tags/3.5.3/widgets/layout/posts-carousel/index.php (added)
-
tags/3.5.3/widgets/layout/posts-carousel/list.php (added)
-
tags/3.5.3/widgets/layout/posts-carousel/thumb.php (added)
-
tags/3.5.3/widgets/layout/review-carousel (added)
-
tags/3.5.3/widgets/layout/review-carousel/bottom.php (added)
-
tags/3.5.3/widgets/layout/review-carousel/index.php (added)
-
tags/3.5.3/widgets/layout/review-carousel/middle.php (added)
-
tags/3.5.3/widgets/layout/review-carousel/top.php (added)
-
trunk/inc/sina-ext-helpers.php (modified) (1 diff)
-
trunk/readme.txt (modified) (2 diffs)
-
trunk/sina-extension-for-elementor.php (modified) (2 diffs)
-
trunk/widgets/advanced/sina-banner-slider.php (modified) (1 diff)
-
trunk/widgets/advanced/sina-contact-form.php (modified) (2 diffs)
-
trunk/widgets/advanced/sina-content-slider.php (modified) (1 diff)
-
trunk/widgets/advanced/sina-countdown.php (modified) (2 diffs)
-
trunk/widgets/advanced/sina-mailchimp-subscribe.php (modified) (1 diff)
-
trunk/widgets/advanced/sina-news-ticker.php (modified) (3 diffs)
-
trunk/widgets/advanced/sina-particle-layer.php (modified) (5 diffs)
-
trunk/widgets/advanced/sina-portfolio.php (modified) (2 diffs)
-
trunk/widgets/advanced/sina-review-carousel.php (modified) (4 diffs)
-
trunk/widgets/basic/sina-fancytext.php (modified) (7 diffs)
-
trunk/widgets/basic/sina-piechart.php (modified) (2 diffs)
-
trunk/widgets/basic/sina-pricing.php (modified) (3 diffs)
-
trunk/widgets/basic/sina-progressbar.php (modified) (1 diff)
-
trunk/widgets/basic/sina-table.php (modified) (3 diffs)
-
trunk/widgets/basic/sina-team.php (modified) (3 diffs)
-
trunk/widgets/basic/sina-title.php (modified) (2 diffs)
-
trunk/widgets/basic/sina-user-counter.php (modified) (1 diff)
-
trunk/widgets/basic/sina-visit-counter.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
sina-extension-for-elementor/trunk/inc/sina-ext-helpers.php
r2509618 r3085825 5 5 } 6 6 7 function sina_ext_html_tags( $tag ) { 8 $allowed_tags = [ 9 'h1', 10 'h2', 11 'h3', 12 'h4', 13 'h5', 14 'h6', 15 'p', 16 ]; 17 return in_array( strtolower( $tag ), $allowed_tags ) ? $tag : 'h2'; 7 function sina_ext_use_char($text) { 8 return str_replace(['&','<','>','='], [' & ',' < ',' > ',' = '], $text); 9 } 10 11 function sina_ext_escape_tags($tag, $default = 'h2', $extra = []) { 12 $supports = ['h1', 'h2', 'h3', 'h4', 'h5', 'h6', 'div', 'span', 'p']; 13 14 $supports = array_merge($supports, $extra); 15 16 if (!in_array($tag, $supports, true)) { 17 return $default; 18 } 19 20 return $tag; 21 } 22 23 function sina_ext_escape_in_anims($anim, $default = 'fadeIn', $extra = []) { 24 $supports = [ 25 'fadeIn', 26 'fadeInUp', 27 'fadeInDown', 28 'fadeInLeft', 29 'fadeInRight', 30 'zoomIn', 31 'zoomInLeft', 32 'zoomInRight', 33 'zoomInDown', 34 'zoomInUp', 35 'bounce', 36 'bounceIn', 37 'bounceInDown', 38 'bounceInLeft', 39 'bounceInRight', 40 'bounceInUp', 41 'slideInDown', 42 'slideInLeft', 43 'slideInRight', 44 'slideInUp', 45 'rotateIn', 46 'rotateInDownLeft', 47 'rotateInDownRight', 48 'rotateInUpLeft', 49 'rotateInUpRight', 50 'flipInX', 51 'flipInY', 52 'lightSpeedIn', 53 'flash', 54 'pulse', 55 'rubberBand', 56 'shake', 57 'headShake', 58 'swing', 59 'tada', 60 'wobble', 61 'jello', 62 'rollIn' 63 ]; 64 65 $supports = array_merge($supports, $extra); 66 67 if (!in_array($anim, $supports, true)) { 68 return $default; 69 } 70 71 return $anim; 18 72 } 19 73 -
sina-extension-for-elementor/trunk/readme.txt
r3076054 r3085825 6 6 Tested up to: 6.5 7 7 Requires PHP: 7.0 8 Stable tag: 3.5. 38 Stable tag: 3.5.4 9 9 License: GPL v3 10 10 License URI: https://opensource.org/licenses/GPL-3.0 … … 273 273 == Changelog == 274 274 275 = 3.5.4 - 13-05-2024 = 276 - Fixed: Contact Form escaping issue 277 - Fixed: Countdown escaping issue 278 - Fixed: Fancytext escaping issue 279 - Fixed: Mailchimp escaping issue 280 - Fixed: News Ticker escaping issue 281 - Fixed: Particle Layer escaping issue 282 - Fixed: Piechart escaping issue 283 - Fixed: Portfolio escaping issue 284 - Fixed: Pricing escaping issue 285 - Fixed: Progressbar escaping issue 286 - Fixed: Review Carousel escaping issue 287 - Fixed: Table escaping issue 288 - Fixed: Team escaping issue 289 - Fixed: User Counter escaping issue 290 - Fixed: Visit Counter escaping issue 291 - Improved 292 275 293 = 3.5.3 - 24-04-2024 = 276 - Fixed: Fancytext issue294 - Fixed: Fancytext escaping issue 277 295 278 296 = 3.5.2 - 15-04-2024 = 279 297 - Added: Query String option to Pricing 280 - Fixed: Some issues fo Blogpost, Contact Form, Posts Carousel and Review Carousel298 - Fixed: Some issues for Blogpost, Contact Form, Posts Carousel and Review Carousel 281 299 282 300 = 3.5.1 - 20-02-2024 = -
sina-extension-for-elementor/trunk/sina-extension-for-elementor.php
r3076054 r3085825 4 4 * Plugin URI: https://sina-extension.sinaextra.com/ 5 5 * Description: A collection of high-quality widgets for Elementor page builder. 6 * Version: 3.5. 36 * Version: 3.5.4 7 7 * Author: SinaExtra 8 8 * Author URI: https://sinaextra.com/ … … 18 18 } 19 19 20 define('SINA_EXT_VERSION', '3.5. 3');21 define('SINA_EXT_PREVIOUS_VERSION', '3.5. 2' );20 define('SINA_EXT_VERSION', '3.5.4'); 21 define('SINA_EXT_PREVIOUS_VERSION', '3.5.3' ); 22 22 define('SINA_EXT_FILE', __FILE__ ); 23 23 define('SINA_EXT_SLUG', basename( SINA_EXT_FILE, '.php' )); -
sina-extension-for-elementor/trunk/widgets/advanced/sina-banner-slider.php
r3038045 r3085825 1086 1086 <?php if ( $slide['title'] ): ?> 1087 1087 <?php $title_span = $slide['title_span'] ? '<span>'.$slide['title_span'].'</span>' : ''; ?> 1088 <?php printf('<%4$s %1$s data-animation="animated %2$s">%3$s%5$s</%4$s>', $this->get_render_attribute_string( $title_key ), esc_attr($slide['title_anim']), $slide['title'], sina_ext_ html_tags( $slide['title_tag'] ), $title_span); ?>1088 <?php printf('<%4$s %1$s data-animation="animated %2$s">%3$s%5$s</%4$s>', $this->get_render_attribute_string( $title_key ), esc_attr($slide['title_anim']), $slide['title'], sina_ext_escape_tags( $slide['title_tag'] ), $title_span); ?> 1089 1089 <?php endif; ?> 1090 1090 1091 1091 <?php if ( $slide['subtitle'] ): ?> 1092 <?php printf('<%4$s %1$s data-animation="animated %2$s">%3$s</%4$s>', $this->get_render_attribute_string( $subtitle_key ), esc_attr($slide['subtitle_anim']), $slide['subtitle'], sina_ext_ html_tags( $slide['subtitle_tag'] )); ?>1092 <?php printf('<%4$s %1$s data-animation="animated %2$s">%3$s</%4$s>', $this->get_render_attribute_string( $subtitle_key ), esc_attr($slide['subtitle_anim']), $slide['subtitle'], sina_ext_escape_tags( $slide['subtitle_tag'] )); ?> 1093 1093 <?php endif; ?> 1094 1094 -
sina-extension-for-elementor/trunk/widgets/advanced/sina-contact-form.php
r3070747 r3085825 566 566 $data = $this->get_settings_for_display(); 567 567 $hash = ''; 568 if ( sanitize_email( $data['contact_email'] ) && !Plugin::instance()->editor->is_edit_mode() ) {568 if ( $data['contact_email'] && sanitize_email( $data['contact_email'] ) && !Plugin::instance()->editor->is_edit_mode() ) { 569 569 $hash = md5( $data['contact_email'] ); 570 570 add_option( 'sina_contact_email'.$hash, $data['contact_email'] ); … … 582 582 <?php endif; ?> 583 583 584 <?php printf('<p class="sina-success-text">%s</p>', $data['successs_message']); ?>584 <?php printf('<p class="sina-success-text">%s</p>', esc_html($data['successs_message'])); ?> 585 585 <p class="sina-error-text"></p> 586 <p class="sina-process-text"><?php printf('%s',$data['process_text']); ?></p>586 <p class="sina-process-text"><?php echo esc_html($data['process_text']); ?></p> 587 587 588 588 <?php wp_nonce_field( 'sina_contact', 'sina_contact_nonce'.$this->get_id() ); ?> -
sina-extension-for-elementor/trunk/widgets/advanced/sina-content-slider.php
r2932760 r3085825 908 908 <?php else: ?> 909 909 <?php if ( $slide['title'] ): ?> 910 <?php printf( '<%1$s %2$s>%3$s</%1$s>', sina_ext_ html_tags( $slide['title_tag'] ), $this->get_render_attribute_string( $title_key ), $slide['title'] ); ?>910 <?php printf( '<%1$s %2$s>%3$s</%1$s>', sina_ext_escape_tags( $slide['title_tag'] ), $this->get_render_attribute_string( $title_key ), $slide['title'] ); ?> 911 911 <?php endif; ?> 912 912 913 913 <?php if ( $slide['subtitle'] ): ?> 914 <?php printf( '<%1$s %2$s>%3$s</%1$s>', sina_ext_ html_tags( $slide['subtitle_tag'] ), $this->get_render_attribute_string( $subtitle_key ), $slide['subtitle'] ); ?>914 <?php printf( '<%1$s %2$s>%3$s</%1$s>', sina_ext_escape_tags( $slide['subtitle_tag'] ), $this->get_render_attribute_string( $subtitle_key ), $slide['subtitle'] ); ?> 915 915 <?php endif; ?> 916 916 -
sina-extension-for-elementor/trunk/widgets/advanced/sina-countdown.php
r2892038 r3085825 692 692 $data = $this->get_settings_for_display(); 693 693 $morphing_anim_box = ('yes' == $data['is_morphing_anim_icon'] && $data['morphing_pattern']) ? $data['morphing_pattern'] : ''; 694 $msg = $data['message'] ? $data['message'] : ''; 694 695 ?> 695 696 <div class="sina-countdown" 696 697 data-time="<?php echo esc_attr( $data['countdown_time'] ); ?>" 697 698 data-text="<?php echo esc_attr( $data['text_state'] ); ?>" 698 data-link="<?php echo esc_ attr( $data['redirect'] ); ?>"699 data-message="<?php echo esc_attr( $data['message']); ?>">699 data-link="<?php echo esc_url( $data['redirect'] ); ?>" 700 data-message="<?php echo sina_ext_use_char( $msg ); ?>"> 700 701 <?php 701 702 if( date_timestamp_get( date_create( $data['countdown_time'] ) ) > time() ) : … … 706 707 <?php if ( 'yes' == $data['text_state'] ) : ?> 707 708 <div class="sina-cd-text"> 708 <?php printf( '%s', $value['unit']); ?>709 <?php echo esc_html($value['unit']); ?> 709 710 </div> 710 711 <?php endif; ?> -
sina-extension-for-elementor/trunk/widgets/advanced/sina-mailchimp-subscribe.php
r2892038 r3085825 544 544 </div> 545 545 546 <?php printf('<p class="sina-success-text">%s</p>', $data['successs_message']); ?>546 <?php printf('<p class="sina-success-text">%s</p>', esc_html($data['successs_message'])); ?> 547 547 <p class="sina-error-text"></p> 548 <p class="sina-process-text"><?php printf('%s',$data['process_text']); ?></p>548 <p class="sina-process-text"><?php echo esc_html($data['process_text']); ?></p> 549 549 550 550 <?php wp_nonce_field( 'sina_mc_subscribe', 'sina_mc_subscribe_nonce'.$this->get_id() ); ?> -
sina-extension-for-elementor/trunk/widgets/advanced/sina-news-ticker.php
r2658432 r3085825 668 668 data-speed="<?php echo esc_attr( $data['speed'] ); ?>"> 669 669 <?php if ( $data['label_text'] && ('left' == $data['label_position'] || 'both' == $data['label_position']) ): ?> 670 <div class="sina-nt-left-label"><?php printf( '%s',$data['label_text'] ); ?></div>670 <div class="sina-nt-left-label"><?php echo esc_html( $data['label_text'] ); ?></div> 671 671 <?php endif; ?> 672 672 … … 691 691 <?php else: ?> 692 692 <div class="sina-news"> 693 <a><?php _e($data['label_text']. ' not published yet', 'sina-ext'); ?></a>693 <a><?php echo esc_html__($data['label_text']. ' not published yet', 'sina-ext'); ?></a> 694 694 </div> 695 695 <?php endif; ?> … … 699 699 700 700 <?php if ( $data['label_text'] && 'both' == $data['label_position'] ): ?> 701 <div class="sina-nt-right-label sina-nt-label-both"><?php printf( '%s',$data['label_text'] ); ?></div>701 <div class="sina-nt-right-label sina-nt-label-both"><?php echo esc_html( $data['label_text'] ); ?></div> 702 702 <?php elseif ( $data['label_text'] && 'right' == $data['label_position'] ): ?> 703 <div class="sina-nt-right-label"><?php printf( '%s',$data['label_text'] ); ?></div>703 <div class="sina-nt-right-label"><?php echo esc_html( $data['label_text'] ); ?></div> 704 704 <?php endif ?> 705 705 </div><!-- .sina-news-ticker --> -
sina-extension-for-elementor/trunk/widgets/advanced/sina-particle-layer.php
r2892038 r3085825 146 146 'type' => Controls_Manager::TEXT, 147 147 'placeholder' => esc_html__( 'Enter Title', 'sina-ext' ), 148 'description' => esc_html__( 'You can use HTML.', 'sina-ext' ), 148 149 'default' => 'Welcome to get start your business', 149 150 'dynamic' => [ … … 185 186 'type' => Controls_Manager::TEXT, 186 187 'placeholder' => esc_html__( 'Enter Title', 'sina-ext' ), 188 'description' => esc_html__( 'You can use HTML.', 'sina-ext' ), 187 189 'separator' => 'before', 188 190 'default' => 'Lorem ipsum dolor sit amet, consectetur adipisicing elit', … … 214 216 'type' => Controls_Manager::TEXTAREA, 215 217 'placeholder' => esc_html__( 'Enter Description', 'sina-ext' ), 218 'description' => esc_html__( 'You can use HTML.', 'sina-ext' ), 216 219 'separator' => 'before', 217 220 'default' => 'Lorem ipsum dolor sit amet, consectetur adipisicing elit', … … 1066 1069 <?php if ( $data['title'] ): ?> 1067 1070 <?php $title_span = $data['title_span'] ? '<span>'.$data['title_span'].'</span>' : ''; ?> 1068 <?php printf('<%3$s class="sina-banner-title animated %1$s">%2$s%4$s</%3$s>', $data['title_anim'], $data['title'], sina_ext_html_tags( $data['title_tag'] ), $title_span); ?>1071 <?php printf('<%3$s class="sina-banner-title animated %1$s">%2$s%4$s</%3$s>', esc_attr($data['title_anim']), $data['title'], sina_ext_escape_tags( $data['title_tag'] ), $title_span); ?> 1069 1072 <?php endif; ?> 1070 1073 1071 1074 <?php if ( $data['subtitle'] ): ?> 1072 <?php printf('<%3$s class="sina-banner-subtitle animated %1$s">%2$s</%3$s>', $data['subtitle_anim'], $data['subtitle'], sina_ext_html_tags( $data['subtitle_tag'] )); ?>1075 <?php printf('<%3$s class="sina-banner-subtitle animated %1$s">%2$s</%3$s>', esc_attr($data['subtitle_anim']), $data['subtitle'], sina_ext_escape_tags( $data['subtitle_tag'] )); ?> 1073 1076 <?php endif; ?> 1074 1077 1075 1078 <?php if ( $data['desc'] ): ?> 1076 <?php printf('<div class="sina-banner-desc animated %1$s">%2$s</div>', $data['desc_anim'], $data['desc']); ?>1079 <?php printf('<div class="sina-banner-desc animated %1$s">%2$s</div>', esc_attr($data['desc_anim']), $data['desc']); ?> 1077 1080 <?php endif; ?> 1078 1081 … … 1133 1136 data-speed="<?php echo esc_attr( $data['anim_speed']); ?>" 1134 1137 data-dlink="<?php echo esc_attr( $data['link_state']); ?>" 1135 data-dmouse="<?php echo esc_attr( $data['mouse_state']); ?>"></div> 1138 data-dmouse="<?php echo esc_attr( $data['mouse_state']); ?>"> 1139 </div> 1136 1140 </div><!-- .sina-particle-layer --> 1137 1141 <?php -
sina-extension-for-elementor/trunk/widgets/advanced/sina-portfolio.php
r2658432 r3085825 904 904 data-layout="<?php echo esc_attr( $data['columns'] ); ?>"> 905 905 <div class="sina-portfolio-btns"> 906 <button class="sina-portfolio-btn sina-button is-checked <?php echo esc_attr( $data['btn_bg_layer_effects'] ); ?>" data-filter="*"><?php printf('%s', $data['reset_text']); ?></button> 906 <button class="sina-portfolio-btn sina-button is-checked <?php echo esc_attr( $data['btn_bg_layer_effects'] ); ?>" data-filter="*"> 907 <?php echo esc_html($data['reset_text']); ?> 908 </button> 907 909 <?php 908 910 $categories = sina_get_portfolio_cat( $data['portfolio'] ); … … 945 947 <?php if ( 'yes' == $data['show_content'] ): ?> 946 948 <?php if ($item['item_name']): ?> 947 <?php printf('<h3 %2$s>%1$s</h3>', $item['item_name'], $this->get_render_attribute_string( $title_key )); ?>949 <?php printf('<h3 %2$s>%1$s</h3>', esc_html($item['item_name']), $this->get_render_attribute_string( $title_key )); ?> 948 950 <?php endif; ?> 949 951 <?php if ($item['item_desc']): ?> 950 <?php printf('<div %2$s>%1$s</div>', $item['item_desc'], $this->get_render_attribute_string( $desc_key )); ?>952 <?php printf('<div %2$s>%1$s</div>', esc_html($item['item_desc']), $this->get_render_attribute_string( $desc_key )); ?> 951 953 <?php endif; ?> 952 954 <?php endif ?> -
sina-extension-for-elementor/trunk/widgets/advanced/sina-review-carousel.php
r3070747 r3085825 139 139 'type' => Controls_Manager::TEXT, 140 140 'placeholder' => esc_html__( 'Enter Name', 'sina-ext' ), 141 'description' => esc_html__( 'You can use HTML.', 'sina-ext' ), 141 142 'default' => 'Jhon Doe', 142 143 'dynamic' => [ … … 151 152 'type' => Controls_Manager::TEXT, 152 153 'placeholder' => esc_html__( 'Enter Position', 'sina-ext' ), 154 'description' => esc_html__( 'You can use HTML.', 'sina-ext' ), 153 155 'default' => 'CEO', 154 156 'dynamic' => [ … … 163 165 'type' => Controls_Manager::TEXT, 164 166 'placeholder' => esc_html__( 'Enter Organization', 'sina-ext' ), 167 'description' => esc_html__( 'You can use HTML.', 'sina-ext' ), 165 168 'default' => 'Google', 166 169 'dynamic' => [ … … 175 178 'type' => Controls_Manager::TEXTAREA, 176 179 'placeholder' => esc_html__( 'Enter Comment', 'sina-ext' ), 180 'description' => esc_html__( 'You can use HTML.', 'sina-ext' ), 177 181 'default' => 'Lorem ipsum dolor sit amet, consectetur adipisicing elit. At tempora cumque delectus nam obcaecati consectetur ad dolorum neque dolores nemo!', 178 182 'dynamic' => [ -
sina-extension-for-elementor/trunk/widgets/basic/sina-fancytext.php
r3076054 r3085825 151 151 ], 152 152 ], 153 'title_field' => '{{{ fancy_items }}}',153 'title_field' => '{{{ fancy_items.replace(/</g, " < " ).replace(/>/g, " > ").replace(/=/g, " = ").replace(/&/g, " & ") }}}', 154 154 ] 155 155 ); … … 465 465 $fancy_text .= $text['fancy_items'].'@@'; 466 466 } 467 $tags = [ 468 'h1', 469 'h2', 470 'h3', 471 'h4', 472 'h5', 473 'h6', 474 'p' 475 ]; 476 $anims = [ 477 'none', 478 'fadeIn', 479 'fadeInUp', 480 'fadeInDown', 481 'fadeInLeft', 482 'fadeInRight', 483 'zoomIn', 484 'zoomInLeft', 485 'zoomInRight', 486 'zoomInDown', 487 'zoomInUp', 488 'bounce', 489 'bounceIn', 490 'bounceInDown', 491 'bounceInLeft', 492 'bounceInRight', 493 'bounceInUp', 494 'slideInDown', 495 'slideInLeft', 496 'slideInRight', 497 'slideInUp', 498 'rotateIn', 499 'rotateInDownLeft', 500 'rotateInDownRight', 501 'rotateInUpLeft', 502 'rotateInUpRight', 503 'flipInX', 504 'flipInY', 505 'lightSpeedIn', 506 'flash', 507 'pulse', 508 'rubberBand', 509 'shake', 510 'headShake', 511 'swing', 512 'tada', 513 'wobble', 514 'jello', 515 'rollIn', 516 'typing' 517 ]; 518 $tag = in_array($data['tag'], $tags) ? $data['tag'] : 'h3'; 519 $anim = in_array($data['animation_type'], $anims) ? $data['animation_type'] : 'typing'; 467 520 468 ?> 521 469 <div class="sina-fancytext" 522 data-fancy-text="<?php echo esc_attr( $fancy_text ); ?>"523 data-anim="<?php echo esc_attr( $anim); ?>"470 data-fancy-text="<?php echo sina_ext_use_char( $fancy_text ); ?>" 471 data-anim="<?php echo sina_ext_escape_in_anims($data['animation_type'], 'typing', ['typing']); ?>" 524 472 data-speed="<?php echo esc_attr( $data['typing_speed'] ); ?>" 525 473 data-delay="<?php echo esc_attr( $data['delay'] ); ?>" 526 474 data-cursor="<?php echo esc_attr( $data['cursor'] ); ?>" 527 475 data-loop="<?php echo esc_attr( $data['loop'] ); ?>"> 528 <<?php echo esc_html($tag); ?>>476 <<?php echo sina_ext_escape_tags($data['tag'], 'h3'); ?>> 529 477 <?php 530 478 if ( $data['fancy_prefix'] ) : … … 536 484 endif; 537 485 538 if ( 'typing' == $ anim) :486 if ( 'typing' == $data['animation_type'] ) : 539 487 ?> 540 488 <span class="sina-fancytext-strings"> 541 <?php echo esc_html($data['fancy_text'][0]['fancy_items']); ?>489 <?php echo sina_ext_use_char($data['fancy_text'][0]['fancy_items']); ?> 542 490 </span> 543 491 <?php … … 545 493 ?> 546 494 <span class="sina-fancytext-strings"> 547 <?php echo esc_html(rtrim($fancy_text, '@@') ); ?>495 <?php echo sina_ext_use_char(rtrim($fancy_text, '@@') ); ?> 548 496 </span> 549 497 <?php … … 558 506 endif; 559 507 ?> 560 </<?php echo esc_html($tag); ?>>508 </<?php echo sina_ext_escape_tags($data['tag'], 'h3'); ?>> 561 509 </div><!-- .sina-fancytext --> 562 510 <?php … … 578 526 view.addRenderAttribute( 'fancy_suffix', 'class', 'sina-fancytext-suffix' ); 579 527 view.addInlineEditingAttributes( 'fancy_suffix' ); 528 fancyText = fancyText.replace(/</g, ' < ' ).replace(/>/g, ' > ').replace(/=/g, ' = ').replace(/&/g, ' & '); 580 529 #> 581 530 <div class="sina-fancytext" … … 594 543 <# if ( 'typing' == settings.animation_type ) { #> 595 544 <span class="sina-fancytext-strings"> 596 {{{settings.fancy_text[0]['fancy_items'] }}}545 {{{settings.fancy_text[0]['fancy_items'].replace(/</g, ' < ' ).replace(/>/g, ' > ').replace(/=/g, ' = ').replace(/&/g, ' & ')}}} 597 546 </span> 598 547 <# } else { #> -
sina-extension-for-elementor/trunk/widgets/basic/sina-piechart.php
r2658432 r3085825 461 461 <?php if ( 'bottom' == $data['title_position'] ): ?> 462 462 <span class="sina-piechart-percent"> 463 <?php printf( '%s',$data['prefix'].$data['value'].$data['suffix'] ); ?>463 <?php echo esc_html( $data['prefix'].$data['value'].$data['suffix'] ); ?> 464 464 </span> 465 465 <?php endif; ?> … … 469 469 <?php if ( 'top' == $data['title_position'] ): ?> 470 470 <span class="sina-piechart-percent"> 471 <?php printf( '%s',$data['prefix'].$data['value'].$data['suffix'] ); ?>471 <?php echo esc_html( $data['prefix'].$data['value'].$data['suffix'] ); ?> 472 472 </span> 473 473 <?php endif; ?> -
sina-extension-for-elementor/trunk/widgets/basic/sina-pricing.php
r3070747 r3085825 1669 1669 <?php if ( $data['ribbon_title'] && $data['ribbon_position'] ): ?> 1670 1670 <div class="<?php echo esc_attr( $data['ribbon_position'] ); ?>"> 1671 <?php printf( '%s',$data['ribbon_title'] ); ?>1671 <?php echo esc_html( $data['ribbon_title'] ); ?> 1672 1672 </div> 1673 1673 <?php endif; ?> … … 1690 1690 1691 1691 <?php if ($data['price_save_value']): ?> 1692 <div class="sina-pricing-save-value"><?php printf( '%s',$data['price_save_value'] ); ?></div>1692 <div class="sina-pricing-save-value"><?php echo esc_html( $data['price_save_value'] ); ?></div> 1693 1693 <?php endif; ?> 1694 1694 1695 1695 <?php if ( $data['price']): ?> 1696 1696 <h4 class="sina-price-tag"> 1697 <span class="sina-price-prefix"><?php printf( '%s', $data['price_prefix'] ); ?></span><span><?php printf( '%s', $data['price'] ); ?></span><span class="sina-price-suffix"><?php printf( '%s',$data['price_suffix'] ); ?></span>1697 <span class="sina-price-prefix"><?php echo esc_html( $data['price_prefix'] ); ?></span><span><?php echo esc_html( $data['price'] ); ?></span><span class="sina-price-suffix"><?php echo esc_html( $data['price_suffix'] ); ?></span> 1698 1698 </h4> 1699 1699 <?php endif; ?> … … 1711 1711 <i class="<?php echo esc_attr($item['icon']); ?> sina-icon-left"></i> 1712 1712 <?php endif; ?> 1713 <?php printf( '%s',$item['title'] ); ?>1713 <?php echo esc_html( $item['title'] ); ?> 1714 1714 <?php if ( $item['icon'] && 'right' == $data['icon_align'] ): ?> 1715 1715 <i class="<?php echo esc_attr($item['icon']); ?> sina-icon-right"></i> -
sina-extension-for-elementor/trunk/widgets/basic/sina-progressbar.php
r2892038 r3085825 550 550 <div class="sina-bar-content sina-flex" data-percentage="<?php echo esc_attr( $percent ); ?>"> 551 551 <span class="sina-bar-percent"> 552 <?php printf( '%s',$data['prefix'].$data['percentage'].$data['suffix'] ); ?>552 <?php echo esc_html( $data['prefix'].$data['percentage'].$data['suffix'] ); ?> 553 553 </span> 554 554 </div> -
sina-extension-for-elementor/trunk/widgets/basic/sina-table.php
r2999136 r3085825 1668 1668 <i class="<?php echo esc_attr($content['header_icon']); ?> sina-icon-left"></i> 1669 1669 <?php endif; ?> 1670 <?php printf( '%s',$content['header_text'] ); ?>1670 <?php echo esc_html( $content['header_text'] ); ?> 1671 1671 <?php if ( $content['header_icon'] && $content['header_icon_align'] == 'right' ): ?> 1672 1672 <i class="<?php echo esc_attr($content['header_icon']); ?> sina-icon-right"></i> … … 1682 1682 <tr class="elementor-repeater-item-<?php echo esc_attr( $key ); ?>"> 1683 1683 <?php foreach ($row as $content) : ?> 1684 <<?php printf( '%s', $content['type'] ); ?>1684 <<?php echo sina_ext_escape_tags( $content['type'], 'td', ['th', 'td'] ); ?> 1685 1685 rowspan="<?php echo esc_attr( $content['row_span'] ); ?>" 1686 1686 colspan="<?php echo esc_attr( $content['col_span'] ); ?>" … … 1694 1694 <i class="<?php echo esc_attr($content['icon']); ?> sina-icon-right"></i> 1695 1695 <?php endif; ?> 1696 </<?php printf( '%s', $content['type'] ); ?>>1696 </<?php echo sina_ext_escape_tags( $content['type'], 'td', ['th', 'td'] ); ?>> 1697 1697 <?php endforeach; ?> 1698 1698 </tr> -
sina-extension-for-elementor/trunk/widgets/basic/sina-team.php
r2892038 r3085825 175 175 'type' => Controls_Manager::TEXTAREA, 176 176 'placeholder' => esc_html__( 'Enter Description', 'sina-ext' ), 177 'description' => esc_html__( 'You can use HTML.', 'sina-ext' ), 177 178 'default' => 'Lorem ipsum dolor sit amet, consectetur adipisicing elit. Doloribus, autem amet. Labore eos cum at, et illo ducimus.', 178 179 'dynamic' => [ … … 1240 1241 <?php if ( $data['name'] ): ?> 1241 1242 <h5 class="sina-team-name"> 1242 <?php printf( '%s',$data['name'] ); ?>1243 <?php echo esc_html( $data['name'] ); ?> 1243 1244 </h5> 1244 1245 <?php endif; ?> … … 1246 1247 <?php if ( $data['position'] ): ?> 1247 1248 <h6 class="sina-team-position"> 1248 <?php printf( '%s',$data['position'] ); ?>1249 <?php echo esc_html( $data['position'] ); ?> 1249 1250 </h6> 1250 1251 <?php endif; ?> -
sina-extension-for-elementor/trunk/widgets/basic/sina-title.php
r2658432 r3085825 735 735 736 736 <?php if ( $data['title'] ): ?> 737 <?php printf( '<%1$s class="sina-title-title">%2$s%3$s</%1$s>', sina_ext_ html_tags( $data['title_tag'] ), $data['title'], $title_span ); ?>737 <?php printf( '<%1$s class="sina-title-title">%2$s%3$s</%1$s>', sina_ext_escape_tags( $data['title_tag'] ), $data['title'], $title_span ); ?> 738 738 <?php endif; ?> 739 739 … … 745 745 746 746 <?php if ( $data['subtitle'] ): ?> 747 <?php printf( '<%1$s class="sina-title-subtitle">%2$s</%1$s>', sina_ext_ html_tags( $data['subtitle_tag'] ), $data['subtitle'] ); ?>747 <?php printf( '<%1$s class="sina-title-subtitle">%2$s</%1$s>', sina_ext_escape_tags( $data['subtitle_tag'] ), $data['subtitle'] ); ?> 748 748 <?php endif; ?> 749 749 -
sina-extension-for-elementor/trunk/widgets/basic/sina-user-counter.php
r2658432 r3085825 356 356 <?php wp_nonce_field( 'sina_user_counter', 'sina_user_counter_nonce' ); ?> 357 357 <?php if ( $data['prefix'] ): ?> 358 <h3 <?php echo $this->get_render_attribute_string( 'prefix' ); ?>><?php printf( $data['prefix'] ); ?></h3>358 <h3 <?php echo $this->get_render_attribute_string( 'prefix' ); ?>><?php printf( '%s', $data['prefix'] ); ?></h3> 359 359 <?php endif; ?> 360 360 <span class="sina-uc-number"><?php printf( '%s', $count ); ?></span> 361 361 <?php if ( $data['suffix'] ): ?> 362 <h3 <?php echo $this->get_render_attribute_string( 'suffix' ); ?>><?php printf( $data['suffix'] ); ?></h3>362 <h3 <?php echo $this->get_render_attribute_string( 'suffix' ); ?>><?php printf( '%s', $data['suffix'] ); ?></h3> 363 363 <?php endif; ?> 364 364 </div><!-- .sina-user-counter --> -
sina-extension-for-elementor/trunk/widgets/basic/sina-visit-counter.php
r2658432 r3085825 376 376 <?php if ( $data['today'] && 'yes' == $data['position'] ): ?> 377 377 <div class="sina-today"> 378 <h3 <?php echo $this->get_render_attribute_string( 'today' ); ?>><?php printf( $data['today'] ); ?></h3>378 <h3 <?php echo $this->get_render_attribute_string( 'today' ); ?>><?php printf( '%s', $data['today'] ); ?></h3> 379 379 <?php if ( isset($visit_data['sina_visit_today']) ): ?> 380 380 <span class="sina-visit-number sina-visit-today"> … … 387 387 <?php if ( $data['yesterday'] ): ?> 388 388 <div class="sina-yesterday"> 389 <h3 <?php echo $this->get_render_attribute_string( 'yesterday' ); ?>><?php printf( $data['yesterday'] ); ?></h3>389 <h3 <?php echo $this->get_render_attribute_string( 'yesterday' ); ?>><?php printf( '%s', $data['yesterday'] ); ?></h3> 390 390 <?php if ( isset($visit_data['sina_visit_yesterday']) ): ?> 391 391 <span class="sina-visit-number sina-visit-yesterday"> … … 398 398 <?php if ( $data['today'] && '' == $data['position'] ): ?> 399 399 <div class="sina-today"> 400 <h3 <?php echo $this->get_render_attribute_string( 'today' ); ?>><?php printf( $data['today'] ); ?></h3>400 <h3 <?php echo $this->get_render_attribute_string( 'today' ); ?>><?php printf( '%s', $data['today'] ); ?></h3> 401 401 <?php if ( isset($visit_data['sina_visit_today']) ): ?> 402 402 <span class="sina-visit-number sina-visit-today">
Note: See TracChangeset
for help on using the changeset viewer.