WordPress.org

Make WordPress Core

Ticket #7703: more.validation.warnings.fixes.8841.patch

File more.validation.warnings.fixes.8841.patch, 1.5 KB (added by Simek, 6 years ago)
  • theme-editor.php

     
    101101<div class="wrap"> 
    102102<div class="bordertitle"> 
    103103        <h2><?php _e('Theme Editor'); ?></h2> 
    104         <form id="themeselector" name="theme" action="theme-editor.php" method="post"> 
     104        <form id="themeselector" name="themeselector" action="theme-editor.php" method="post"> 
    105105                <strong><label for="theme"><?php _e('Select theme to edit:'); ?> </label></strong> 
    106106                <select name="theme" id="theme"> 
    107107<?php 
  • users.php

     
    318318<option value="delete"><?php _e('Delete'); ?></option> 
    319319</select> 
    320320<input type="submit" value="<?php _e('Apply'); ?>" name="doaction" class="button-secondary action" /> 
    321 <label class="hidden" for="new_role"><?php _e('Change role to&hellip;') ?></label><select name="new_role" id="new_role"><option value=''><?php _e('Change role to&hellip;') ?></option>"<?php wp_dropdown_roles(); ?></select> 
     321<label class="hidden" for="new_role"><?php _e('Change role to&hellip;') ?></label><select name="new_role" id="new_role"><option value=''><?php _e('Change role to&hellip;') ?></option><?php wp_dropdown_roles(); ?></select> 
    322322<input type="submit" value="<?php _e('Change'); ?>" name="changeit" class="button-secondary" /> 
    323323<?php wp_nonce_field('bulk-users'); ?> 
    324324</div>