Plugin Directory

Changeset 628646


Ignore:
Timestamp:
11/22/2012 11:59:14 AM (13 years ago)
Author:
iluminatus
Message:

Replacing nl2br by do_shortcode when displaying content to fix incompatibility issues with some plugins using shortcodes.

Location:
network-latest-posts/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • network-latest-posts/trunk/network-latest-posts.php

    r627873 r628646  
    44Plugin URI: http://en.8elite.com/network-latest-posts
    55Description: Display the latest posts from the blogs in your network using it as a function, shortcode or widget.
    6 Version: 3.5.1
     6Version: 3.5.2
    77Author: L'Elite
    88Author URI: http://laelite.info/
     
    694694                        } else {
    695695                            // Display post content
    696                             echo nl2br($field->post_content);
     696                            echo do_shortcode($field->post_content);
    697697                        }
    698698                        // Close excerpt wrapper
     
    750750                        } else {
    751751                            // Display post content
    752                             echo nl2br($field->post_content);
     752                            echo do_shortcode($field->post_content);
    753753                        }
    754754                        // Close excerpt wrapper
     
    914914                        } else {
    915915                            // Display post content
    916                             echo nl2br($field->post_content);
     916                            echo do_shortcode($field->post_content);
    917917                        }
    918918                        // Close excerpt wrapper
     
    970970                        } else {
    971971                            // Display post content
    972                             echo nl2br($field->post_content);
     972                            echo do_shortcode($field->post_content);
    973973                        }
    974974                        // Close excerpt wrapper
  • network-latest-posts/trunk/readme.txt

    r627873 r628646  
    55Requires at least: 3.0
    66Tested up to: 3.4.1
    7 Stable tag: 3.5.1
     7Stable tag: 3.5.2
    88
    99This plugin allows you to pull all the recent posts from the blogs in your WordPress network and display them in your main site (or internal sites)
     
    144144== Changelog ==
    145145
     146= 3.5.2 =
     147* Replacing nl2br by do_shortcode to fix an incompatibility issue with Vipers shortcodes.
     148
    146149= 3.5.1 =
    147150* Added catch to avoid warnings when NLPosts can't find posts matching your parameters. Now it will display a message letting you know, no posts matching your criteria were found.
Note: See TracChangeset for help on using the changeset viewer.