WordPress.org

Ready to get started?Download WordPress

Forums

WP Posts Playlist
[resolved] Redundant checking of display options in the shortcode function (2 posts)

  1. coldkey
    Member
    Posted 2 years ago #

    I am trying to put the favorite link at a different part of the post and I found that if I disable the option Show in post, my own shortcode won't take effect.

    If I enable the option, then I end up with 2 favorite links for the same post.

    Can you move the check for the options outside the shortcode function shortcode_posts_playlist to another function that generates the default favorite link?

    I can hacking the code to remove the check but it will block me from future updates to this nice plugin (no apache mod_security complaints).

    http://wordpress.org/extend/plugins/wp-posts-playlist/

  2. Pasquale Ambrosio
    Member
    Plugin Author

    Posted 1 year ago #

    Hi coldkey,

    thanks in advance for your notify and sorry for delayed response.

    On core.php row 196 I forgot to check for option of show LOOP if I am in the home. Without this case, the previous option was covered.

    I fix the bug from version 1.2.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.