From 74f42a9dc478f7ca19d14cfcf6f16d68fb62daf6 Mon Sep 17 00:00:00 2001 From: Andrew Nacin Date: Mon, 23 Sep 2013 20:29:09 +0000 Subject: [PATCH] Change 'This post is password protected' to 'This content', for the benefit of custom post types. props MikeHansenMe. fixes #23603. Built from https://develop.svn.wordpress.org/trunk@25582 git-svn-id: http://core.svn.wordpress.org/trunk@25499 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/post-template.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wp-includes/post-template.php b/wp-includes/post-template.php index 49fc2a5943..16e946aef1 100644 --- a/wp-includes/post-template.php +++ b/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:' ) . '

';