WordPress.org

Make WordPress Core

Changeset 38629


Ignore:
Timestamp:
09/20/16 13:32:33 (14 months ago)
Author:
SergeyBiryukov
Message:

Docs: Correct the description of {$taxonomy}_term_new_form_tag hook, making it more consistent with other *_form_tag hooks.

Props BjornW.
Fixes #38104.

Location:
trunk/src/wp-admin
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/edit-tag-form.php

    r37703 r38629  
    9090<div id="ajax-response"></div> 
    9191 
    92 <form name="edittag" id="edittag" method="post" action="edit-tags.php" class="validate" 
    93 <?php 
     92<form name="edittag" id="edittag" method="post" action="edit-tags.php" class="validate"<?php 
    9493/** 
    9594 * Fires inside the Edit Term form tag. 
    9695 * 
    97  * The dynamic portion of the hook name, `$taxonomy`, refers to 
    98  * the taxonomy slug. 
     96 * The dynamic portion of the hook name, `$taxonomy`, refers to the taxonomy slug. 
    9997 * 
    10098 * @since 3.7.0 
  • trunk/src/wp-admin/edit-tags.php

    r38077 r38629  
    393393<div class="form-wrap"> 
    394394<h2><?php echo $tax->labels->add_new_item; ?></h2> 
    395 <form id="addtag" method="post" action="edit-tags.php" class="validate" 
    396 <?php 
     395<form id="addtag" method="post" action="edit-tags.php" class="validate"<?php 
    397396/** 
    398  * Fires at the beginning of the Add Tag form. 
     397 * Fires inside the Add Tag form tag. 
    399398 * 
    400399 * The dynamic portion of the hook name, `$taxonomy`, refers to the taxonomy slug. 
Note: See TracChangeset for help on using the changeset viewer.