scripts.mit.edu
/
autoinstalls
/
wordpress.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
WordPress 4.1.2
[autoinstalls/wordpress.git]
/
wp-admin
/
includes
/
template.php
diff --git
a/wp-admin/includes/template.php
b/wp-admin/includes/template.php
index 425e40b0f09bef70bfb25aa619729f0ce54627a5..1087837cd6eb1acbd1d930f2b85a3f941e680637 100644
(file)
--- a/
wp-admin/includes/template.php
+++ b/
wp-admin/includes/template.php
@@
-1505,7
+1505,7
@@
function _draft_or_post_title( $post = 0 ) {
$title = get_the_title( $post );
if ( empty( $title ) )
$title = __( '(no title)' );
- return
$title
;
+ return
esc_html( $title )
;
}
/**