- %2$sMB' ), esc_url( admin_url( 'upload.php' ) ), $quota ); ?> |
+ %2$sMB' ), admin_url( 'upload.php' ), $quota ); ?> |
|
@@ -489,7 +489,7 @@ function dashboard_quota() {
@@ -709,7 +709,7 @@ function site_admin_notice() {
if ( !is_super_admin() )
return false;
if ( get_site_option( 'wpmu_upgrade_site' ) != $wp_db_version )
- echo "
" . sprintf( __( 'Thank you for Updating! Please visit the
Update Network page to update all your sites.' ), esc_url( admin_url( 'ms-upgrade-network.php' ) ) ) . "
";
+ echo "
" . sprintf( __( 'Thank you for Updating! Please visit the
Update Network page to update all your sites.' ), admin_url( 'ms-upgrade-network.php' ) ) . "
";
}
add_action( 'admin_notices', 'site_admin_notice' );
@@ -754,7 +754,7 @@ function choose_primary_blog() {
userblog_id )
$found = true;
- ?>
" . sprintf( __( "Warning! The current theme supports Featured Images. You must enable image uploads on
the options page for it to work." ), esc_url( admin_url( 'ms-options.php' ) ) ) . "
";
+ echo "
" . sprintf( __( "Warning! The current theme supports Featured Images. You must enable image uploads on
the options page for it to work." ), admin_url( 'ms-options.php' ) ) . "
";
}
}
add_action( 'admin_notices', 'show_post_thumbnail_warning' );
@@ -803,7 +803,7 @@ add_action( 'admin_notices', 'ms_deprecated_blogs_file' );
* @return none
*/
function _admin_notice_multisite_activate_plugins_page() {
- $message = sprintf( __( 'The plugins page is not visible to normal users. It must be activated first. %s' ), '
' . __( 'Activate' ) . '' );
+ $message = sprintf( __( 'The plugins page is not visible to normal users. It must be activated first. %s' ), '
' . __( 'Activate' ) . '' );
echo "
";
}
diff --git a/wp-admin/includes/nav-menu.php b/wp-admin/includes/nav-menu.php
index 3e33d88f79..af48d71067 100644
--- a/wp-admin/includes/nav-menu.php
+++ b/wp-admin/includes/nav-menu.php
@@ -450,7 +450,7 @@ function wp_nav_menu_item_link_meta_box() {
@@ -639,7 +639,7 @@ function wp_nav_menu_item_post_type_meta_box( $object, $post_type ) {
@@ -807,7 +807,7 @@ function wp_nav_menu_item_taxonomy_meta_box( $object, $taxonomy ) {
diff --git a/wp-admin/includes/plugin-install.php b/wp-admin/includes/plugin-install.php
index 821db020d1..c81a04702e 100644
--- a/wp-admin/includes/plugin-install.php
+++ b/wp-admin/includes/plugin-install.php
@@ -147,7 +147,7 @@ function install_dashboard() {
$tags = array();
foreach ( (array)$api_tags as $tag )
$tags[ $tag['name'] ] = (object) array(
- 'link' => esc_url( admin_url('plugin-install.php?tab=search&type=tag&s=' . urlencode($tag['name'])) ),
+ 'link' => admin_url('plugin-install.php?tab=search&type=tag&s=' . urlencode($tag['name'])),
'name' => $tag['name'],
'id' => sanitize_title_with_dashes($tag['name']),
'count' => $tag['count'] );
diff --git a/wp-admin/includes/plugin.php b/wp-admin/includes/plugin.php
index 4055cb6dfe..fd251fc54a 100644
--- a/wp-admin/includes/plugin.php
+++ b/wp-admin/includes/plugin.php
@@ -822,7 +822,7 @@ function add_menu_page( $page_title, $menu_title, $capability, $menu_slug, $func
add_action( $hookname, $function );
if ( empty($icon_url) )
- $icon_url = esc_url( admin_url( 'images/generic.png' ) );
+ $icon_url = admin_url( 'images/generic.png' );
elseif ( is_ssl() && 0 === strpos($icon_url, 'http://') )
$icon_url = 'https://' . substr($icon_url, 7);
diff --git a/wp-admin/includes/template.php b/wp-admin/includes/template.php
index 64aa1a72cf..820a4215f2 100644
--- a/wp-admin/includes/template.php
+++ b/wp-admin/includes/template.php
@@ -65,7 +65,7 @@ function inline_edit_term_row($type, $taxonomy) {
singular_label ); ?>
-
+
@@ -613,7 +613,7 @@ function wp_manage_posts_columns( $screen = '') {
$posts_columns['tags'] = __('Tags');
$post_status = !empty($_REQUEST['post_status']) ? $_REQUEST['post_status'] : 'all';
if ( !in_array( $post_status, array('pending', 'draft', 'future') ) && ( empty($post_type) || post_type_supports($post_type, 'comments') ) )
- $posts_columns['comments'] = '
';
+ $posts_columns['comments'] = '
';
$posts_columns['date'] = __('Date');
if ( 'page' == $post_type )
@@ -643,7 +643,7 @@ function wp_manage_media_columns() {
//$posts_columns['tags'] = _x('Tags', 'column name');
/* translators: column name */
$posts_columns['parent'] = _x('Attached to', 'column name');
- $posts_columns['comments'] = '
';
+ $posts_columns['comments'] = '
';
//$posts_columns['comments'] = __('Comments');
/* translators: column name */
$posts_columns['date'] = _x('Date', 'column name');
@@ -1153,7 +1153,7 @@ endif; // post_type_supports comments or pings ?>
$update_text = __( 'Update' );
?>
-
+
@@ -1818,7 +1818,7 @@ function user_row( $user_object, $style = '', $role = '', $numposts = 0 ) {
if ($current_user->ID == $user_object->ID) {
$edit_link = 'profile.php';
} else {
- $edit_link = esc_url( add_query_arg( 'wp_http_referer', urlencode( esc_url( stripslashes( $_SERVER['REQUEST_URI'] ) ) ), "user-edit.php?user_id=$user_object->ID" ) );
+ $edit_link = esc_url( add_query_arg( 'wp_http_referer', urlencode( stripslashes( $_SERVER['REQUEST_URI'] ) ), "user-edit.php?user_id=$user_object->ID" ) );
}
$edit = "
$user_object->user_login";
@@ -2012,7 +2012,7 @@ function _wp_comment_row( $comment_id, $mode, $comment_status, $checkbox = true,
$post_type_object = get_post_type_object($post->post_type);
$user_can = current_user_can($post_type_object->edit_cap, $post->ID);
- $comment_url = esc_url(get_comment_link($comment->comment_ID));
+ $comment_url = get_comment_link($comment->comment_ID);
$author_url = get_comment_author_url();
if ( 'http://' == $author_url )
$author_url = '';
@@ -2068,7 +2068,7 @@ function _wp_comment_row( $comment_id, $mode, $comment_status, $checkbox = true,
if ( $comment->comment_parent ) {
$parent = get_comment( $comment->comment_parent );
- $parent_link = esc_url( get_comment_link( $comment->comment_parent ) );
+ $parent_link = get_comment_link( $comment->comment_parent );
$name = apply_filters( 'get_comment_author', $parent->comment_author ); // there's no API function for this
printf( ' | '.__( 'In reply to
%2$s.' ), $parent_link, $name );
}
@@ -2275,7 +2275,7 @@ function wp_comment_reply($position = '1', $checkbox = false, $mode = 'single',
-
+
diff --git a/wp-admin/includes/widgets.php b/wp-admin/includes/widgets.php
index aef0dbafae..4edf5c3e19 100644
--- a/wp-admin/includes/widgets.php
+++ b/wp-admin/includes/widgets.php
@@ -202,7 +202,7 @@ function wp_widget_control( $sidebar_args ) {