Skip to content

Commit

Permalink
Correccion de errores
Browse files Browse the repository at this point in the history
  • Loading branch information
jprieton committed Jul 25, 2015
1 parent 702404a commit 599900b
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions includes/class-head-actions.php
Original file line number Diff line number Diff line change
Expand Up @@ -99,16 +99,16 @@ function facebook_meta() {
$fb_explode = explode(',', $facebook_admins);
foreach ($fb_explode as $admin) {
$admin_id = (int) $admin;
if ($admin_id > 0) {
if ($admin_id > 1) {
printf('<meta property="fb:admins" content="%s" />' . "\n", $admin_id);
}
}

$facebook_app_id = (string) get_option('social-facebook-app_id', TRUE);
$fb_explode = explode(',', $facebook_admins);
$fb_explode = explode(',', $facebook_app_id);
foreach ($fb_explode as $admin) {
$admin_id = (int) $admin;
if ($admin_id > 0) {
if ($admin_id > 1) {
printf('<meta property="fb:app_id" content="%s" />' . "\n", $admin_id);
}
}
Expand Down Expand Up @@ -176,7 +176,7 @@ function remove_header_links() {
add_action('init', array($Head_Actions, 'remove_header_links'), 1);
add_action('wp_head', array($Head_Actions, 'open_graph_meta'), 1);
add_action('wp_head', array($Head_Actions, 'twitter_card_meta'), 1);
add_action('wp_head', array($Head_Actions, 'facebook'), 1);
add_action('wp_head', array($Head_Actions, 'facebook_meta'), 1);
add_action('wp_head', array($Head_Actions, 'google_site_verification'), 1);
add_action('wp_head', array($Head_Actions, 'bing_site_verification'), 1);
add_action('wp_head', array($Head_Actions, 'google_analytics_tracking_code'), 99);
Expand Down

0 comments on commit 599900b

Please sign in to comment.