WordPress.org

Ready to get started?Download WordPress

Forums

Read More Right Here
fantastic plugin; little fix (1 post)

  1. faina09
    Member
    Posted 1 year ago #

    This mornig I was thinking about developing an ajax plugin to have the 'read more' link fast.. and it already exists! and does exaclty what I want!! I just added two little fixes to avoid debug warnings; here is the patch for read-more-right-here.php:

    <br />
    181c181<br />
    < 			if(isset($_POST['SetDefaults']) && $_POST['SetDefaults'])<br />
    ---<br />
    > 			if($_POST['SetDefaults'])<br />
    727,728c727<br />
    <<br />
    < 	    	$requestedWith = isset($_SERVER['HTTP_X_REQUESTED_WITH']) ? $_SERVER['HTTP_X_REQUESTED_WITH'] : '';<br />
    ---<br />
    > 	    	$requestedWith = $_SERVER['HTTP_X_REQUESTED_WITH'];<br />

    http://wordpress.org/extend/plugins/read-more-right-here/

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic