Make WordPress Themes

Changeset 357035


Ignore:
Timestamp:
11/04/2026 03:51:07 AM (5 days ago)
Author:
themedropbox
Message:

New version of Blogus - 3.2.1

Location:
blogus/3.2.1
Files:
10 edited
1 copied

Legend:

Unmodified
Added
Removed
  • blogus/3.2.1/inc/ansar/breadcrumb-trail/breadcrumbs.php

    r276933 r357035  
    738738        // Add the author's display name to the trail end.
    739739        if ( is_paged() )
    740             $this->items[] = sprintf( '<a href="%s">%s</a>', esc_url( get_author_posts_url( $user_id ) ), get_the_author_meta( 'display_name', $user_id ) );
     740            $this->items[] = sprintf( '<a href="%s">%s</a>', esc_url( get_author_posts_url( $user_id ) ), esc_html( get_the_author_meta( 'display_name', $user_id ) ) );
    741741
    742742        elseif ( true === $this->args['show_title'] )
    743             $this->items[] = get_the_author_meta( 'display_name', $user_id );
     743            $this->items[] = esc_html( get_the_author_meta( 'display_name', $user_id ) );
    744744    }
    745745
    … …  
    11821182
    11831183            // Add the formatted term link to the array of parent terms.
    1184             $parents[] = sprintf( '<a href="%s">%s</a>', esc_url( get_term_link( $term, $taxonomy ) ), $term->name );
     1184            $parents[] = sprintf( '<a href="%s">%s</a>', esc_url( get_term_link( $term, $taxonomy ) ), esc_html( $term->name ) );
    11851185
    11861186            // Set the parent term's parent as the parent ID.
  • blogus/3.2.1/inc/ansar/customize/controls/customize-control-helper.php

    r354610 r357035  
    214214                    <input class="image-select" type="radio" value="<?php echo esc_attr( $value ); ?>" id="<?php echo $this->id . $value; ?>" name="<?php echo esc_attr( $name ); ?>" <?php $this->link(); checked( $this->value(), $value ); ?>>
    215215                        <label for="<?php echo $this->id . $value; ?>">
    216                             <img src="<?php echo esc_html( $label ); ?>" alt="<?php echo esc_attr( $value ); ?>" title="<?php echo esc_attr( $value ); ?>">
     216                            <img src="<?php echo esc_url( $label ); ?>" alt="<?php echo esc_attr( $value ); ?>" title="<?php echo esc_attr( $value ); ?>">
    217217                        </label>
    218218                    </input>
    219219                <?php endforeach; ?>
    220220            </div>
    221             <script>jQuery(document).ready(function($) { $( '[id="input_<?php echo $this->id; ?>"]' ).buttonset(); });</script>
     221            <script>jQuery(document).ready(function($) { $( '[id="input_<?php echo esc_js( $this->id ); ?>"]' ).buttonset(); });</script>
    222222            <?php
    223223        }
  • blogus/3.2.1/inc/ansar/global/schema-markup/schema-markup.php

    r309238 r357035  
    5454
    5555    echo '<script type="application/ld+json">' .
    56          wp_json_encode( $schema, JSON_UNESCAPED_SLASHES | JSON_UNESCAPED_UNICODE ) .
    57          '</script>';
     56        wp_json_encode( $schema, JSON_HEX_TAG | JSON_HEX_AMP | JSON_HEX_APOS | JSON_HEX_QUOT | JSON_UNESCAPED_UNICODE ) .
     57        '</script>';
    5858}
    5959add_action( 'wp_head', 'blogus_add_post_schema' );
  • blogus/3.2.1/inc/ansar/hooks/hook-index-main.php

    r335615 r357035  
    158158            $authorDesc = get_the_author_meta('description');
    159159            if (!empty($authorDesc)) {
    160                 echo '<p class="bs-author-desc">' . $authorDesc . '</p>';
     160                echo '<p class="bs-author-desc">' . wp_kses_post( $authorDesc ) . '</p>';
    161161            }
    162162            ?>
  • blogus/3.2.1/inc/ansar/widgets/widget-author-info.php

    r289754 r357035  
    1 <?php add_action('admin_enqueue_scripts', 'blogus_author_widget_scripts');
     1<?php
     2add_action('admin_enqueue_scripts', 'blogus_author_widget_scripts');
    23
    34function blogus_author_widget_scripts() {   
    … …  
    4243        endif;
    4344        if (!empty($instance['title'])){
    44             echo $args['before_title'] . $instance['title'] . $args['after_title'];
     45            echo $args['before_title'] . esc_html( apply_filters( 'widget_title', $instance['title'] ) ) . $args['after_title'];
    4546        } ?>     
    4647        <div class="bs-author text-center">
    4748            <?php if( !empty($instance['image_uri']) ){ ?>
    48                 <img class="rounded-circle" src="<?php echo esc_url($instance['image_uri']); ?>" alt="<?php echo apply_filters('widget_title', $instance['name']); ?>" />
     49                <img class="rounded-circle" src="<?php echo esc_url($instance['image_uri']); ?>" alt="<?php echo esc_attr( apply_filters('widget_title', $instance['name']) ); ?>" />
    4950            <?php } ?>
    5051            <h4><?php echo esc_html($instance['name']); ?></h4>
    … …  
    128129            <?php
    129130            if ( !empty($instance['image_uri']) ) :
    130                 echo '<img class="custom_media_image_team" src="' . $instance['image_uri'] . '" style="margin:0;padding:0;max-width:100px;float:left;display:inline-block" alt="'.__( 'Uploaded image', 'blogus' ).'" /><br />';
     131                echo '<img class="custom_media_image_team" src="' . esc_url( $instance['image_uri'] ) . '" style="margin:0;padding:0;max-width:100px;float:left;display:inline-block" alt="'. esc_attr__( 'Uploaded image', 'blogus' ).'" /><br />';
    131132            endif;
    132133            ?>
    133             <input type="text" class="widefat custom_media_url_team" name="<?php echo esc_attr($this->get_field_name('image_uri')); ?>" id="<?php echo esc_attr($this->get_field_id('image_uri')); ?>" value="<?php if( !empty($instance['image_uri']) ): echo $instance['image_uri']; endif; ?>" style="margin-top:5px;">
     134            <input type="text" class="widefat custom_media_url_team" name="<?php echo esc_attr($this->get_field_name('image_uri')); ?>" id="<?php echo esc_attr($this->get_field_id('image_uri')); ?>" value="<?php if( !empty($instance['image_uri']) ): echo esc_url( $instance['image_uri'] ); endif; ?>" style="margin-top:5px;">
    134135            <input type="button" class="button button-primary custom_media_button_team" id="custom_media_button_team" name="<?php echo esc_attr($this->get_field_name('image_uri')); ?>" value="<?php esc_attr_e('Upload Image','blogus'); ?>" style="margin-top:5px;">
    135136        </p>
  • blogus/3.2.1/inc/ansar/widgets/widget-featured-post-widget.php

    r356934 r357035  
    5757                                                        </div>
    5858                                                        <div class="inner py-4 px-4">
    59                                                 <h4 class="title"><a title="<?php echo get_the_title( $postID ); ?>" href="<?php echo get_permalink($postID); ?>"><?php echo get_the_title( $postID ); ?></a></h4>
     59                                                                <h4 class="title"><a title="<?php echo esc_attr( get_the_title( $postID ) ); ?>" href="<?php echo esc_url( get_permalink( $postID ) ); ?>"><?php echo esc_html( get_the_title( $postID ) ); ?></a></h4>
    6060                                                                <div class="bs-blog-meta mb-0">
    6161                                                                        <?php blogus_date_content(); ?>
    … …  
    6868                                                        <div class="small-post-content">
    6969                                                                <!-- small-post-content -->
    70                                                                 <h5 class="title"><a title="<?php echo get_the_title( $postID ); ?>" href="<?php echo get_permalink($postID); ?>"><?php echo get_the_title( $postID ); ?></a></h5>
     70                                                                <h5 class="title"><a title="<?php echo esc_attr( get_the_title( $postID ) ); ?>" href="<?php echo esc_url( get_permalink( $postID ) ); ?>"><?php echo esc_html( get_the_title( $postID ) ); ?></a></h5>
    7171                                                                <!-- // title_small_post -->
    7272                                                                <div class="bs-blog-meta">
  • blogus/3.2.1/inc/ansar/widgets/widget-recent-post.php

    r285354 r357035  
    2626                if($instance['title'])
    2727       
    28                 echo $args['before_title'] . $instance['title'] . $args['after_title'];
     28                echo $args['before_title'] . esc_html( apply_filters( 'widget_title', $instance['title'] ) ) . $args['after_title'];
    2929                 
    3030                $loop = new WP_Query(array( 'post_type' => 'post','ignore_sticky_posts' => 1, 'showposts' => $instance['number_of_posts'] )); ?>
    … …  
    9494               
    9595                $instance = array();
    96                 $instance['title'] = ( ! empty( $new_instance['title'] ) ) ? $new_instance['title'] : '';
     96                $instance['title'] = ( ! empty( $new_instance['title'] ) ) ? sanitize_text_field( $new_instance['title'] ) : '';
    9797                $instance['number_of_posts'] = ( ! empty( $new_instance['number_of_posts'] ) ) ? strip_tags( $new_instance['number_of_posts'] ) : '';
    9898               
  • blogus/3.2.1/readme.txt

    r356934 r357035  
    55Requires at least: 6.0
    66Tested up to: 7.1
    7 Stable tag: 3.2.0
    8 Version: 3.2.0
     7Stable tag: 3.2.1
     8Version: 3.2.1
    99License: GPLv2 or later
    1010License URI: http://www.gnu.org/licenses/gpl-2.0.html
    … …  
    814814* Remove Unnecessary CSS for customizer.
    815815* Fixed Featured Post issue.
     816
     817= Version 3.2.1
     818* Fixed identified security vulnerabilities.
     819* Improved input validation and output escaping.
  • blogus/3.2.1/style-rtl.css

    r356934 r357035  
    55Author URI: https://themeansar.com
    66Description: Blogus is a fast, clean, modern-looking Best Responsive News Magazine WordPress theme. The theme is fully widgetized, so users can manage the content by using easy to use widgets. Blogus is suitable for dynamic news, newspapers, magazine, publishers, blogs, editors, online and gaming magazines, newsportals,personal blogs, newspaper, publishing or review siteand any creative website. Blogus is SEO friendly, WPML,Gutenberg, translation and RTL ready. Live preview : https://demos.themeansar.com/blogus-demos/ and documentation at https://docs.themeansar.com/docs/blogus/
    7 Version: 3.2.0
     7Version: 3.2.1
    88Tested up to: 7.1
    99Requires PHP: 7.4
  • blogus/3.2.1/style.css

    r356934 r357035  
    55Author URI: https://themeansar.com
    66Description: Blogus is a fast, clean, modern-looking Best Responsive News Magazine WordPress theme. The theme is fully widgetized, so users can manage the content by using easy to use widgets. Blogus is suitable for dynamic news, newspapers, magazine, publishers, blogs, editors, online and gaming magazines, newsportals,personal blogs, newspaper, publishing or review siteand any creative website. Blogus is SEO friendly, WPML,Gutenberg, translation and RTL ready. Live preview : https://demos.themeansar.com/blogus-demos/ and documentation at https://docs.themeansar.com/docs/blogus/
    7 Version: 3.2.0
     7Version: 3.2.1
    88Tested up to: 7.1
    99Requires PHP: 7.4
Note: See TracChangeset for help on using the changeset viewer.