[wp-trac] [WordPress Trac] #8581: Tag not closed in theme editor
when the file does not have a description
WordPress Trac
wp-trac at lists.automattic.com
Thu Dec 11 22:00:34 GMT 2008
#8581: Tag not closed in theme editor when the file does not have a description
---------------------+------------------------------------------------------
Reporter: roganty | Owner: roganty
Type: defect | Status: new
Priority: normal | Milestone: 2.8
Component: UI | Version:
Severity: normal | Keywords: has-patch theme editor ui xhtml
---------------------+------------------------------------------------------
I've noticed this before problem before, but I didn't think anything of
it.
The problem is to do when the file being edited doesn't have a
description, the {{{strong}}} tag is not closed in the title.
There are two ways this could be fixed, but they both give different
results.
The first way is to add the opening {{{strong}}} tag to the start of the
variable {{{$desc_header}}} and to remove the opening {{{strong}}} tag
from where the variable is printed to the screen.[[BR]]
If there is no description this fix will not make the file name bold.
The second way is to add the closing {{{strong}}} tag to the end of the
variable {{{$desc_header}}}[[BR]]
If there is no description this fix will make the file name bold.
--
Ticket URL: <http://trac.wordpress.org/ticket/8581>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list