Ready to get started?Download WordPress


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

  1. faina09
    Posted 2 years 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 />


Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic