Plugin Directory

Changeset 639691


Ignore:
Timestamp:
12/15/2012 02:25:34 PM (13 years ago)
Author:
iluminatus
Message:

Fixing carrier return when displaying full post content

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

Legend:

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

    r628646 r639691  
    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.2
     6Version: 3.5.3
    77Author: L'Elite
    88Author URI: http://laelite.info/
     
    694694                        } else {
    695695                            // Display post content
    696                             echo do_shortcode($field->post_content);
     696                            echo nl2br( do_shortcode( $field->post_content ) );
    697697                        }
    698698                        // Close excerpt wrapper
     
    750750                        } else {
    751751                            // Display post content
    752                             echo do_shortcode($field->post_content);
     752                            echo nl2br( do_shortcode( $field->post_content ) );
    753753                        }
    754754                        // Close excerpt wrapper
     
    914914                        } else {
    915915                            // Display post content
    916                             echo do_shortcode($field->post_content);
     916                            echo nl2br( do_shortcode( $field->post_content ) );
    917917                        }
    918918                        // Close excerpt wrapper
     
    970970                        } else {
    971971                            // Display post content
    972                             echo do_shortcode($field->post_content);
     972                            echo nl2br( do_shortcode( $field->post_content ) );
    973973                        }
    974974                        // Close excerpt wrapper
  • network-latest-posts/trunk/readme.txt

    r628646 r639691  
    44Tags: recent posts, shortcode, widget, network, latest posts
    55Requires at least: 3.0
    6 Tested up to: 3.4.1
    7 Stable tag: 3.5.2
     6Tested up to: 3.5
     7Stable tag: 3.5.3
    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.3 =
     147* Fixing line returns when using display_content parameter. Mixing nl2br and do_shortcode to do the job.
     148
    146149= 3.5.2 =
    147150* Replacing nl2br by do_shortcode to fix an incompatibility issue with Vipers shortcodes.
Note: See TracChangeset for help on using the changeset viewer.