WordPress.org

Make WordPress Themes

Changes from poseidon/1.0.2 at r88647 to poseidon/1.0.3 at r88647


Ignore:
Location:
poseidon
Files:
1 added
1 deleted
14 edited

Legend:

Unmodified
Added
Removed
  • poseidon/1.0.3/archive.php

    r88647 r88647  
    2828            while ( have_posts() ) : the_post(); 
    2929 
    30                 get_template_part( 'template-parts/content', $theme_options['post_content'] ); 
     30                get_template_part( 'template-parts/content', esc_attr( $theme_options['post_content'] ) ); 
    3131 
    3232            endwhile; 
  • poseidon/1.0.3/changelog.txt

    r88647 r88647  
    22Poseidon Changelog 
    33=================================== 
     4 
     5Version 1.0.3 
     6----------------------------------- 
     7[added] theme styling to Visual Editor 
     8[added] proper escaping for the $theme_content variable 
     9[fixed] PHP notices in Magazine Post Widgets 
     10[removed] unused header-bar.php template file 
    411 
    512Version 1.0.2 
  • poseidon/1.0.3/functions.php

    r88647 r88647  
    6060    // Add Theme Support for wooCommerce 
    6161    add_theme_support( 'woocommerce' ); 
     62     
     63    // Add extra theme styling to the visual editor 
     64    add_editor_style( array( 'css/editor-style.css', poseidon_google_fonts_url() ) ); 
    6265     
    6366} 
  • poseidon/1.0.3/home.php

    r88647 r88647  
    2323                <header class="page-header"> 
    2424                     
    25                     <h1 class="archive-title"><?php echo wp_kses_post($theme_options['latest_posts_title']); ?></h1> 
     25                    <h1 class="archive-title"><?php echo wp_kses_post( $theme_options['latest_posts_title'] ); ?></h1> 
    2626 
    2727                </header><!-- .page-header --> 
     
    3232            <?php if (have_posts()) : while (have_posts()) : the_post(); 
    3333         
    34                 get_template_part( 'template-parts/content', $theme_options['post_content'] ); 
     34                get_template_part( 'template-parts/content', esc_attr( $theme_options['post_content'] ) ); 
    3535         
    3636                endwhile; 
  • poseidon/1.0.3/inc/widgets/widget-magazine-posts-boxed.php

    r88647 r88647  
    368368 
    369369            // Link Category Title 
    370             if( true == $settings['category_link'] and $settings['category'] > 0 ) :  
     370            if( $settings['category'] > 0 ) :  
    371371             
    372372                // Set Link URL and Title for Category 
  • poseidon/1.0.3/inc/widgets/widget-magazine-posts-columns.php

    r88647 r88647  
    284284 
    285285            // Link Category Title 
    286             if( true == $settings['category_link'] and $category_id > 0 ) :  
     286            if( $category_id > 0 ) :  
    287287             
    288288                // Set Link URL and Title for Category 
  • poseidon/1.0.3/search.php

    r88647 r88647  
    3030                if ( 'post' == get_post_type() ) : 
    3131         
    32                     get_template_part( 'template-parts/content', $theme_options['post_content'] ); 
     32                    get_template_part( 'template-parts/content', esc_attr( $theme_options['post_content'] ) ); 
    3333                 
    3434                else : 
  • poseidon/1.0.3/style.css

    r88647 r88647  
    55Author URI: https://themezee.com 
    66Description: Poseidon is an elegant designed WordPress theme featuring a splendid fullscreen image slideshow. The clean typography and spacious white layout makes it great to share your stories. You can use the theme as simple blog or easily create a news website with the widget-based Magazine Homepage template. 
    7 Version: 1.0.2 
     7Version: 1.0.3 
    88License: GNU General Public License v2 or later 
    99License URI: http://www.gnu.org/licenses/gpl-2.0.html 
Note: See TracChangeset for help on using the changeset viewer.