Skip to content

Eliminate all direct instantiations of Timber\Core objects outside of Factories #2094

@acobster

Description

@acobster

As part of the new API proposed in #2073, we're making Core constructors protected. But first, we need to make sure we're not directly instantiating these objects outside of factories, or else...

Everything Will Break!

Replace all direct instantiations with calls to Timber::get_post() and friends.

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