From 164d6cf220b0fbc901dc32f96ad699d381a83539 Mon Sep 17 00:00:00 2001 From: Andrew Nacin Date: Mon, 23 Sep 2013 20:28:30 +0000 Subject: [PATCH] Change 'This post is password protected' to 'This content', for the benefit of custom post types. props MikeHansenMe. fixes #23603. git-svn-id: https://develop.svn.wordpress.org/trunk@25582 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-includes/post-template.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/wp-includes/post-template.php b/src/wp-includes/post-template.php index 49fc2a5943..16e946aef1 100644 --- a/src/wp-includes/post-template.php +++ b/src/wp-includes/post-template.php @@ -1235,7 +1235,7 @@ function get_the_password_form( $post = 0 ) { $post = get_post( $post ); $label = 'pwbox-' . ( empty($post->ID) ? rand() : $post->ID ); $output = '
-

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

+

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

';