wp_comment_trashnotice example

if ( ! in_array( 'commentsdiv', $hidden, true ) ) {
            ?> <script type="text/javascript">jQuery(function(){commentsBox.get(<?php echo $total; ?>, 10);});</script> <?php         }

        ?> <p class="hide-if-no-js" id="show-comments"><a href="#commentstatusdiv" onclick="commentsBox.load(<?php echo $total; ?>);return false;"><?php _e( 'Show comments' ); ?></a> <span class="spinner"></span></p> <?php     }

    wp_comment_trashnotice();
}

/** * Displays slug form fields. * * @since 2.6.0 * * @param WP_Post $post Current post object. */
function post_slug_meta_box( $post ) {
    /** This filter is documented in wp-admin/edit-tag-form.php */
    
echo '</ul>';

        if ( current_user_can( 'edit_posts' ) ) {
            echo '<h3 class="screen-reader-text">' .
                /* translators: Hidden accessibility text. */
                __( 'View more comments' ) .
            '</h3>';
            _get_list_table( 'WP_Comments_List_Table' )->views();
        }

        wp_comment_reply( -1, false, 'dashboard', false );
        wp_comment_trashnotice();

        echo '</div>';
    } else {
        return false;
    }
    return true;
}

/** * Display generic dashboard RSS widget feed. * * @since 2.5.0 * * @param string $widget_id */
<input type="hidden" name="paged" value="<?php echo esc_attr( absint( $_REQUEST['paged'] ) ); ?>" /> <?php } ?> <?php $wp_list_table->display(); ?> </form> </div> <div id="ajax-response"></div> <?php wp_comment_reply( '-1', true, 'detail' );
wp_comment_trashnotice();
require_once ABSPATH . 'wp-admin/admin-footer.php'; ?>
Home | Imprint | This part of the site doesn't use cookies.