Skip to content

Conversation

@jaxwilko
Copy link
Member

By default, Block::put('key') & Block::endPut() defaults to overwriting instead of appending.

This change means calls to Block::append('head', $content) will function correctly for the dashboard.

@what-the-diff
Copy link

what-the-diff bot commented Feb 10, 2023

  • The endPut() method was changed to accept a boolean parameter.
  • If the value of this parameter is true, then it will render the block immediately instead of waiting for all blocks to be rendered at once in Block::end().

@jaxwilko
Copy link
Member Author

  • The endPut() method was changed to accept a boolean parameter.
  • If the value of this parameter is true, then it will render the block immediately instead of waiting for all blocks to be rendered at once in Block::end().

Bad bot

@bennothommo bennothommo added Status: Completed maintenance PRs that fix bugs, are translation changes or make only minor changes labels Feb 11, 2023
@bennothommo bennothommo added this to the v1.2.2 milestone Feb 11, 2023
@bennothommo bennothommo merged commit 24f875d into develop Feb 11, 2023
@bennothommo bennothommo deleted the jaxwilko-patch-2 branch February 11, 2023 01:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

maintenance PRs that fix bugs, are translation changes or make only minor changes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants