Make WordPress Core


Ignore:
Timestamp:
12/06/2014 09:31:41 PM (11 years ago)
Author:
johnbillion
Message:

Improve various hook and filter docs so they are correctly parsed for the code reference.

Fixes #30558
Props DrewAPicture

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/user-new.php

    r30356 r30754  
    281281    }
    282282?>
    283 <?php
    284 /**
    285  * Fires inside the adduser form tag.
    286  *
    287  * @since 3.0.0
    288  */
    289 ?>
    290 <form action="" method="post" name="adduser" id="adduser" class="validate" novalidate="novalidate"<?php do_action( 'user_new_form_tag' );?>>
     283<form action="" method="post" name="adduser" id="adduser" class="validate" novalidate="novalidate"<?php
     284    /**
     285    * Fires inside the adduser form tag.
     286    *
     287    * @since 3.0.0
     288    */
     289    do_action( 'user_new_form_tag' );
     290?>>
    291291<input name="action" type="hidden" value="adduser" />
    292292<?php wp_nonce_field( 'add-user', '_wpnonce_add-user' ) ?>
     
    335335?>
    336336<p><?php _e('Create a brand new user and add them to this site.'); ?></p>
    337 <?php /** This action is documented in wp-admin/user-new.php */ ?>
    338 <form action="" method="post" name="createuser" id="createuser" class="validate" novalidate="novalidate"<?php do_action( 'user_new_form_tag' );?>>
     337<form action="" method="post" name="createuser" id="createuser" class="validate" novalidate="novalidate"<?php
     338    /** This action is documented in wp-admin/user-new.php */
     339    do_action( 'user_new_form_tag' );
     340?>>
    339341<input name="action" type="hidden" value="createuser" />
    340342<?php wp_nonce_field( 'create-user', '_wpnonce_create-user' ); ?>
Note: See TracChangeset for help on using the changeset viewer.