Skip to content
This repository has been archived by the owner on Oct 16, 2024. It is now read-only.

Commit

Permalink
Lint fix
Browse files Browse the repository at this point in the history
  • Loading branch information
johnstonphilip committed May 17, 2023
1 parent 616c63a commit 65b8ca8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion wp-modules/editor/model.php
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ function save_pattern_to_file( WP_Post $post ) {
*/
function save_metadata_to_pattern_file( $override, $post_id, $meta_key, $meta_value ) {
$post = get_post( $post_id );

if ( ! isset( $post->post_type ) ) {
return $override;
}
Expand Down

0 comments on commit 65b8ca8

Please sign in to comment.