Skip to content

Link field not working in WP 4.7 #207

@pjbtwo

Description

@pjbtwo

What I expected

Expected to add a link to a page

What happened instead

In link pop-up window you must specify open in new window for link to work. If I leave checkbox unchecked, no link is added. Console reports javascript error:

VM949:24 Uncaught ReferenceError: target is not defined(…)
(anonymous function) @ VM949:24
c @ load-scripts.php?c=0&load[]=hoverIntent,common,admin-bar,heartbeat,autosave,wp-ajax-response,jquery…:112
value @ link.js:146
dispatch @ load-scripts.php?c=0&load[]=jquery-core,jquery-migrate,utils,plupload&ver=4.7:3
r.handle @ load-scripts.php?c=0&load[]=jquery-core,jquery-migrate,utils,plupload&ver=4.7:3

Steps to reproduce

Try to add a link to any page or post with WP v 4.7

What versions of softwares are you using?

  • Browser: Chrome 54.0.2840.98
  • Papi: 3.1.17
  • WordPress: 4.7

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions