<commit_before><?php
/*
Plugin Name: ATL Facebook Publish
Plugin URI: http://codeholic.in/
Description: Automatically posts new articles to Facebook. Simple one click Integration. 
Version: 1.4.3
Author: <NAME>
Author URI: http://codeholic.in/
*/

define('FP_SETTINGS_SLUG' , "facebook-publish");

define('FP_PLUGIN_NAME' , "ATL - Facebook Publish - 2016");

require_once("fp-constants.php");



$fp_settings = get_option("fp_settings");

$fp_facebook = "";

$fp_session_data = "";

require_once( "lib/class/cAuth/index.php" );

//$fp_hybridauth = new cAuth( );
$fp_cauth = new cAuth( );

$fp_session_data = $fp_settings['session_data']; 

if($fp_session_data) {

	$fp_session_data = unserialize($fp_session_data);

	if( count($fp_session_data) > 0 ) {

		//$fp_cauth->load_session_data( serialize($fp_session_data) );
	}

}



function fp_activate() {
	
    require "fp_activate_plugin.php";

}

register_activation_hook( __FILE__, 'fp_activate' );



require_once("lib/functions.php");<commit_msg>Stop FB Plugin from Updating<commit_after><?php
/*
Plugin Name: ATL Facebook Publish
Plugin URI: http://codeholic.in/
Description: Automatically posts new articles to Facebook. Simple one click Integration. 
Version: 1.4.3
Author: <NAME>
Author URI: http://codeholic.in/
*/

define('FP_SETTINGS_SLUG' , "facebook-publish");

define('FP_PLUGIN_NAME' , "ATL - Facebook Publish - 2016");

require_once("fp-constants.php");



$fp_settings = get_option("fp_settings");

$fp_facebook = "";

$fp_session_data = "";

require_once( "lib/class/cAuth/index.php" );

//$fp_hybridauth = new cAuth( );
$fp_cauth = new cAuth( );

$fp_session_data = $fp_settings['session_data']; 

if($fp_session_data) {

	$fp_session_data = unserialize($fp_session_data);

	if( count($fp_session_data) > 0 ) {

		//$fp_cauth->load_session_data( serialize($fp_session_data) );
	}

}



function fp_activate() {
	
    require "fp_activate_plugin.php";

}

register_activation_hook( __FILE__, 'fp_activate' );

add_filter('site_transient_update_plugins', 'dd_remove_update_nag');
function dd_remove_update_nag($value) {
 unset($value->response[ plugin_basename(__FILE__) ]);
 return $value;
}

require_once("lib/functions.php");
{'fraction_non_alphanumeric': 0.15177757520510482, 'fraction_numerical': 0.007292616226071103, 'mean_word_length': 5.494082840236686, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 10, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 6, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7577455', 'n_tokens_mistral': 817, 'n_tokens_neox': 782, 'n_words': 141}