Skip to content

Docblock in tests\bootstrap.php out of date #714

Description

@bobbingwide

The docblock in tests\bootstrap.php appears to have been copied from https://github.com/blobaugh/wordpress-plugin-tests
which uses a method of loading the plugin that's now been deprecated.

 * Edit 'active_plugins' setting below to point to your main plugin file.
 *
 * @package wordpress-plugin-tests

I would argue that both the instruction and package are wrong.

Also that the double slash comments that follow could be improved.

// Support for:
// 1. `WP_DEVELOP_DIR` environment variable
// 2. Plugin installed inside of WordPress.org developer checkout
// 3. Tests checked out to /tmp

Perhaps it's just a case of updating 1. to reference the environment variables that are tested before you go digging around.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions