#15232 closed defect (bug) (wontfix)
Empty single quote strings are visible in the editor but not the codex frontend
Reported by: |
|
Owned by: |
|
---|---|---|---|
Milestone: | WordPress.org | Priority: | normal |
Severity: | major | Version: | |
Component: | WordPress.org Site | Keywords: | |
Focuses: | Cc: |
Description
Example http://codex.wordpress.org/Function_Reference/wp_list_pages , same on all other pages I checked.
Change History (7)
#1
@
14 years ago
- Milestone changed from Awaiting Review to WordPress.org site
- Owner set to otto42
- Status changed from new to assigned
#3
@
14 years ago
- Resolution set to wontfix
- Status changed from assigned to closed
Double single quote strings is wiki-markup for italics. If you need to have code in the wiki with items in it like this, wrap it in <pre></pre> code to prevent wiki markup from being used.
#4
follow-up:
↓ 5
@
13 years ago
- Resolution wontfix deleted
- Status changed from closed to reopened
I don't think <pre> works in the context that @nkuttler is referring to. When putting it inside the Usage template %%% block, the <pre> is displayed. When putting the <pre> outside the %%% block, the codes for the %%% template are expanded and displayed as well. Quite ugly.
Escaping with !'' doesn't work, and surprisingly entity escaping eg with ′' doesn't work either.
And heh, it does appear that the escaping trick DOES work here in Trac...just not in Codex...
#5
in reply to:
↑ 4
@
13 years ago
Replying to tomauger:
When putting it inside the Usage template %%% block, the <pre> is displayed. When putting the <pre> outside the %%% block, the codes for the %%% template are expanded and displayed as well.
The workaround is to avoid %%%
at all, replacing it with <pre>
:
http://codex.wordpress.org/index.php?title=Function_Reference/wp_link_pages&diff=120400&oldid=120383
Related: #21343
Btw, the bug seems to happen when %%% is used, e.g. http://codex.wordpress.org/index.php?title=Function_Reference/wp_list_pages&action=edit§ion=3 vs http://codex.wordpress.org/index.php?title=Function_Reference/wp_page_menu&action=edit§ion=3