WordPress.org

Plugin Directory

Changeset 1677667


Ignore:
Timestamp:
06/13/17 13:30:02 (2 months ago)
Author:
Mte90
Message:

fix on genesis

Location:
glossary-by-codeat
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • glossary-by-codeat/tags/1.4.1/public/includes/Glossary_Genesis.php

    r1677660 r1677667  
    4949                    $content = str_replace( ']]>', ']]>', apply_filters( 'the_content', get_the_content( get_the_ID() ) ) ); 
    5050                } else { 
    51                     $content = get_the_excerpt(); 
     51                    global $post; 
     52                    $content = $post->post_excerpt; 
    5253                    if ( empty( $content ) ) { 
    5354                        if ( genesis_get_option( 'content_archive_limit' ) ) { 
  • glossary-by-codeat/trunk/public/includes/Glossary_Genesis.php

    r1677660 r1677667  
    4949                    $content = str_replace( ']]>', ']]>', apply_filters( 'the_content', get_the_content( get_the_ID() ) ) ); 
    5050                } else { 
    51                     $content = get_the_excerpt(); 
     51                    global $post; 
     52                    $content = $post->post_excerpt; 
    5253                    if ( empty( $content ) ) { 
    5354                        if ( genesis_get_option( 'content_archive_limit' ) ) { 
Note: See TracChangeset for help on using the changeset viewer.