Skip to content
This repository was archived by the owner on Dec 17, 2021. It is now read-only.
This repository was archived by the owner on Dec 17, 2021. It is now read-only.

Global $id should not be used #4

@joshlevinson

Description

@joshlevinson

You left some pretty good comments on why you want to check that the global $id is available, but according to this ticket on trac, usage of the $id is frowned upon. It's also not listed on WordPress' list of global variables.
Is there something else you can use to check the placement of the post?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions