Ver código fonte

removed yoast rel=me

eddiemachado 13 anos atrás
pai
commit
eac4de5d7b
1 arquivos alterados com 0 adições e 20 exclusões
  1. 0 20
      library/plugins.php

+ 0 - 20
library/plugins.php

@@ -81,26 +81,6 @@ function bones_google_header() {
 	add_action('wp_head', 'bones_facebook_connect');
 	add_action('wp_head', 'bones_google_header');
 
-	
-// adding the rel=me thanks to yoast	
-function yoast_allow_rel() {
-	global $allowedtags;
-	$allowedtags['a']['rel'] = array ();
-}
-add_action( 'wp_loaded', 'yoast_allow_rel' );
-
-// adding facebook, twitter, & google+ links to the user profile
-function bones_add_user_fields( $contactmethods ) {
-	// Add Facebook
-	$contactmethods['user_fb'] = 'Facebook';
-	// Add Twitter
-	$contactmethods['user_tw'] = 'Twitter';
-	// Add Google+
-	$contactmethods['google_profile'] = 'Google Profile URL';
-	// Save 'Em
-	return $contactmethods;
-}
-add_filter('user_contactmethods','bones_add_user_fields',10,1);
 
 
 ?>