WordPress.org

Make WordPress Themes


Ignore:
Location:
enlightenment/1.1.4
Files:
35 edited

Legend:

Unmodified
Added
Removed
  • enlightenment/1.1.4/core/admin/unlimited-sidebars.php

    r82890 r82890  
    436436    $args['options'] = array( '' => __( '[None]', 'enlightenment' ) ); 
    437437    global $wp_registered_sidebars; 
    438     // var_dump($wp_registered_sidebars); 
    439438    foreach( $wp_registered_sidebars as $sidebar => $atts ) 
    440439        $args['options'][$sidebar] = $atts['name']; 
     
    469468    } 
    470469     
    471     $option = enlightenment_theme_option( 'sidebars' ); 
    472     if( ! is_array( $option ) ) { 
    473         $option = array(); 
    474     } 
    475      
    476     $input['sidebars'] = array_merge( $option, $input['sidebars'] ); 
    477      
     470    $delete = array(); 
    478471    foreach( $input['sidebars'] as $sidebar => $atts ) { 
    479472        if( isset( $input['sidebars'][$sidebar]['delete'] ) ) { 
    480             unset( $input['sidebars'][$sidebar] ); 
     473            $delete[] = $sidebar; 
    481474        } 
    482475    } 
     
    517510         
    518511        $input['sidebars'][$sidebar]['widgets_link_color'] = enlightenment_validate_color( $input['sidebars'][$sidebar]['widgets_link_color'] ); 
     512    } 
     513     
     514    $option = enlightenment_theme_option( 'sidebars' ); 
     515    if( ! is_array( $option ) ) { 
     516        $option = array(); 
     517    } 
     518     
     519    $input['sidebars'] = array_merge( $option, $input['sidebars'] ); 
     520     
     521    foreach( $input['sidebars'] as $sidebar => $atts ) { 
     522        if( in_array( $sidebar, $delete ) ) { 
     523            unset( $input['sidebars'][$sidebar] ); 
     524        } 
    519525    } 
    520526     
     
    618624            if( ! isset( $locations[get_post_type( $post_id )] ) ) 
    619625                $locations[get_post_type( $post_id )] = array(); 
    620             if( ! array_key_exists( $location, $locations[get_post_type( $post_id )] ) ) 
     626            if( 'revision' != $post->post_type && ! array_key_exists( $location, $locations[$post->post_type] ) ) 
    621627                unset( $input[$location] ); 
    622628            if( ! array_key_exists( $sidebar, $wp_registered_sidebars ) ) 
  • enlightenment/1.1.4/core/readme.txt

    r82890 r82890  
    22Contributors: Daniel Tara 
    33Requires at least: 3.9 
    4 Tested up to: 4.2.2 
    5 Stable tag: 1.1.3 
     4Tested up to: 4.3beta1 
     5Stable tag: 1.1.4 
    66 
    77== License == 
     
    3131 
    3232== Changelog == 
     33 
     34= 1.1.4 = 
     35 
     36* Fixed resetting sidebars when hitting Preview Changes button 
     37* Fixed transparent background option getting reset when saving sidebars 
    3338 
    3439= 1.1.3 = 
  • enlightenment/1.1.4/readme.txt

    r82890 r82890  
    88threaded-comments, translation-ready, photoblogging 
    99Requires at least: 3.9 
    10 Tested up to: 4.2.2 
    11 Stable tag: 1.1.3 
     10Tested up to: 4.3beta1 
     11Stable tag: 1.1.4 
    1212 
    1313Description: Our flagship multipurpose theme powered by Enlightenment Framework. With a clean, modern and responsive design backed by a powerful and flexible code base. Showcase any type of content anywhere. Create unlimited layouts. Customize all templates to your preference. Take WordPress as CMS to another level. 
     
    7878 
    7979== Changelog == 
     80 
     81= 1.1.4 = 
     82 
     83* Updated Enlightenment Framework to version 1.1.4, see core/readme.txt for changelog 
     84* Fixed search button border color for drop-down search widget 
    8085 
    8186= 1.1.3 = 
  • enlightenment/1.1.4/style.css

    r82890 r82890  
    44Theme URI: https://www.onedesigns.com/themes/enlightenment 
    55Description: Our flagship multipurpose theme powered by Enlightenment Framework. With a clean, modern and responsive design backed by a powerful and flexible code base. Showcase any type of content anywhere. Create unlimited layouts. Customize all templates to your preference. Take WordPress as CMS to another level. 
    6 Version: 1.1.3 
     6Version: 1.1.4 
    77Author: One Designs 
    88Author URI: https://www.onedesigns.com/ 
     
    13231323    background-color: transparent; 
    13241324    color: inherit; 
    1325     border-color: inherit; 
    13261325} 
    13271326 
Note: See TracChangeset for help on using the changeset viewer.