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
4 removals
Lines
Total
Removed
Characters
Total
Removed
To continue using this feature, upgrade to
Diff
checker
Pro
View Pricing
13 lines
Copy
9 additions
Lines
Total
Added
Characters
Total
Added
To continue using this feature, upgrade to
Diff
checker
Pro
View Pricing
16 lines
Copy
<?php
<?php
// $_POST needs to be sanitized by version 1.0
// $_POST needs to be sanitized by version 1.0
if( isset($_POST['submit']) && check_admin_referer('fitvids_action','fitvids_ref') ) {
if( isset($_POST['submit']) && check_admin_referer('fitvids_action','fitvids_ref') ) {
$fitvids_wp_message = '';
$fitvids_wp_message = '';
Copy
Copied
Copy
Copied
update_option('fitvids_wp_jq', addslashes($_POST['fitvids_wp_jq']));
if( isset( $_POST['fitvids_wp_jq'] ) )
update_option('fitvids_wp_selector', esc_js(trim($_POST['fitvids_wp_selector'])));
update_option('fitvids_wp_jq', addslashes($_POST['fitvids_wp_jq']));
update_option('fitvids_wp_custom_selector', esc_js(trim($_POST['fitvids_wp_custom_selector'])));
if( isset( $_POST['fitvids_wp_selector'] ) )
update_option('fitvids_wp_selector', esc_js(trim($_POST['fitvids_wp_selector'])));
if( isset( $_POST['fitvids_wp_custom_selector'] ) )
update_option('fitvids_wp_custom_selector', esc_js(trim($_POST['fitvids_wp_custom_selector'])));
Copy
Copied
Copy
Copied
if(
$_POST['fitvids_wp_jq'] != '') { $fitvids_wp_message .= 'You have enabled jQuery for your theme.'; }
if(
isset( $_POST['fitvids_wp_jq'] ) &&
$_POST['fitvids_wp_jq'] != '') { $fitvids_wp_message .= 'You have enabled jQuery for your theme.'; }
echo '<div id="message" class="updated below-h2"><p>FitVids is updated. ', $fitvids_wp_message ,'</p></div>';
echo '<div id="message" class="updated below-h2"><p>FitVids is updated. ', $fitvids_wp_message ,'</p></div>';
}
}
Saved diffs
Original text
Open file
<?php // $_POST needs to be sanitized by version 1.0 if( isset($_POST['submit']) && check_admin_referer('fitvids_action','fitvids_ref') ) { $fitvids_wp_message = ''; update_option('fitvids_wp_jq', addslashes($_POST['fitvids_wp_jq'])); update_option('fitvids_wp_selector', esc_js(trim($_POST['fitvids_wp_selector']))); update_option('fitvids_wp_custom_selector', esc_js(trim($_POST['fitvids_wp_custom_selector']))); if($_POST['fitvids_wp_jq'] != '') { $fitvids_wp_message .= 'You have enabled jQuery for your theme.'; } echo '<div id="message" class="updated below-h2"><p>FitVids is updated. ', $fitvids_wp_message ,'</p></div>'; }
Changed text
Open file
<?php // $_POST needs to be sanitized by version 1.0 if( isset($_POST['submit']) && check_admin_referer('fitvids_action','fitvids_ref') ) { $fitvids_wp_message = ''; if( isset( $_POST['fitvids_wp_jq'] ) ) update_option('fitvids_wp_jq', addslashes($_POST['fitvids_wp_jq'])); if( isset( $_POST['fitvids_wp_selector'] ) ) update_option('fitvids_wp_selector', esc_js(trim($_POST['fitvids_wp_selector']))); if( isset( $_POST['fitvids_wp_custom_selector'] ) ) update_option('fitvids_wp_custom_selector', esc_js(trim($_POST['fitvids_wp_custom_selector']))); if( isset( $_POST['fitvids_wp_jq'] ) && $_POST['fitvids_wp_jq'] != '') { $fitvids_wp_message .= 'You have enabled jQuery for your theme.'; } echo '<div id="message" class="updated below-h2"><p>FitVids is updated. ', $fitvids_wp_message ,'</p></div>'; }
Find difference