Make WordPress Core

Opened 2 years ago

Closed 2 years ago

Last modified 2 years ago

#42983 closed defect (bug) (invalid)

HTML Form to open links no longer working

Reported by: ipodhacks142 Owned by:
Milestone: Priority: normal
Severity: normal Version: 4.9.1
Component: General Keywords:
Focuses: Cc:

Description (last modified by netweb)

Previously I have used a form with links in to create a drop down menu that users can choose a file from to download. This has been working fine up until recently when it suddenly stopped working for no apparent reason. I beleive this to be caused by something being changed with wordpress. See code below:

<form style="clear: both; line-height: 25px; height: 25px; vertical-align: top; margin-bottom: 15px;" onsubmit="open(this.url.value,'','');return false;">
<div style="float: left; display: inline; margin-right: 5px; width: 300px; line-line-height: 25px; height: 25px;"><select style="width: 300px; padding: 1px;" name="url"><option value="">Download iPhone firmwares</option>

        <option value="">&#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211;iPhone X &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211; &#8211;</option>
						<option value="http://appldnld.apple.com/ios11.2.1/091-54847-20171213-5FBB02FC-DDFB-11E7-9CEF-07E4FB2783B2/iPhone10,6_11.2.1_15C153_Restore.ipsw">iPhone X &#8211; iOS 11.2.1 &#8211; iPhone10,6 (15C153)</option>
						<option value="http://appldnld.apple.com/ios11.2/091-51760-20171206-BA09FB16-D5F7-11E7-A344-36B9DC24E03F/iPhone10,6_11.2_15C114_Restore.ipsw">iPhone X &#8211; iOS 11.2 &#8211; iPhone10,6 (15C114)</option>
						<option value="http://appldnld.apple.com/ios11.1.2/091-48137-20171116-4F9256F2-C9C7-11E7-8F92-8DE0F451CBCD/iPhone10,6_11.1.2_15B202_Restore.ipsw">iPhone X &#8211; iOS 11.1.2 &#8211; iPhone10,6 (15B202)</option>
						<option value="http://appldnld.apple.com/ios11.1.1/091-42552-20171106-4525806E-C39A-11E7-B432-4BBCF8FD2868/iPhone10,6_11.1.1_15B150_Restore.ipsw">iPhone X &#8211; iOS 11.1.1 &#8211; iPhone10,6 (15B150)</option>
						<option value="http://appldnld.apple.com/ios11.1seed/091-41194-20171023-8AEAD654-B5F2-11E7-8655-C76EBEA7E146/iPhone10,6_11.1_15B93_Restore.ipsw">iPhone X &#8211; iOS 11.1 &#8211; iPhone10,6 (15B93)</option>        
<div style="float: left; display: inline; line-height: 25px; height: 25px;"><input type="submit" value="Download" /></div>

Previously, upon clicking the download button, the link would open immediately in a new tab. Now though, a link similar to the one below opens in the same tab (the link in the menu is just added onto the current page URL).


I fairly sure this is an issue with wordpress itself as nothing else has been changed. If you need any other information please let me know. I really need this solved as soon as possible so any help would be appriciated.

Effected page: hxxp://www.ipodhacks142.com/downloads/

Also worth mentioning that this code has always been broken by wordpress if you open the visual view, but it works if you only open the page in text view.

Change History (2)

#1 @chetan200891
2 years ago

  • Resolution set to invalid
  • Status changed from new to closed

Hi @ipodhacks142

This is not related to WordPress core. You can ask to WordPress Support or Theme/Plugin support. https://wordpress.org/support/

#2 @netweb
2 years ago

  • Description modified (diff)
  • Milestone Awaiting Review deleted
Note: See TracTickets for help on using tickets.