Skip to content

2.x Revert final constructors#2827

Merged
gchtr merged 1 commit into2.xfrom
2.x-revert-final-constructors
Oct 26, 2023
Merged

2.x Revert final constructors#2827
gchtr merged 1 commit into2.xfrom
2.x-revert-final-constructors

Conversation

@gchtr
Copy link
Copy Markdown
Member

@gchtr gchtr commented Oct 24, 2023

Related:

Issue

The final constructors prevent advanced use cases as described in #2813. We don’t want to make it so hard to work around it. But we first need to figure out a proper solution for this.

Solution

Revert that pull request for 2.x and figure out a better solution in a future release.

Impact

Less trouble to incorporate advanced coding patterns with Timber.

Usage Changes

None.

Considerations

None.

Testing

No.

Copy link
Copy Markdown
Member

@jarednova jarednova left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! I had filed a ticket years ago w/ WordPress core about the finals on Post objects. So similar thinking! (though "takes the jelly out of my doughnut is a much more vibrant way to express it")

@gchtr gchtr merged commit a5b76bf into 2.x Oct 26, 2023
@gchtr gchtr deleted the 2.x-revert-final-constructors branch October 26, 2023 06:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants