Changeset 46684 for trunk/src/wp-admin/edit-tag-form.php
- Timestamp:
- 11/09/2019 12:57:27 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/edit-tag-form.php
r45674 r46684 22 22 * @param WP_Term $tag Current category term object. 23 23 */ 24 do_action ( 'edit_category_form_pre', $tag);24 do_action_deprecated( 'edit_category_form_pre', array( $tag ), '3.0.0', '{$taxonomy}_pre_edit_form' ); 25 25 } elseif ( 'link_category' == $taxonomy ) { 26 26 /** … … 32 32 * @param WP_Term $tag Current link category term object. 33 33 */ 34 do_action ( 'edit_link_category_form_pre', $tag);34 do_action_deprecated( 'edit_link_category_form_pre', array( $tag ), '3.0.0', '{$taxonomy}_pre_edit_form' ); 35 35 } else { 36 36 /** … … 42 42 * @param WP_Term $tag Current tag term object. 43 43 */ 44 do_action ( 'edit_tag_form_pre', $tag);44 do_action_deprecated( 'edit_tag_form_pre', array( $tag ), '3.0.0', '{$taxonomy}_pre_edit_form' ); 45 45 } 46 46 … … 202 202 * @param WP_Term $tag Current category term object. 203 203 */ 204 do_action ( 'edit_category_form_fields', $tag);204 do_action_deprecated( 'edit_category_form_fields', array( $tag ), '3.0.0', '{$taxonomy}_edit_form_fields' ); 205 205 } elseif ( 'link_category' == $taxonomy ) { 206 206 /** … … 212 212 * @param WP_Term $tag Current link category term object. 213 213 */ 214 do_action ( 'edit_link_category_form_fields', $tag);214 do_action_deprecated( 'edit_link_category_form_fields', array( $tag ), '3.0.0', '{$taxonomy}_edit_form_fields' ); 215 215 } else { 216 216 /** … … 222 222 * @param WP_Term $tag Current tag term object. 223 223 */ 224 do_action ( 'edit_tag_form_fields', $tag);224 do_action_deprecated( 'edit_tag_form_fields', array( $tag ), '3.0.0', '{$taxonomy}_edit_form_fields' ); 225 225 } 226 226 /** … … 242 242 if ( 'category' == $taxonomy ) { 243 243 /** This action is documented in wp-admin/edit-tags.php */ 244 do_action ( 'edit_category_form', $tag);244 do_action_deprecated( 'edit_category_form', array( $tag ), '3.0.0', '{$taxonomy}_add_form' ); 245 245 } elseif ( 'link_category' == $taxonomy ) { 246 246 /** This action is documented in wp-admin/edit-tags.php */ 247 do_action ( 'edit_link_category_form', $tag);247 do_action_deprecated( 'edit_link_category_form', array( $tag ), '3.0.0', '{$taxonomy}_add_form' ); 248 248 } else { 249 249 /** … … 255 255 * @param WP_Term $tag Current taxonomy term object. 256 256 */ 257 do_action ( 'edit_tag_form', $tag);257 do_action_deprecated( 'edit_tag_form', array( $tag ), '3.0.0', '{$taxonomy}_edit_form' ); 258 258 } 259 259 /**
Note: See TracChangeset
for help on using the changeset viewer.