WordPress.org

Make WordPress Core

Opened 9 years ago

Closed 8 years ago

Last modified 5 years ago

#1763 closed defect (bug) (fixed)

Link visibility radiobuttons belong to two different classes

Reported by: seth Owned by:
Milestone: Priority: normal
Severity: normal Version: 1.6
Component: Administration Keywords:
Focuses: Cc:

Description

{{{ <td><label>

<input type="radio" name="link_visible" value="Y" />

Yes</label><br /><label>
<input type="radio" name="visible" checked='checked' value="N" />
No</label></td>
}}}
This is on the Edit Link page, at the bottom. You can't set a link to visible because the names are incompatible.

Change History (2)

comment:1 seth9 years ago

Index: edit-link-form.php
===================================================================
--- edit-link-form.php  (revision 2951)
+++ edit-link-form.php  (working copy)
@@ -216,7 +216,7 @@
            <td><label>
              <input type="radio" name="link_visible" <?php if ($link->link_visible == 'Y') echo "checked='checked'"; ?> value="Y" />
 <?php _e('Yes') ?></label><br /><label>
-<input type="radio" name="visible" <?php if ($link->link_visible == 'N') echo "checked='checked'"; ?> value="N" />
+<input type="radio" name="link_visible" <?php if ($link->link_visible == 'N') echo "checked='checked'"; ?> value="N" />
 <?php _e('No') ?></label></td>
          </tr>
 </table>

comment:2 seth8 years ago

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

Fixed in [3257]

Note: See TracTickets for help on using tickets.