Skip to content
This repository was archived by the owner on Jun 19, 2026. It is now read-only.

Commit f05f66d

Browse files
committed
Prepared 1.1.0 Release
1 parent 8a315e0 commit f05f66d

25 files changed

Lines changed: 260 additions & 62 deletions

CHANGELOG.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,12 @@
1+
## 1.1.0
2+
Thanks to some changes implemented in the core featherlight script, the accessibility of WP Featherlight is now significantly improved. Lightboxed elements now have more appropriate focus management for screen readers and the close button is more accessible.
3+
4+
This update also fixes a potential plugin compatibly problem in the WordPress admin. In version 1.0, it was possible under unusual circumstances for the plugin to throw a fatal error when attempting to add the disable checkbox to the publish metabox.
5+
6+
- Tweak: Improved accessibility (accessible close button, better focus management)
7+
- Fix: Prevented a fatal error that could happen when another plugin unsets the WP_Post object on the publish metabox.
8+
- Dev: Updated [Featherlight](https://github.com/noelboss/featherlight/) to `1.7.0`
9+
110
## 1.0.0
211
Even though this is a major version change, this is primarily a maintenance release. The reason for the jump to 1.0.0 is because we've changed some code which could break backwards compatibility with custom extensions and integrations.
312

admin/class-meta.php

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -79,10 +79,18 @@ protected function validate_request( $post_id ) {
7979
* @since 1.0.0
8080
* @access public
8181
*
82-
* @param WP_Post $post Post object.
82+
* @param object $post Post object.
8383
* @return void
8484
*/
85-
public function meta_box_view( WP_Post $post ) {
85+
public function meta_box_view( $post ) {
86+
if ( empty( $post ) ) {
87+
$post = get_post();
88+
}
89+
90+
if ( ! is_object( $post ) || ! isset( $post->post_type ) ) {
91+
return;
92+
}
93+
8694
$type = get_post_type_object( $post->post_type );
8795

8896
if ( ! is_object( $type ) ) {

css/wp-featherlight-rtl.css

Lines changed: 26 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

css/wp-featherlight-rtl.css.map

Whitespace-only changes.

css/wp-featherlight-rtl.min.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)