diff --git a/wp-includes/template-functions-author.php b/wp-includes/template-functions-author.php index b8331328b4..00c4075382 100644 --- a/wp-includes/template-functions-author.php +++ b/wp-includes/template-functions-author.php @@ -130,7 +130,7 @@ function list_authors($optioncount = false, $exclude_admin = true, $show_fullnam if ($posts == 0) { if (! $hide_empty) echo $name; } else { - $link = '' . stripslashes($name) . ''; + $link = 'user_nickname)) . '">' . stripslashes($name) . ''; if ( (! empty($feed_image)) || (! empty($feed)) ) { diff --git a/wp-includes/template-functions-category.php b/wp-includes/template-functions-category.php index f59ec1ae35..2edaf0563d 100644 --- a/wp-includes/template-functions-category.php +++ b/wp-includes/template-functions-category.php @@ -63,16 +63,16 @@ function the_category($seperator = '', $parents='') { switch(strtolower($parents)) { case 'multiple': if ($category->category_parent) echo get_category_parents($category->category_parent, TRUE); - echo ''.$category->cat_name.''; + echo 'cat_name) . '">'.$category->cat_name.''; break; case 'single': - echo 'category_id, $category->category_nicename) . '" title="' . sprintf(__("View all posts in %s"), $category->cat_name) . '>'; if ($category->category_parent)echo get_category_parents($category->category_parent, FALSE); echo $category->cat_name.''; break; case '': default: - echo ''.$category->cat_name.''; + echo 'cat_name) . '">'.$category->cat_name.''; } } echo ''; @@ -84,14 +84,14 @@ function the_category($seperator = '', $parents='') { switch(strtolower($parents)) { case 'multiple': if ($category->category_parent) echo get_category_parents($category->category_parent, TRUE); - echo ''.$category->cat_name.''; + echo 'cat_name) . '">'.$category->cat_name.''; case 'single': - echo ''; + echo 'cat_name) . '">'; if ($category->category_parent) echo get_category_parents($category->category_parent, FALSE); echo "$category->cat_name"; case '': default: - echo ''.$category->cat_name.''; + echo 'cat_name) . '">'.$category->cat_name.''; } ++$i; } @@ -133,7 +133,7 @@ function get_category_parents($id, $link = FALSE, $separator = '/', $nicename = } if ($parent->category_parent) $chain .= get_category_parents($parent->category_parent, $link, $separator, $nicename); if ($link) { - $chain .= 'cat_name.'">'.$name.'' . $separator; + $chain .= 'cat_name) . '">'.$name.'' . $separator; } else { $chain .= $name.$separator; } @@ -313,7 +313,7 @@ function list_cats($optionall = 1, $all = 'All', $sort_column = 'ID', $sort_orde $num_found++; $link = 'category_description)) { - $link .= 'title="View all posts filed under ' . htmlspecialchars($category->cat_name) . '"'; + $link .= 'title="'. sprintf(__("View all posts filed under %s"), htmlspecialchars($category->cat_name)) . '"'; } else { $link .= 'title="' . htmlspecialchars($category->category_description) . '"'; } @@ -372,7 +372,7 @@ function list_cats($optionall = 1, $all = 'All', $sort_column = 'ID', $sort_orde $before = '
  • '; $after = '
  • '; } - echo $before . "No categories" . $after . "\n"; + echo $before . __("No categories") . $after . "\n"; return; } if ($list && $child_of && $num_found && $recurse) { diff --git a/wp-includes/template-functions-geo.php b/wp-includes/template-functions-geo.php index 250a5eafa1..f3f93143b4 100644 --- a/wp-includes/template-functions-geo.php +++ b/wp-includes/template-functions-geo.php @@ -48,27 +48,27 @@ function formHandler(form) { function print_UrlPopNav() { $sites = array( array('http://www.acme.com/mapper/?lat='.get_Lat().'&long='.get_Lon().'&scale=11&theme=Image&width=3&height=2&dot=Yes', - 'Acme Mapper'), + __('Acme Mapper')), array('http://geourl.org/near/?lat='.get_Lat().'&lon='.get_Lon().'&dist=500', - 'GeoURLs near here'), + __('GeoURLs near here')), array('http://www.geocaching.com/seek/nearest.aspx?origin_lat='.get_Lat().'&origin_long='.get_Lon().'&dist=5', - 'Geocaches Near Nere'), + __('Geocaches near here')), array('http://www.mapquest.com/maps/map.adp?latlongtype=decimal&latitude='.get_Lat().'&longitude='.get_Lon(), - 'Mapquest map of this spot'), + __('Mapquest map of this spot')), array('http://www.sidebit.com/ProjectGeoURLMap.php?lat='.get_Lat().'&lon='.get_Lon(), - 'SideBit URL Map of this spot'), + __('SideBit URL Map of this spot')), array('http://confluence.org/confluence.php?lat='.get_Lat().'&lon='.get_Lon(), - 'Confluence.org near here'), + __('Confluence.org near here')), array('http://www.topozone.com/map.asp?lat='.get_Lat().'&lon='.get_Lon(), - 'Topozone near here'), + __('Topozone near here')), array('http://www.findu.com/cgi-bin/near.cgi?lat='.get_Lat().'&lon='.get_Lon(), - 'FindU near here'), + __('FindU near here')), array('http://mapserver.maptech.com/api/espn/index.cfm?lat='.get_Lat().'&lon='.get_Lon().'&scale=100000&zoom=50&type=1&icon=0&&scriptfile=http://mapserver.maptech.com/api/espn/index.cfm', - 'Maptech near here') + __('Maptech near here')) ); echo '

    +

    ' . __("This post is password protected. To view it please enter your password below:") . '

    +

    '; return $output; @@ -182,7 +182,7 @@ function get_the_excerpt($fakeit = true) { $output = stripslashes($post->post_excerpt); if (!empty($post->post_password)) { // if there's a password if ($_COOKIE['wp-postpass_'.$cookiehash] != $post->post_password) { // and it doesn't match the cookie - $output = 'There is no excerpt because this is a protected post.'; + $output = __('There is no excerpt because this is a protected post.'); return $output; } }