WordPress.org

Make WordPress Core

Ticket #8831: 8831.diff

File 8831.diff, 2.3 KB (added by Denis-de-Bernardy, 5 years ago)
  • wp-admin/edit-link-category-form.php

     
    7474                        <th scope="row" valign="top"><label for="description"><?php _e('Description (optional)') ?></label></th> 
    7575                        <td><textarea name="description" id="description" rows="5" cols="50" style="width: 97%;"><?php echo $category->description; ?></textarea></td> 
    7676                </tr> 
     77                <?php do_action('in_edit_link_category_form', $category); ?> 
    7778        </table> 
    7879<p class="submit"><input type="submit" class="button-primary" name="submit" value="<?php echo esc_attr($submit_text) ?>" /></p> 
    7980<?php do_action('edit_link_category_form', $category); ?> 
  • wp-admin/edit-tag-form.php

     
    3939                        <td><textarea name="description" id="description" rows="5" cols="50" style="width: 97%;"><?php echo esc_html($tag->description); ?></textarea><br /> 
    4040            <span class="description"><?php _e('The description is not prominent by default, however some themes may show it.'); ?></span></td> 
    4141                </tr> 
     42                <?php do_action('in_edit_tag_form', $tag); ?> 
    4243        </table> 
    4344<p class="submit"><input type="submit" class="button-primary" name="submit" value="<?php esc_attr_e('Update Tag'); ?>" /></p> 
    4445<?php do_action('edit_tag_form', $tag); ?> 
  • wp-admin/edit-category-form.php

     
    6969                        <td><textarea name="category_description" id="category_description" rows="5" cols="50" style="width: 97%;"><?php echo esc_html($category->description); ?></textarea><br /> 
    7070            <span class="description"><?php _e('The description is not prominent by default, however some themes may show it.'); ?></span></td> 
    7171                </tr> 
     72                <?php do_action('in_edit_category_form', $category); ?> 
    7273        </table> 
    7374<p class="submit"><input type="submit" class="button-primary" name="submit" value="<?php esc_attr_e('Update Category'); ?>" /></p> 
    7475<?php do_action('edit_category_form', $category); ?>