From 01589f357d8f500bd0cff792220b46e6a442e73a Mon Sep 17 00:00:00 2001 From: Ryan Boren Date: Wed, 4 Jan 2012 20:05:39 +0000 Subject: [PATCH] Use site_url() to link to wp-pass.php. Props dd32. fixes #14748 git-svn-id: https://develop.svn.wordpress.org/trunk@19677 602fd350-edb4-49c9-b593-d223f7449a82 --- wp-includes/post-template.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/wp-includes/post-template.php b/wp-includes/post-template.php index ed00950e4a..0df319f865 100644 --- a/wp-includes/post-template.php +++ b/wp-includes/post-template.php @@ -1215,8 +1215,8 @@ function prepend_attachment($content) { */ function get_the_password_form() { global $post; - $label = 'pwbox-'.(empty($post->ID) ? rand() : $post->ID); - $output = '
+ $label = 'pwbox-' . ( empty($post->ID) ? rand() : $post->ID ); + $output = '

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