WordPress.org

Make WordPress Core

Changeset 32652


Ignore:
Timestamp:
05/29/2015 04:00:29 PM (6 years ago)
Author:
wonderboymusic
Message:

Add missing annotations to ajax-actions.php`

See #32444.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/includes/ajax-actions.php

    r32642 r32652  
    339339 *
    340340 * @param int $comment_id
    341  * @return die
     341 * @param int $delta
    342342 */
    343343function _wp_ajax_delete_comment_response( $comment_id, $delta = -1 ) {
     
    665665}
    666666
     667/**
     668 * @since 3.1.0
     669 *
     670 * @param string $action
     671 */
    667672function wp_ajax_delete_page( $action ) {
    668673    if ( empty( $action ) )
     
    813818        'what' => 'taxonomy',
    814819        'supplemental' => compact('parents', 'noparents')
    815         ) );
     820    ) );
    816821    $x->add( array(
    817822        'what' => 'term',
    818823        'position' => $level,
    819824        'supplemental' => (array) $tag
    820         ) );
     825    ) );
    821826    $x->send();
    822827}
     
    28242829
    28252830/**
     2831 * @since 4.0.0
    28262832 *
    28272833 * @global WP_Post    $post
     
    28942900 */
    28952901function wp_ajax_destroy_sessions() {
    2896 
    28972902    $user = get_userdata( (int) $_POST['user_id'] );
    28982903    if ( $user ) {
Note: See TracChangeset for help on using the changeset viewer.