WordPress.org

Ready to get started?Download WordPress

Forums

SlideDeck 1 Lite Content Slider
[Plugin: Content Slider by SlideDeck] Prior to this upgrade use of 'code' worked (3 posts)

  1. Texiwill
    Member
    Posted 3 years ago #

    Hello,

    The latest upgrade removed the 'codeability' of the slide decks. Instead of displaying the code for the post you interpret the code and display the results. Code in my case was a bunch of shortcodes.

    Can this be fixed to not show the results of the shortcodes but the actual code, what I type in of the shortcodes?

    http://wordpress.org/extend/plugins/slidedeck-lite-for-wordpress/

  2. Texiwill
    Member
    Posted 3 years ago #

    To fix this I did modified /views/_edit-slide.php to make the following change:

    <!-- <textarea name="slide[<?php echo $count; ?>][content]" cols="80" rows="10" class="horizontal slide-content" id="<?php echo $editor_id; ?>"><?php echo htmlspecialchars( slidedeck_process_slide_content( $slide['content'] ), ENT_QUOTES ); ?></textarea> -->
                                            <textarea name="slide[<?php echo $count; ?>][content]" cols="80" rows="10" class="horizontal slide-content" id="<?php echo $editor_id; ?>"><?php echo $slide['content']; ?></textarea>
  3. jamie3d
    Member
    Plugin Contributor

    Posted 3 years ago #

    Hi Texiwill,
    Thanks for noticing this bug/feature or whatever you want to call it. (I'll let the users decide if it's a bug or a feature) I'm going to apply your change to our development environment and do some tests.

    One of the reasons we became a bit more strict about escaping and encoding was due to Non-Latin characters. We may have become a bit overzealous with this and I'll look into it.

    Thanks again!
    --
    Jamie

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic