We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f19c925 commit 92c3ccaCopy full SHA for 92c3cca
1 file changed
wp-admin/options-permalink.php
@@ -36,6 +36,9 @@ function upit() {
36
function blurry() {
37
if (!document.getElementById) return;
38
39
+var structure = document.getElementById('permalink_structure');
40
+structure.onfocus = function () { document.getElementById('custom_selection').checked = 'checked'; }
41
+
42
var aInputs = document.getElementsByTagName('input');
43
44
for (var i = 0; i < aInputs.length; i++) {
@@ -135,7 +138,7 @@ function blurry() {
135
138
</p>
136
139
<p>
137
140
<label>
-<input name="selection" type="radio" value="custom" class="tog"
141
+<input name="selection" id="custom_selection" type="radio" value="custom" class="tog"
142
<?php if ( !in_array($permalink_structure, $structures) ) { ?>
143
checked="checked"
144
<?php } ?>
0 commit comments