Skip to content

Commit

Permalink
Merge pull request #1134 from alleyinteractive/fix/customize-json-war…
Browse files Browse the repository at this point in the history
…ning

Fix bug with accessing settings on components
  • Loading branch information
kevinfodness authored Jun 5, 2024
2 parents fef101a + 4d42f22 commit 27dd9e7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion includes/apple-exporter/components/class-component.php
Original file line number Diff line number Diff line change
Expand Up @@ -275,7 +275,7 @@ public function __construct(
if ( empty( $parser ) ) {

// Load format from settings.
$format = ( 'yes' === $this->settings->html_support )
$format = ( 'yes' === $this->settings?->html_support )
? 'html'
: 'markdown';

Expand Down

0 comments on commit 27dd9e7

Please sign in to comment.