WordPress.org

Make WordPress Core

Ticket #6615: edit-link-form.php.diff

File edit-link-form.php.diff, 1.3 KB (added by RanYanivHartstein, 7 years ago)

Patch for better tech description in labels for link target options in link edit form

  • edit-link-form.php

     
    140140<div class="inside"> 
    141141<label for="link_target_blank" class="selectit"> 
    142142<input id="link_target_blank" type="radio" name="link_target" value="_blank" <?php echo(($link->link_target == '_blank') ? 'checked="checked"' : ''); ?> /> 
    143 <code>_blank</code></label><br /> 
     143<?php _e('<code>_blank</code> - new window or tab.'); ?></label><br /> 
    144144<label for="link_target_top" class="selectit"> 
    145145<input id="link_target_top" type="radio" name="link_target" value="_top" <?php echo(($link->link_target == '_top') ? 'checked="checked"' : ''); ?> /> 
    146 <code>_top</code></label><br /> 
     146<?php _e('<code>_top</code> - current window or tab, with no frames.'); ?></label><br /> 
    147147<label for="link_target_none" class="selectit"> 
    148148<input id="link_target_none" type="radio" name="link_target" value="" <?php echo(($link->link_target == '') ? 'checked="checked"' : ''); ?> /> 
    149 <?php _e('none') ?></label> 
    150 <p><?php _e('Choose the frame your link targets. Essentially this means if you choose <code>_blank</code> your link will open in a new window.'); ?></p> 
     149<?php _e('<code>_none</code> - same window or tab.'); ?></label> 
     150<p><?php _e('Choose the frame your link targets.'); ?></p> 
    151151</div> 
    152152</div> 
    153153