WordPress.org

Plugin Directory

Changeset 600479


Ignore:
Timestamp:
09/18/12 14:22:05 (19 months ago)
Author:
M66B
Message:

1.165 dev strip shortcodes if not filtering text/excerpt

Location:
add-link-to-facebook
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • add-link-to-facebook/tags/1.164/readme.txt

    r600222 r600479  
    776776= Development version = 
    777777* Improvement: auto fix invalid locales 
     778* Improvement: strip shortcodes if not filtering text/excerpt 
    778779 
    779780Follow these steps to install the development version: 
  • add-link-to-facebook/trunk/add-link-to-facebook-class.php

    r592785 r600479  
    14881488                if (!get_option(c_al2fb_option_nofilter)) 
    14891489                    $excerpt = apply_filters('the_excerpt', $excerpt); 
     1490                else 
     1491                    $excerpt = strip_shortcodes($excerpt); 
    14901492                if (empty($excerpt) && get_user_meta($user_ID, c_al2fb_meta_auto_excerpt, true)) { 
    14911493                    $excerpt = strip_tags(strip_shortcodes($post->post_content)); 
     
    15061508                if (!get_option(c_al2fb_option_nofilter)) 
    15071509                    $content = apply_filters('the_content', $content); 
     1510                else 
     1511                    $content = strip_shortcodes($content); 
    15081512            } 
    15091513            $content = apply_filters('al2fb_content', $content, $post); 
  • add-link-to-facebook/trunk/readme.txt

    r600222 r600479  
    776776= Development version = 
    777777* Improvement: auto fix invalid locales 
     778* Improvement: strip shortcodes if not filtering text/excerpt 
    778779 
    779780Follow these steps to install the development version: 
Note: See TracChangeset for help on using the changeset viewer.