Changeset 3327924
- Timestamp:
- 07/15/2025 06:03:58 AM (7 months ago)
- Location:
- spiraclethemes-site-library
- Files:
-
- 176 added
- 15 edited
-
tags/1.5.3 (added)
-
tags/1.5.3/Changelogs.txt (added)
-
tags/1.5.3/LICENSE (added)
-
tags/1.5.3/README.txt (added)
-
tags/1.5.3/admin (added)
-
tags/1.5.3/admin/admin-init.php (added)
-
tags/1.5.3/admin/assets (added)
-
tags/1.5.3/admin/assets/css (added)
-
tags/1.5.3/admin/assets/css/admin.css (added)
-
tags/1.5.3/admin/assets/css/toggle-switch.css (added)
-
tags/1.5.3/admin/assets/images (added)
-
tags/1.5.3/admin/assets/images/menu-icon.png (added)
-
tags/1.5.3/admin/assets/js (added)
-
tags/1.5.3/admin/assets/js/admin-plugin-settings.js (added)
-
tags/1.5.3/admin/assets/js/admin.js (added)
-
tags/1.5.3/admin/includes (added)
-
tags/1.5.3/admin/includes/system-info.php (added)
-
tags/1.5.3/admin/includes/system-settings.php (added)
-
tags/1.5.3/css (added)
-
tags/1.5.3/css/main.css (added)
-
tags/1.5.3/elements (added)
-
tags/1.5.3/elements/blogson (added)
-
tags/1.5.3/elements/blogson/helper-functions.php (added)
-
tags/1.5.3/elements/blogson/post-grid (added)
-
tags/1.5.3/elements/blogson/post-grid/template (added)
-
tags/1.5.3/elements/blogson/post-grid/template/config.php (added)
-
tags/1.5.3/elements/blogson/post-grid/template/view.php (added)
-
tags/1.5.3/elements/blogson/widget-category.php (added)
-
tags/1.5.3/elements/blogson/widgets.php (added)
-
tags/1.5.3/elements/own-shop (added)
-
tags/1.5.3/elements/own-shop/featured-prod (added)
-
tags/1.5.3/elements/own-shop/featured-prod/template (added)
-
tags/1.5.3/elements/own-shop/featured-prod/template/config.php (added)
-
tags/1.5.3/elements/own-shop/featured-prod/template/view.php (added)
-
tags/1.5.3/elements/own-shop/helper-functions.php (added)
-
tags/1.5.3/elements/own-shop/list-prod (added)
-
tags/1.5.3/elements/own-shop/list-prod/template (added)
-
tags/1.5.3/elements/own-shop/list-prod/template/config.php (added)
-
tags/1.5.3/elements/own-shop/list-prod/template/view.php (added)
-
tags/1.5.3/elements/own-shop/new-prod (added)
-
tags/1.5.3/elements/own-shop/new-prod/template (added)
-
tags/1.5.3/elements/own-shop/new-prod/template/config.php (added)
-
tags/1.5.3/elements/own-shop/new-prod/template/view.php (added)
-
tags/1.5.3/elements/own-shop/popular-prod (added)
-
tags/1.5.3/elements/own-shop/popular-prod/template (added)
-
tags/1.5.3/elements/own-shop/popular-prod/template/config.php (added)
-
tags/1.5.3/elements/own-shop/popular-prod/template/view.php (added)
-
tags/1.5.3/elements/own-shop/recent-blog (added)
-
tags/1.5.3/elements/own-shop/recent-blog/template (added)
-
tags/1.5.3/elements/own-shop/recent-blog/template/config.php (added)
-
tags/1.5.3/elements/own-shop/recent-blog/template/view.php (added)
-
tags/1.5.3/elements/own-shop/widget-category.php (added)
-
tags/1.5.3/elements/own-shop/widgets.php (added)
-
tags/1.5.3/img (added)
-
tags/1.5.3/img/moredemo.jpg (added)
-
tags/1.5.3/img/no-image.jpg (added)
-
tags/1.5.3/img/rocket.svg (added)
-
tags/1.5.3/inc (added)
-
tags/1.5.3/inc/blogson-functions.php (added)
-
tags/1.5.3/inc/colon-functions.php (added)
-
tags/1.5.3/inc/colon-plus-functions.php (added)
-
tags/1.5.3/inc/crater-free-functions.php (added)
-
tags/1.5.3/inc/krystal-business-functions.php (added)
-
tags/1.5.3/inc/krystal-functions.php (added)
-
tags/1.5.3/inc/krystal-lawyer-functions.php (added)
-
tags/1.5.3/inc/krystal-shop-functions.php (added)
-
tags/1.5.3/inc/lawfiz-functions.php (added)
-
tags/1.5.3/inc/lawfiz-one-functions.php (added)
-
tags/1.5.3/inc/legalblow-functions.php (added)
-
tags/1.5.3/inc/mestore-functions.php (added)
-
tags/1.5.3/inc/own-shop-functions.php (added)
-
tags/1.5.3/inc/own-shop-lite-functions.php (added)
-
tags/1.5.3/inc/own-shop-trend-functions.php (added)
-
tags/1.5.3/inc/own-shope-functions.php (added)
-
tags/1.5.3/inc/own-store-functions.php (added)
-
tags/1.5.3/inc/purea-fashion-functions.php (added)
-
tags/1.5.3/inc/purea-magazine-functions.php (added)
-
tags/1.5.3/inc/somalite-functions.php (added)
-
tags/1.5.3/inc/themes.php (added)
-
tags/1.5.3/inc/widget (added)
-
tags/1.5.3/inc/widget/widget.php (added)
-
tags/1.5.3/index.php (added)
-
tags/1.5.3/spiraclethemes-site-library.php (added)
-
tags/1.5.3/vendor (added)
-
tags/1.5.3/vendor/admin-notices (added)
-
tags/1.5.3/vendor/admin-notices/AdminNotice.php (added)
-
tags/1.5.3/vendor/admin-notices/LICENSE.txt (added)
-
tags/1.5.3/vendor/admin-notices/README.md (added)
-
tags/1.5.3/vendor/admin-notices/bin (added)
-
tags/1.5.3/vendor/admin-notices/bin/install-wp-tests.sh (added)
-
tags/1.5.3/vendor/admin-notices/dismiss-notice.js (added)
-
tags/1.5.3/vendor/ocdi (added)
-
tags/1.5.3/vendor/ocdi/assets (added)
-
tags/1.5.3/vendor/ocdi/assets/css (added)
-
tags/1.5.3/vendor/ocdi/assets/css/main.css (added)
-
tags/1.5.3/vendor/ocdi/assets/css/main.min.css (added)
-
tags/1.5.3/vendor/ocdi/assets/demo-content (added)
-
tags/1.5.3/vendor/ocdi/assets/demo-content/about-page.xml (added)
-
tags/1.5.3/vendor/ocdi/assets/demo-content/book-now-page.xml (added)
-
tags/1.5.3/vendor/ocdi/assets/demo-content/contact-page.xml (added)
-
tags/1.5.3/vendor/ocdi/assets/demo-content/faq-page.xml (added)
-
tags/1.5.3/vendor/ocdi/assets/demo-content/meet-the-team-page.xml (added)
-
tags/1.5.3/vendor/ocdi/assets/demo-content/menu-page.xml (added)
-
tags/1.5.3/vendor/ocdi/assets/demo-content/portfolio-page.xml (added)
-
tags/1.5.3/vendor/ocdi/assets/demo-content/services-page.xml (added)
-
tags/1.5.3/vendor/ocdi/assets/demo-content/shop-page.xml (added)
-
tags/1.5.3/vendor/ocdi/assets/demo-content/testimonials-page.xml (added)
-
tags/1.5.3/vendor/ocdi/assets/images (added)
-
tags/1.5.3/vendor/ocdi/assets/images/error.svg (added)
-
tags/1.5.3/vendor/ocdi/assets/images/icons (added)
-
tags/1.5.3/vendor/ocdi/assets/images/icons/brush.svg (added)
-
tags/1.5.3/vendor/ocdi/assets/images/icons/check-solid-white.svg (added)
-
tags/1.5.3/vendor/ocdi/assets/images/icons/content.svg (added)
-
tags/1.5.3/vendor/ocdi/assets/images/icons/copy.svg (added)
-
tags/1.5.3/vendor/ocdi/assets/images/icons/info-circle.svg (added)
-
tags/1.5.3/vendor/ocdi/assets/images/icons/layout.svg (added)
-
tags/1.5.3/vendor/ocdi/assets/images/icons/lock.svg (added)
-
tags/1.5.3/vendor/ocdi/assets/images/icons/long-arrow-alt-left-blue.svg (added)
-
tags/1.5.3/vendor/ocdi/assets/images/icons/plugins.svg (added)
-
tags/1.5.3/vendor/ocdi/assets/images/icons/question-circle.svg (added)
-
tags/1.5.3/vendor/ocdi/assets/images/icons/redux.svg (added)
-
tags/1.5.3/vendor/ocdi/assets/images/icons/star.svg (added)
-
tags/1.5.3/vendor/ocdi/assets/images/icons/widgets.svg (added)
-
tags/1.5.3/vendor/ocdi/assets/images/importing.svg (added)
-
tags/1.5.3/vendor/ocdi/assets/images/loader.svg (added)
-
tags/1.5.3/vendor/ocdi/assets/images/success.svg (added)
-
tags/1.5.3/vendor/ocdi/assets/images/warning.svg (added)
-
tags/1.5.3/vendor/ocdi/assets/js (added)
-
tags/1.5.3/vendor/ocdi/assets/js/main.js (added)
-
tags/1.5.3/vendor/ocdi/assets/js/main.min.js (added)
-
tags/1.5.3/vendor/ocdi/inc (added)
-
tags/1.5.3/vendor/ocdi/inc/CreateDemoContent (added)
-
tags/1.5.3/vendor/ocdi/inc/CreateDemoContent/DemoContentCreator.php (added)
-
tags/1.5.3/vendor/ocdi/inc/CustomizerImporter.php (added)
-
tags/1.5.3/vendor/ocdi/inc/CustomizerOption.php (added)
-
tags/1.5.3/vendor/ocdi/inc/Downloader.php (added)
-
tags/1.5.3/vendor/ocdi/inc/Helpers.php (added)
-
tags/1.5.3/vendor/ocdi/inc/ImportActions.php (added)
-
tags/1.5.3/vendor/ocdi/inc/Importer.php (added)
-
tags/1.5.3/vendor/ocdi/inc/Logger.php (added)
-
tags/1.5.3/vendor/ocdi/inc/OneClickDemoImport.php (added)
-
tags/1.5.3/vendor/ocdi/inc/PluginInstaller.php (added)
-
tags/1.5.3/vendor/ocdi/inc/PluginInstallerSkin.php (added)
-
tags/1.5.3/vendor/ocdi/inc/PluginInstallerSkinSilent.php (added)
-
tags/1.5.3/vendor/ocdi/inc/ReduxImporter.php (added)
-
tags/1.5.3/vendor/ocdi/inc/ViewHelpers.php (added)
-
tags/1.5.3/vendor/ocdi/inc/WPCLICommands.php (added)
-
tags/1.5.3/vendor/ocdi/inc/WXRImporter.php (added)
-
tags/1.5.3/vendor/ocdi/inc/WidgetImporter.php (added)
-
tags/1.5.3/vendor/ocdi/one-click-demo-import.php (added)
-
tags/1.5.3/vendor/ocdi/vendor (added)
-
tags/1.5.3/vendor/ocdi/vendor/autoload.php (added)
-
tags/1.5.3/vendor/ocdi/vendor/awesomemotive (added)
-
tags/1.5.3/vendor/ocdi/vendor/awesomemotive/wp-content-importer-v2 (added)
-
tags/1.5.3/vendor/ocdi/vendor/awesomemotive/wp-content-importer-v2/README.md (added)
-
tags/1.5.3/vendor/ocdi/vendor/awesomemotive/wp-content-importer-v2/composer.json (added)
-
tags/1.5.3/vendor/ocdi/vendor/awesomemotive/wp-content-importer-v2/src (added)
-
tags/1.5.3/vendor/ocdi/vendor/awesomemotive/wp-content-importer-v2/src/Importer.php (added)
-
tags/1.5.3/vendor/ocdi/vendor/awesomemotive/wp-content-importer-v2/src/WPImporterLogger.php (added)
-
tags/1.5.3/vendor/ocdi/vendor/awesomemotive/wp-content-importer-v2/src/WPImporterLoggerCLI.php (added)
-
tags/1.5.3/vendor/ocdi/vendor/awesomemotive/wp-content-importer-v2/src/WXRImportInfo.php (added)
-
tags/1.5.3/vendor/ocdi/vendor/awesomemotive/wp-content-importer-v2/src/WXRImporter.php (added)
-
tags/1.5.3/vendor/ocdi/vendor/composer (added)
-
tags/1.5.3/vendor/ocdi/vendor/composer/ClassLoader.php (added)
-
tags/1.5.3/vendor/ocdi/vendor/composer/LICENSE (added)
-
tags/1.5.3/vendor/ocdi/vendor/composer/autoload_classmap.php (added)
-
tags/1.5.3/vendor/ocdi/vendor/composer/autoload_namespaces.php (added)
-
tags/1.5.3/vendor/ocdi/vendor/composer/autoload_psr4.php (added)
-
tags/1.5.3/vendor/ocdi/vendor/composer/autoload_real.php (added)
-
tags/1.5.3/vendor/ocdi/vendor/composer/autoload_static.php (added)
-
tags/1.5.3/vendor/ocdi/vendor/composer/installed.json (added)
-
tags/1.5.3/vendor/ocdi/views (added)
-
tags/1.5.3/vendor/ocdi/views/create-content.php (added)
-
tags/1.5.3/vendor/ocdi/views/import.php (added)
-
tags/1.5.3/vendor/ocdi/views/install-plugins.php (added)
-
tags/1.5.3/vendor/ocdi/views/plugin-page.php (added)
-
trunk/Changelogs.txt (modified) (1 diff)
-
trunk/README.txt (modified) (1 diff)
-
trunk/admin/admin-init.php (modified) (3 diffs)
-
trunk/elements/blogson/post-grid/template/view.php (modified) (2 diffs)
-
trunk/elements/own-shop/list-prod/template/view.php (modified) (1 diff)
-
trunk/elements/own-shop/recent-blog/template/view.php (modified) (1 diff)
-
trunk/inc/blogson-functions.php (modified) (1 diff)
-
trunk/inc/own-shop-functions.php (modified) (5 diffs)
-
trunk/inc/own-shop-lite-functions.php (modified) (5 diffs)
-
trunk/inc/own-shope-functions.php (modified) (5 diffs)
-
trunk/inc/own-store-functions.php (modified) (5 diffs)
-
trunk/inc/widget/widget.php (modified) (3 diffs)
-
trunk/spiraclethemes-site-library.php (modified) (2 diffs)
-
trunk/vendor/ocdi/inc/OneClickDemoImport.php (modified) (1 diff)
-
trunk/vendor/ocdi/views/import.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
spiraclethemes-site-library/trunk/Changelogs.txt
r3325444 r3327924 1 1 2 2 == Changelog == 3 4 == 1.5.4 == 5 - Fixed security updates 3 6 4 7 == 1.5.3 == -
spiraclethemes-site-library/trunk/README.txt
r3325444 r3327924 3 3 Contributors: spiraclethemes 4 4 Tags: spiraclethemes, demo, import, themes 5 Stable tag: 1.5. 35 Stable tag: 1.5.4 6 6 Requires at least: 5.0 7 7 Requires PHP: 5.6 -
spiraclethemes-site-library/trunk/admin/admin-init.php
r3299691 r3327924 165 165 $exists = $wpdb->get_var( 166 166 $wpdb->prepare( 167 'SELECT COUNT(*) FROM %i WHERE option_name = %s',168 [$wpdb->options, $option_name]167 "SELECT COUNT(*) FROM {$wpdb->options} WHERE option_name = %s", 168 $option_name 169 169 ) 170 170 ); … … 292 292 <?php 293 293 // Assume ssl_get_sysinfo() is properly sanitized 294 echo wp_kses_post(nl2br(spiraclethemes_site_library_get_sysinfo()));294 echo nl2br(wp_kses_post(spiraclethemes_site_library_get_sysinfo())); 295 295 ?> 296 296 </div> … … 303 303 <?php 304 304 // Assume ssl_get_syssettings() is properly sanitized 305 echo spiraclethemes_site_library_get_syssettings();305 echo wp_kses_post(spiraclethemes_site_library_get_syssettings()); 306 306 ?> 307 307 <p class="submit"> -
spiraclethemes-site-library/trunk/elements/blogson/post-grid/template/view.php
r3325444 r3327924 3 3 $id = $this->get_id(); 4 4 5 $section_title = sanitize_text_field($settings['section_title'] ?? '');5 $section_title = esc_attr($settings['section_title'] ?? ''); 6 6 $section_title_size = sanitize_text_field($settings['section_title_size'] ?? 'h2'); 7 7 $post_count = absint($settings['post_count'] ?? 4); … … 12 12 $post_thumbsize = sanitize_text_field($settings['post_thumbsize'] ?? 'post-thumbnail'); 13 13 $post_excerpt_count = absint($settings['post_excerpt_count'] ?? 15); 14 $post_display_author_pre_text = sanitize_text_field($settings['post_display_author_pre_text'] ?? 'By');15 $post_readmore_text = sanitize_text_field($settings['post_readmore_text'] ?? 'Read More');14 $post_display_author_pre_text = esc_attr($settings['post_display_author_pre_text'] ?? 'By'); 15 $post_readmore_text = esc_attr($settings['post_readmore_text'] ?? 'Read More'); 16 16 $post_trim_title_count = absint($settings['post_trim_title_count'] ?? 7); 17 17 $post_text_position = sanitize_text_field($settings['post_text_position'] ?? 'bottomcenter'); -
spiraclethemes-site-library/trunk/elements/own-shop/list-prod/template/view.php
r3325444 r3327924 11 11 12 12 if (is_array($prod_options_raw)) { 13 $prod_options = implode(',', array_map(' sanitize_text_field', $prod_options_raw));13 $prod_options = implode(',', array_map('esc_attr', $prod_options_raw)); 14 14 } else { 15 $prod_options = sanitize_text_field($prod_options_raw);15 $prod_options = esc_attr($prod_options_raw); 16 16 } 17 17 -
spiraclethemes-site-library/trunk/elements/own-shop/recent-blog/template/view.php
r3325444 r3327924 10 10 $post_display_readmore = (($settings['post_display_readmore'] ?? 'true') === 'true' || ($settings['post_display_readmore'] ?? 'true') === '1') ? 'true' : 'false'; 11 11 12 $post_read_more = sanitize_text_field($settings['post_read_more'] ?? 'READ MORE');12 $post_read_more = esc_attr($settings['post_read_more'] ?? 'READ MORE'); 13 13 14 14 $post_cat_slug = $settings['post_cat_slug'] ?? ''; -
spiraclethemes-site-library/trunk/inc/blogson-functions.php
r3325444 r3327924 293 293 $output .= '<div class="post-image"><img src="' . esc_url($img) . '" alt=""></div>'; 294 294 } else { 295 $output .= '<div class="post-grid-area-content" style="background-image:url( ' . esc_url($img) .');">';295 $output .= '<div class="post-grid-area-content" style="background-image:url(\'' . esc_url($img) . '\');">'; 296 296 $output .= '<div class="content-wrapper">'; 297 297 } -
spiraclethemes-site-library/trunk/inc/own-shop-functions.php
r3325444 r3327924 152 152 ?><li><?php 153 153 endif; 154 ?><a href="#tab_default_<?php echo $tabcount; ?>" data-toggle="tab"><?php esc_html_e('All','spiraclethemes-site-library'); ?></a></li><?php154 ?><a href="#tab_default_<?php echo esc_attr( $tabcount ); ?>" data-toggle="tab"><?php esc_html_e('All','spiraclethemes-site-library'); ?></a></li><?php 155 155 endif; 156 156 if (in_array("featured", $arr)) : … … 161 161 ?><li><?php 162 162 endif; 163 ?><a href="#tab_default_<?php echo $tabcount; ?>" data-toggle="tab"><?php esc_html_e('Featured','spiraclethemes-site-library'); ?></a></li><?php163 ?><a href="#tab_default_<?php echo esc_attr( $tabcount ); ?>" data-toggle="tab"><?php esc_html_e('Featured','spiraclethemes-site-library'); ?></a></li><?php 164 164 endif; 165 165 if (in_array("new", $arr)) : … … 170 170 ?><li><?php 171 171 endif; 172 ?><a href="#tab_default_<?php echo $tabcount; ?>" data-toggle="tab"><?php esc_html_e('New','spiraclethemes-site-library'); ?></a></li><?php172 ?><a href="#tab_default_<?php echo esc_attr( $tabcount ); ?>" data-toggle="tab"><?php esc_html_e('New','spiraclethemes-site-library'); ?></a></li><?php 173 173 endif; 174 174 if (in_array("popular", $arr)) : … … 179 179 ?><li><?php 180 180 endif; 181 ?><a href="#tab_default_<?php echo $tabcount; ?>" data-toggle="tab"><?php esc_html_e('Popular','spiraclethemes-site-library'); ?></a></li><?php181 ?><a href="#tab_default_<?php echo esc_attr( $tabcount ); ?>" data-toggle="tab"><?php esc_html_e('Popular','spiraclethemes-site-library'); ?></a></li><?php 182 182 endif; 183 183 ?> … … 416 416 <?php 417 417 if ( is_sticky() && is_home() ) : 418 echo "<i class='la la-thumbtack'></i>";418 echo wp_kses_post( "<i class='la la-thumbtack'></i>" ); 419 419 endif; 420 420 ?> -
spiraclethemes-site-library/trunk/inc/own-shop-lite-functions.php
r3325444 r3327924 148 148 ?><li><?php 149 149 endif; 150 ?><a href="#tab_default_<?php echo $tabcount; ?>" data-toggle="tab"><?php esc_html_e('All','spiraclethemes-site-library'); ?></a></li><?php150 ?><a href="#tab_default_<?php echo esc_attr( $tabcount ); ?>" data-toggle="tab"><?php esc_html_e('All','spiraclethemes-site-library'); ?></a></li><?php 151 151 endif; 152 152 if (in_array("featured", $arr)) : … … 157 157 ?><li><?php 158 158 endif; 159 ?><a href="#tab_default_<?php echo $tabcount; ?>" data-toggle="tab"><?php esc_html_e('Featured','spiraclethemes-site-library'); ?></a></li><?php159 ?><a href="#tab_default_<?php echo esc_attr( $tabcount ); ?>" data-toggle="tab"><?php esc_html_e('Featured','spiraclethemes-site-library'); ?></a></li><?php 160 160 endif; 161 161 if (in_array("new", $arr)) : … … 166 166 ?><li><?php 167 167 endif; 168 ?><a href="#tab_default_<?php echo $tabcount; ?>" data-toggle="tab"><?php esc_html_e('New','spiraclethemes-site-library'); ?></a></li><?php168 ?><a href="#tab_default_<?php echo esc_attr( $tabcount ); ?>" data-toggle="tab"><?php esc_html_e('New','spiraclethemes-site-library'); ?></a></li><?php 169 169 endif; 170 170 if (in_array("popular", $arr)) : … … 175 175 ?><li><?php 176 176 endif; 177 ?><a href="#tab_default_<?php echo $tabcount; ?>" data-toggle="tab"><?php esc_html_e('Popular','spiraclethemes-site-library'); ?></a></li><?php177 ?><a href="#tab_default_<?php echo esc_attr( $tabcount ); ?>" data-toggle="tab"><?php esc_html_e('Popular','spiraclethemes-site-library'); ?></a></li><?php 178 178 endif; 179 179 ?> … … 412 412 <?php 413 413 if ( is_sticky() && is_home() ) : 414 echo "<i class='la la-thumbtack'></i>";414 echo wp_kses_post( "<i class='la la-thumbtack'></i>" ); 415 415 endif; 416 416 ?> -
spiraclethemes-site-library/trunk/inc/own-shope-functions.php
r3325444 r3327924 148 148 ?><li><?php 149 149 endif; 150 ?><a href="#tab_default_<?php echo $tabcount; ?>" data-toggle="tab"><?php esc_html_e('All','spiraclethemes-site-library'); ?></a></li><?php150 ?><a href="#tab_default_<?php echo esc_attr( $tabcount ); ?>" data-toggle="tab"><?php esc_html_e('All','spiraclethemes-site-library'); ?></a></li><?php 151 151 endif; 152 152 if (in_array("featured", $arr)) : … … 157 157 ?><li><?php 158 158 endif; 159 ?><a href="#tab_default_<?php echo $tabcount; ?>" data-toggle="tab"><?php esc_html_e('Featured','spiraclethemes-site-library'); ?></a></li><?php159 ?><a href="#tab_default_<?php echo esc_attr( $tabcount ); ?>" data-toggle="tab"><?php esc_html_e('Featured','spiraclethemes-site-library'); ?></a></li><?php 160 160 endif; 161 161 if (in_array("new", $arr)) : … … 166 166 ?><li><?php 167 167 endif; 168 ?><a href="#tab_default_<?php echo $tabcount; ?>" data-toggle="tab"><?php esc_html_e('New','spiraclethemes-site-library'); ?></a></li><?php168 ?><a href="#tab_default_<?php echo esc_attr( $tabcount ); ?>" data-toggle="tab"><?php esc_html_e('New','spiraclethemes-site-library'); ?></a></li><?php 169 169 endif; 170 170 if (in_array("popular", $arr)) : … … 175 175 ?><li><?php 176 176 endif; 177 ?><a href="#tab_default_<?php echo $tabcount; ?>" data-toggle="tab"><?php esc_html_e('Popular','spiraclethemes-site-library'); ?></a></li><?php177 ?><a href="#tab_default_<?php echo esc_attr( $tabcount ); ?>" data-toggle="tab"><?php esc_html_e('Popular','spiraclethemes-site-library'); ?></a></li><?php 178 178 endif; 179 179 ?> … … 412 412 <?php 413 413 if ( is_sticky() && is_home() ) : 414 echo "<i class='la la-thumbtack'></i>";414 echo wp_kses_post( "<i class='la la-thumbtack'></i>" ); 415 415 endif; 416 416 ?> -
spiraclethemes-site-library/trunk/inc/own-store-functions.php
r3325444 r3327924 148 148 ?><li><?php 149 149 endif; 150 ?><a href="#tab_default_<?php echo $tabcount; ?>" data-toggle="tab"><?php esc_html_e('All','spiraclethemes-site-library'); ?></a></li><?php150 ?><a href="#tab_default_<?php echo esc_attr( $tabcount ); ?>" data-toggle="tab"><?php esc_html_e('All','spiraclethemes-site-library'); ?></a></li><?php 151 151 endif; 152 152 if (in_array("featured", $arr)) : … … 157 157 ?><li><?php 158 158 endif; 159 ?><a href="#tab_default_<?php echo $tabcount; ?>" data-toggle="tab"><?php esc_html_e('Featured','spiraclethemes-site-library'); ?></a></li><?php159 ?><a href="#tab_default_<?php echo esc_attr( $tabcount ); ?>" data-toggle="tab"><?php esc_html_e('Featured','spiraclethemes-site-library'); ?></a></li><?php 160 160 endif; 161 161 if (in_array("new", $arr)) : … … 166 166 ?><li><?php 167 167 endif; 168 ?><a href="#tab_default_<?php echo $tabcount; ?>" data-toggle="tab"><?php esc_html_e('New','spiraclethemes-site-library'); ?></a></li><?php168 ?><a href="#tab_default_<?php echo esc_attr( $tabcount ); ?>" data-toggle="tab"><?php esc_html_e('New','spiraclethemes-site-library'); ?></a></li><?php 169 169 endif; 170 170 if (in_array("popular", $arr)) : … … 175 175 ?><li><?php 176 176 endif; 177 ?><a href="#tab_default_<?php echo $tabcount; ?>" data-toggle="tab"><?php esc_html_e('Popular','spiraclethemes-site-library'); ?></a></li><?php177 ?><a href="#tab_default_<?php echo esc_attr( $tabcount ); ?>" data-toggle="tab"><?php esc_html_e('Popular','spiraclethemes-site-library'); ?></a></li><?php 178 178 endif; 179 179 ?> … … 412 412 <?php 413 413 if ( is_sticky() && is_home() ) : 414 echo "<i class='la la-thumbtack'></i>";414 echo wp_kses_post( "<i class='la la-thumbtack'></i>" ); 415 415 endif; 416 416 ?> -
spiraclethemes-site-library/trunk/inc/widget/widget.php
r3299691 r3327924 127 127 echo '<h3><span><img src="' . esc_url($rocket_img) . '" /> </span><b>' . __( 'Design, Build or Revamp existing WordPress website starting from $999', 'spiraclethemes-site-library' ) . '</b></h3>'; 128 128 129 echo '<ul style="list-style: disc; padding-left: 20px;">'; 129 wp_add_inline_style( 'spiraclethemes-site-library-main', 'ul { list-style: disc; padding-left: 20px; }' ); 130 echo '<ul>'; 130 131 echo '<li><b>Stunning Custom Design</b> – Make a lasting impression with a beautiful, modern website or redesign.</li>'; 131 132 echo '<li><b>Tailor-Made Features</b> – We build exactly what your business needs – no fluff, just functionality.</li>'; … … 142 143 143 144 echo sprintf( 144 '<p style="text-align: left; margin-bottom:20px; margin-top:20px;"> 145 <a href="https://spiraclethemes.com/hire-us/" target="_blank" style="background-color:#35a62e; color:#fff; border-radius:4px; padding:10px 15px; text-decoration:none; display:inline-block;box-shadow: 3px 3px #bcedbe;"> 146 %s 147 </a> 148 </p>', 145 '<p><a href="https://spiraclethemes.com/hire-us/" target="_blank" class="button button-primary">%s</a></p>', 149 146 __('Get Started Today for Just $999 (Limited Time Offer)!', 'spiraclethemes-site-library') 150 147 ); … … 219 216 220 217 // Display footer links 221 echo '<div style="margin-top: 10px; border-top: 1px solid #e5e5e5; padding-top: 10px;">';218 echo '<div>'; 222 219 printf( 223 '<a href="%1$s" target="_blank" style="text-decoration:none;color:#93003f;font-weight: 600;">' . __( 'Help Us to Translate %2$s', 'spiraclethemes-site-library' ) . ' <span class="dashicons dashicons-external" style="text-decoration: none;font-size: 16px;color: #6c6969;"></span></a> | ',220 '<a href="%1$s" target="_blank">' . __( 'Help Us to Translate %2$s', 'spiraclethemes-site-library' ) . ' <span class="dashicons dashicons-external"></span></a> | ', 224 221 esc_url( 'https://translate.wordpress.org/projects/wp-themes/' . WP_THEME_SLUG . '/' ), 225 222 esc_html( WP_THEME ) 226 223 ); 227 224 printf( 228 '<a href="%1$s" target="_blank" style="text-decoration:none;color: #93003f;font-weight: 600;">' . __( 'Write a Review', 'spiraclethemes-site-library' ) . '<span class="dashicons dashicons-external" style="text-decoration: none;font-size: 16px;color: #6c6969;"></span></a>',225 '<a href="%1$s" target="_blank">' . __( 'Write a Review', 'spiraclethemes-site-library' ) . '<span class="dashicons dashicons-external"></span></a>', 229 226 esc_url( 'https://wordpress.org/support/theme/' . WP_THEME_SLUG . '/reviews/#new-post' ) 230 227 ); -
spiraclethemes-site-library/trunk/spiraclethemes-site-library.php
r3325444 r3327924 4 4 * Plugin URI: https://wordpress.org/plugins/spiraclethemes-site-library/ 5 5 * Description: A plugin by Spiracle Themes that adds one-click demo import, theme customization, starter templates, and page builder support to its free themes. 6 * Version: 1.5. 36 * Version: 1.5.4 7 7 * Author: SpiracleThemes 8 8 * Author URI: https://spiraclethemes.com … … 275 275 private function spiraclethemes_site_library_handle_ignore_notice( $param, $meta_key ) { 276 276 if ( current_user_can( 'manage_options' ) && isset( $_GET[ $param ] ) && isset( $_GET['_wpnonce'] ) ) { 277 if ( wp_verify_nonce( $_GET['_wpnonce'], $param . '_nonce' ) ) {277 if ( wp_verify_nonce( sanitize_text_field($_GET['_wpnonce']), $param . '_nonce' ) ) { 278 278 $user_id = get_current_user_id(); 279 279 add_user_meta( $user_id, sanitize_key( $meta_key ), true, true ); -
spiraclethemes-site-library/trunk/vendor/ocdi/inc/OneClickDemoImport.php
r2845589 r3327924 220 220 'ajax_url' => admin_url( 'admin-ajax.php' ), 221 221 'ajax_nonce' => wp_create_nonce( 'ocdi-ajax-verification' ), 222 'import_files' => $this->import_files,222 'import_files' => array_map( 'sanitize_text_field', $this->import_files ), 223 223 'wp_customize_on' => Helpers::apply_filters( 'ocdi/enable_wp_customize_save_hooks', false ), 224 'theme_screenshot' => $theme->get_screenshot(),225 'missing_plugins' => $this->plugin_installer->get_missing_plugins(),226 'plugin_url' => OCDI_URL,224 'theme_screenshot' => esc_url_raw( $theme->get_screenshot() ), 225 'missing_plugins' => array_map( 'sanitize_text_field', $this->plugin_installer->get_missing_plugins() ), 226 'plugin_url' => esc_url_raw( OCDI_URL ), 227 227 'import_url' => $this->get_plugin_settings_url( [ 'step' => 'import' ] ), 228 228 'texts' => array( -
spiraclethemes-site-library/trunk/vendor/ocdi/views/import.php
r3325444 r3327924 35 35 <?php if ( ! empty( $this->import_files[ $import_index ]['import_notice'] ) ) : ?> 36 36 <div class="notice notice-info"> 37 <p><?php echo wp_kses_post( $this->import_files[ $ _GET['import']]['import_notice'] ); ?></p>37 <p><?php echo wp_kses_post( $this->import_files[ $import_index ]['import_notice'] ); ?></p> 38 38 </div> 39 39 <?php endif; ?>
Note: See TracChangeset
for help on using the changeset viewer.