Opened 17 years ago
Closed 11 years ago
#12480 closed defect (bug) (duplicate)
Moderated comments don't show blank links
| Reported by: | donncha | Owned by: | chriscct7 |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | Comments | Version: | 3.0 |
| Severity: | normal | Keywords: | has-patch dev-feedback has-unit-tests |
| Cc: | Focuses: |
Description
Comments caught in moderation won't show the blank links inserted into them unless you edit them.
A comment with html code like <a href='http://example.com/'></a> will not show that link on the moderation page.
Attachments (4)
Change History (15)
#4
@
17 years ago
- Cc added
- Keywords has-patch added
If the links are empty (or contain only blanks spaces, tabs...) then inside of them it is inserted a blank string
but it needs some performing because I don't know how to detect
also I am not sure if I gave right priority to new filter in add_filter function
@
17 years ago
Replaces empty, whitespace or nbsp anchor text with the sanitized URL. Improves regex to be less greedy for non href attributes
#5
@
17 years ago
- Milestone 3.0 → 3.1
This isn't a regression, and looks like it could use some unit tests or at least some more testing. Moving to 3.1.
#6
@
16 years ago
I believe there are other special entities related to blank space too, like      
I wasn't able to find now but I've already seen entities that generate different sized spaces, it had even a grath with sizes.
| |". |
#8
@
12 years ago
- Keywords dev-feedback added
Looks good to go. Verified still a "bug", and patch looks good. Core devs might want to review intent
@
11 years ago
Refresh for WordPress 4.4 with addition of unit tests + better WordPress coding standards support
Maybe Slashdot-style show a URL's domain in parentheses?