WordPress.org

Support

Support » Plugins and Hacks » Advanced Excerpt » [Plugin: Advanced Excerpt] Keep Markup: Can't add new tags.

[Plugin: Advanced Excerpt] Keep Markup: Can't add new tags.

  • Hi,
    I like this plugin. It is quite handy. 🙂

    I have a problem with adding new tags for the option ‘Keep Markup’.

    Once I added a tag, it shows up in the list of tags.
    It seems to work – what means an <iframe> for instance remains in the excerpt.

    If I safe the options the originally added tags will not remain in the list.
    If I safe the options one more time. The originally added tags get stripped out of my excerpt again what means they don’t stay in the options. So it gets automatically deleted from the tag list every time I safe the options.
    It means I need to add all the extra tags again every time I safe the options page but as I already mentioned the tags do not show up in the list.

    http://wordpress.org/extend/plugins/advanced-excerpt/

Viewing 2 replies - 1 through 2 (of 2 total)
  • i can confirm that this is still a problem. Added tags are not re-loaded on refresh, so if you resave, you lose the original additions.

    turned out to be a fairly easy fix.

    line 289 in advanced-excerpt.php needs to be changed from:

    $tag_list = array_unique(self::$options_basic_tags + $allowed_tags);

    to:

    $tag_list = array_unique(array_merge(self::$options_basic_tags,$allowed_tags));

    hope that helps.

    @basvd any chance for the upgrade? your profile says you’ve not been on the forum for a few months and your website is dead. just wondering if this plugin has been abandoned?

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Plugin: Advanced Excerpt] Keep Markup: Can't add new tags.’ is closed to new replies.
Skip to toolbar