Make WordPress Core


Ignore:
Timestamp:
01/29/2020 12:43:23 AM (5 years ago)
Author:
SergeyBiryukov
Message:

Docs: Improve inline comments per the documentation standards.

Includes minor code layout fixes for better readability.

See #48303.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tests/phpunit/tests/ajax/DeletePlugin.php

    r46586 r47122  
    11<?php
    22/**
    3  * Admin ajax functions to be tested
     3 * Admin Ajax functions to be tested.
    44 */
    55require_once( ABSPATH . 'wp-admin/includes/ajax-actions.php' );
     
    2323        $_POST['slug']        = 'foo';
    2424
    25         // Make the request
     25        // Make the request.
    2626        try {
    2727            $this->_handleAjax( 'delete-plugin' );
     
    4949        $_POST['plugin']      = 'foo/bar.php';
    5050
    51         // Make the request
     51        // Make the request.
    5252        try {
    5353            $this->_handleAjax( 'delete-plugin' );
     
    7676        $_POST['slug']        = 'foo';
    7777
    78         // Make the request
     78        // Make the request.
    7979        try {
    8080            $this->_handleAjax( 'delete-plugin' );
     
    105105        $_POST['slug']        = 'foo';
    106106
    107         // Make the request
     107        // Make the request.
    108108        try {
    109109            $this->_handleAjax( 'delete-plugin' );
     
    134134        $_POST['slug']        = 'foo';
    135135
    136         // Make the request
     136        // Make the request.
    137137        try {
    138138            $this->_handleAjax( 'delete-plugin' );
Note: See TracChangeset for help on using the changeset viewer.