Ticket #2789: 2789c.diff

File 2789c.diff, 1.5 kB (added by westi, 2 years ago)

The missed hunk from 2789b that didn't make it

  • wp-admin/link-categories.php

    old new  
    356356                <td nowrap="nowrap"><?php echo wp_specialchars($row->text_after_all)?></td> 
    357357                <td><?php echo $row->list_limit ?></td> 
    358358                <td><a href="link-categories.php?cat_id=<?php echo $row->cat_id?>&amp;action=Edit" class="edit"><?php _e('Edit') ?></a></td> 
    359                 <td><a href="<?php echo wp_nonce_url("link-categories.php?cat_id=$row->cat_id?>&amp;action=Delete", 'delete-link-category_' . $row->cat_id) ?>" onclick="return deleteSomething( 'link category', <?php echo $row->cat_id . ", '" . sprintf(__("You are about to delete the &quot;%s&quot; link category.\\n&quot;Cancel&quot; to stop, &quot;OK&quot; to delete."), js_escape($row->cat_name)); ?>' );" class="delete"><?php _e('Delete') ?></a></td> 
     359                <td> 
     360                                <?php if (1 == $row->cat_id ) {  
     361                                        _e('Default'); 
     362                                } else { ?> 
     363                                        <a href="<?php echo wp_nonce_url("link-categories.php?cat_id=$row->cat_id?>&amp;action=Delete", 'delete-link-category_' . $row->cat_id) ?>" onclick="return deleteSomething( 'link category', <?php echo $row->cat_id . ", '" . sprintf(__("You are about to delete the &quot;%s&quot; link category.\\n&quot;Cancel&quot; to stop, &quot;OK&quot; to delete."), js_escape($row->cat_name)); ?>' );" class="delete"><?php _e('Delete') ?></a></td> 
     364                                <?php } ?> 
    360365              </tr> 
    361366<?php 
    362367        ++$i;