Plugin Directory

Changeset 1574572


Ignore:
Timestamp:
01/14/2017 11:30:55 AM (9 years ago)
Author:
XinguPL
Message:
  • Bug Fix
Location:
wplingo/trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • wplingo/trunk/assets/css/lingo-frontend.css

    r1574110 r1574572  
    182182}
    183183.lingo_button:hover {
    184     background-color: #1ea310;
     184    background-color: #39b54a;
    185185    color: #000;
    186186}
     
    887887
    888888.lingo-new-posts {
    889     color: #1ea310;
     889    color: #39b54a;
    890890}
    891891
  • wplingo/trunk/includes/admin-topic.php

    r1574110 r1574572  
    140140    $select = ob_get_clean();
    141141
    142     echo esc_html($select)
     142    echo $select
    143143}
    144144
     
    231231                    <span class="lingo-admin-post-content">
    232232                        <?php $content = apply_filters('the_content', $child->post_content); ?>
    233                         <?php echo esc_html($content); ?>
     233                        <?php echo $content; ?>
    234234                    </span>
    235235                    <span class="lingo-admin-edit-post-form" style="display: none;">
     
    262262   
    263263    if(is_edit_page('edit') && count($childs) > 0) {
    264         echo esc_html($echo)
     264        echo $echo
    265265    } else {
    266         echo esc_html('<div class="lingo_new_post_wraper">');
     266        echo '<div class="lingo_new_post_wraper">';
    267267        _e('There is no posts in this topic.', 'lingo');
    268         echo esc_html('</div>');
     268        echo '</div>';
    269269    }
    270270}
     
    304304    $echo = ob_get_clean();
    305305   
    306     echo esc_html($echo);
     306    echo $echo;
    307307}
    308308
     
    335335         $echo = ob_get_clean();
    336336         
    337          echo esc_html($echo);
     337         echo $echo;
    338338    }
    339339}
     
    629629    switch ($column_name) {
    630630    case 'desc':
    631         echo esc_html($p->post_excerpt);
     631        echo $p->post_excerpt;
    632632        break;
    633633 
    634634    case 'topic':
    635         echo esc_html($parent->post_title);
     635        echo $parent->post_title;
    636636        break;
    637637   
    638638    case 'forum':
    639639        if($terms == null) {
    640             echo esc_html('<span title="'.__('Topic without forum will be not visible in frontend!', 'lingo').'" class="dashicons dashicons-warning lingo-red"></span>');
     640            echo '<span title="'.__('Topic without forum will be not visible in frontend!', 'lingo').'" class="dashicons dashicons-warning lingo-red"></span>';
    641641        } else {
    642             echo esc_html($terms->name);
     642            echo $terms->name;
    643643        }
    644644       
    645         echo esc_html("<br/>".__('Posts', 'lingo').": " . count($childs));
     645        echo "<br/>".__('Posts', 'lingo').": " . count($childs);
    646646        break;
    647647   
    648648    case 'status':
    649         echo esc_html("<span class='lingo-status lingo-".$p->post_status."'>" . $p->post_status . "</span>");
     649        echo "<span class='lingo-status lingo-".$p->post_status."'>" . $p->post_status . "</span>";
    650650        break;
    651651   
     
    656656    case 'last_post':
    657657        if($last != null) {
    658             echo esc_html(date("Y/m/d", strtotime($last)) . "<br/>" . date("H:i:s", strtotime($last)));
     658            echo date("Y/m/d", strtotime($last)) . "<br/>" . date("H:i:s", strtotime($last));
    659659        } else {
    660660            echo _e("No Posts", "lingo");
     
    663663   
    664664    case 'created':
    665         echo esc_html(date("Y/m/d", strtotime($p->post_date)) . "<br/>" . date("H:i:s", strtotime($p->post_date)));
     665        echo date("Y/m/d", strtotime($p->post_date)) . "<br/>" . date("H:i:s", strtotime($p->post_date));
    666666       
    667667        break;
  • wplingo/trunk/readme.txt

    r1574278 r1574572  
    5858First Release
    5959
    60 = 1.0.1 - 13-01-2017 =
    61 * Few bug fixes
    62 * New branding
    63 * Forum closing feature
    64 
    6560== Upgrade Notice ==
    6661
    6762= 1.0 =
    6863You should update to this version, because You want this awesome plugin.
    69 
    70 = 1.0.1 =
    71 Must have bug fix
Note: See TracChangeset for help on using the changeset viewer.