Make WordPress Core


Ignore:
Timestamp:
02/09/2010 10:56:39 AM (15 years ago)
Author:
dd32
Message:

Rename new taxonomy page hooks to prevent hook conflicts. See #12171

File:
1 edited

Legend:

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

    r13025 r13035  
    2424else
    2525    do_action('edit_tag_form_pre', $tag);
    26 do_action('edit_' . $taxonomy . '_form_pre', $tag, $taxonomy);  ?>
     26do_action($taxonomy . '_pre_edit_form', $tag, $taxonomy);  ?>
    2727
    2828<div class="wrap">
     
    6666        else
    6767            do_action('edit_tag_form_fields', $tag);
    68         do_action('edit_' . $taxonomy . '_form_fields', $tag, $taxonomy);
     68        do_action($taxonomy . '_edit_form_fields', $tag, $taxonomy);
    6969        ?>
    7070    </table>
     
    7272<?php
    7373if ( 'category' == $taxonomy )
    74     do_action('edit_category_form_', $tag);
     74    do_action('edit_category_form', $tag);
    7575else
    76     do_action('edit_tag_form_', $tag);
    77 do_action('edit_' . $taxonomy . '_form', $tag, $taxonomy);
     76    do_action('edit_tag_form', $tag);
     77do_action($taxonomy . '_edit_form', $tag, $taxonomy);
    7878?>
    7979</form>
Note: See TracChangeset for help on using the changeset viewer.