Make WordPress Core

Opened 7 years ago

Closed 7 years ago

Last modified 7 years ago

#41881 closed defect (bug) (invalid)

Able to get simple test to work as an independent html, but on the backend widget side, it does not work בס''ד

Reported by: stephenshalomisraelorg's profile stephenshalomisraelorg Owned by:
Milestone: Priority: normal
Severity: normal Version: 4.8.1
Component: Widgets Keywords: close
Focuses: ui, javascript Cc:

Description (last modified by SergeyBiryukov)

I am developing a WordPress plugin, but I am having difficulties with the drop-down. A sample drop-down updates fine, but within the Word-Press framework, in the back-end widget form, it is not working. The relevant information is below in terms of configuration. I have a "golden" test platform available to anyone troubleshooting the issue to see it on the back-end at http://codesupport.shalomisrael.org/wp-login.php

Thank you for your attention to this issue.

Reference:

Firefox 55.0.3
Wordpress 4.8.1
http://codesupport.shalomisrael.org/simpletest.html
http://codesupport.shalomisrael.org/wp-login.php
user name: [redacted]
password: [redacted]

https://www.w3schools.com/jsref/tryit.asp?filename=tryjsref_onchange

Attachments (1)

carousel_edit_url_for_newspro_201709141457.zip (1.1 MB) - added by stephenshalomisraelorg 7 years ago.
Plugin Zip that I used to import the widget into a golden installation of 4.8.1 wordpress

Download all attachments as: .zip

Change History (6)

@stephenshalomisraelorg
7 years ago

Plugin Zip that I used to import the widget into a golden installation of 4.8.1 wordpress

#1 @JPry
7 years ago

  • Keywords close added
  • Resolution set to invalid
  • Status changed from new to closed

Hi @stephenshalomisraelorg,

Welcome to Trac! This is the place to work on development of the core WordPress code. For help troubleshooting custom code, you should use the Support Forums.

You also should not publicly post login credentials to your site, even if it's a test site. Login credentials should only be shared with other people you trust. I recommend that you deactivate those credentials immediately.

#2 @SergeyBiryukov
7 years ago

  • Description modified (diff)
  • Milestone Awaiting Review deleted

#3 @stephenshalomisraelorg
7 years ago

  • Resolution invalid deleted
  • Status changed from closed to reopened

<pre> בסד</pre>

The ticked was closed by the previous contributor, but the issue remains open on my side. There was not provided any reason why the ticket should be closed, so I am reopening it.

I am using GoDaddy hosting for php.

I pressed Shift-Control-C with the Firefox browser to see its perspective.

<?php
<select id="mySelect126" onchange="myFunction126()">
  <option value="Audi">Audi
  </option><option value="BMW">BMW
  </option><option value="Mercedes">Mercedes
  </option><option value="Volvo">Volvo
        </option></select>
<p id="demo126">Hi There!</p>

For some reason the myFunction126() script is missing. It shows nothing instead of (from the code source):

<?php
<script>
function myFunction126() {
    var x126 = document.getElementById("mySelect126").value;
        document.getElementById("demo126").innerHTML = "You selected: " + x126;
                alert ("New selection!  x126 = " + x126);
}
</script>

#4 @ocean90
7 years ago

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

The reason for the closing was mentioned in comment:1. This Trac is used for enhancements and bug reporting for the WordPress core software.

To diagnose such things you can use our Support Forums.

Note: See TracTickets for help on using tickets.