Plugin Directory

Changeset 1960775


Ignore:
Timestamp:
10/22/2018 04:04:52 PM (7 years ago)
Author:
recomendo
Message:

1.0.2 remove description

Location:
recomendo/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • recomendo/trunk/inc/recomendo-background-item-copy.php

    r1960659 r1960775  
    5353
    5454        $title =  wp_filter_nohtml_kses( get_the_title( $item ) );
    55         $description =  wp_filter_nohtml_kses( get_post_field('post_content', $item) );
     55        //$description =  wp_filter_nohtml_kses( get_post_field('post_content', $item) );
    5656
    5757        // reduce the size of description for extra long ones
    58         if ( mb_strlen( $description, 'utf8' ) > 32766 ) {
    59             $description = mb_substr($description, 0 , 32766, 'utf8' );
    60         }
     58        //if ( mb_strlen( $description, 'utf8' ) > 32766 ) {
     59        //  $description = mb_substr($description, 0 , 32766, 'utf8' );
     60        //}
    6161
    6262        $categories = array();
     
    7878        $properties = compact(
    7979            'title',
    80             'description',
     80        //  'description',
    8181            'categories',
    8282            'tags',
  • recomendo/trunk/recomendo-plugin.php

    r1960659 r1960775  
    10031003
    10041004        $title =  wp_filter_nohtml_kses( get_the_title( $postid ) );
    1005         $description =  wp_filter_nohtml_kses( get_the_content( $postid ) );
     1005        //$description =  wp_filter_nohtml_kses( get_the_content( $postid ) );
    10061006
    10071007        // reduce the size of description for extra long ones
    1008         if ( mb_strlen( $description, 'utf8' ) > 32766 ) {
    1009             $description = mb_substr( $description, 0 , 32766, 'utf8' );
    1010         }
     1008        //if ( mb_strlen( $description, 'utf8' ) > 32766 ) {
     1009        //    $description = mb_substr( $description, 0 , 32766, 'utf8' );
     1010        //}
    10111011
    10121012        $categories = array();
     
    10281028        $properties = compact(
    10291029            'title',
    1030             'description',
     1030        //  'description',
    10311031            'categories',
    10321032            'tags',
Note: See TracChangeset for help on using the changeset viewer.