Skip to content

Tags: stacimc/gutenberg

Tags

v9.1.1

Partially verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
We cannot verify signatures from co-authors, and some of the co-authors attributed to this commit require their commits to be signed.
Gutenberg 9.1.1 (WordPress#25894)

* Include edit-widgets php files in build (WordPress#25792)

* Fix PHP warining in widget utils controller (WordPress#25797)

* Fix PHP warning in WP_REST_Widget_Utils_Controller

The `WP_REST_Widget_Utils_Controller::is_valid_widget` method needs to be public in order to be accessible as a callback (since it's being called from outside the class, via `call_user_func`).

This commit fixes the warning by changing the method's visibility from `private` to `public`.

* Ammend the inline documentation. Add `* @access public`

* [Widgets Editor] Fix insertion point in widget areas (WordPress#25727)

* Move hooks inside the newly created Interface component

* Fix insertion at the top of the widget area

* Fix widget insertion from sidebar block library by using a declared insertionPoint prop (WordPress#25763)

* Fix widget insertion from sidebar block library by using a declared insertionPoint prop

* Add comments

* Optimize by avoiding `getEntityRecord` call unless needed

Co-authored-by: Daniel Richards <[email protected]>

* Initialize the state before rendering widgets editor (WordPress#25736)

* Initialize the state before rendering widgets editor

* Replace empty div with null

* Document persistStubPost

* Document persistStubPost further

* Bump version to 9.1.1

* Update changelog

* Fix spaces in changelog.txt

* Adjust spaces in changelog.txt

* Fix link formatting in the changelog

Co-authored-by: Jon Surrell <[email protected]>
Co-authored-by: David Biňovec <[email protected]>
Co-authored-by: Kai Hao <[email protected]>
Co-authored-by: Daniel Richards <[email protected]>