#39276 closed defect (bug) (fixed)
Link Editor bug - target="_blank" not removed
| Reported by: |  | Owned by: |  | 
|---|---|---|---|
| Milestone: | 4.7.1 | Priority: | normal | 
| Severity: | normal | Version: | 4.7 | 
| Component: | Editor | Keywords: | has-patch commit | 
| Focuses: | Cc: | 
Description
Here's my workflow:
- Setup clear WP 4.7, no themes or plugins.
- Edit post/page.
- Add some link.
- In the Link Manager uncheck "Open link in a new tab", press Update button and see tab "Text" - attribute target="_blank" added.
- Click "Edit link", uncheck "Open link in a new tab", press Update button and see tab "Text" - the attribute remains in place.
In version 4.6.1 this works correctly.
Attachments (1)
Change History (8)
    
      
    #1
  
    
        
          
             @
 @
            
3 years ago
        
    
  
  
  - Component changed from General to Editor
- Keywords needs-patch added
- Milestone changed from Awaiting Review to 4.7.1
- Summary changed from Link Manager bug - target="_blank" not removed to Link Editor bug - target="_blank" not removed
Note: See
        TracTickets for help on using
        tickets.
    


 
			 
                
Hi @Mario62rus and thanks for reporting this!
I've reproduced this locally, I'm milestoning this for 4.7.1 pending a fix.
(Note: I renamed this from "Link Manager" as that's what we call another part of WordPress internally, just so we don't get tickets confused)