Skip to content

Commit

Permalink
Prepared 1.1.0 Release
Browse files Browse the repository at this point in the history
  • Loading branch information
robneu committed Jan 17, 2017
1 parent 8a315e0 commit f05f66d
Show file tree
Hide file tree
Showing 25 changed files with 260 additions and 62 deletions.
9 changes: 9 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,12 @@
## 1.1.0
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.

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.

- Tweak: Improved accessibility (accessible close button, better focus management)
- Fix: Prevented a fatal error that could happen when another plugin unsets the WP_Post object on the publish metabox.
- Dev: Updated [Featherlight](https://github.com/noelboss/featherlight/) to `1.7.0`

## 1.0.0
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.

Expand Down
12 changes: 10 additions & 2 deletions admin/class-meta.php
Original file line number Diff line number Diff line change
Expand Up @@ -79,10 +79,18 @@ protected function validate_request( $post_id ) {
* @since 1.0.0
* @access public
*
* @param WP_Post $post Post object.
* @param object $post Post object.
* @return void
*/
public function meta_box_view( WP_Post $post ) {
public function meta_box_view( $post ) {
if ( empty( $post ) ) {
$post = get_post();
}

if ( ! is_object( $post ) || ! isset( $post->post_type ) ) {
return;
}

$type = get_post_type_object( $post->post_type );

if ( ! is_object( $type ) ) {
Expand Down
28 changes: 26 additions & 2 deletions css/wp-featherlight-rtl.css

Large diffs are not rendered by default.

Empty file added css/wp-featherlight-rtl.css.map
Empty file.
2 changes: 1 addition & 1 deletion css/wp-featherlight-rtl.min.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit f05f66d

Please sign in to comment.