Skip to content

Commit 1129385

Browse files
committed
Merge branch 'release/1.19.3'
2 parents 937a7c8 + 55760d4 commit 1129385

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

inc/settings.php

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1315,8 +1315,7 @@ function siteorigin_north_page_settings( $settings, $type, $id ){
13151315
'description' => __( 'Display the page title on this page.', 'siteorigin-north' )
13161316
);
13171317

1318-
if ( $type == 'post' ) $post = get_post( $id );
1319-
if ( ! empty( $post ) && $post->post_type == 'page' ) {
1318+
if ( $type == 'page' ) {
13201319
$settings['featured_image'] = array(
13211320
'type' => 'checkbox',
13221321
'label' => __( 'Page Featured Image', 'siteorigin-north' ),
@@ -1371,8 +1370,7 @@ function siteorigin_north_setup_page_setting_defaults( $defaults, $type, $id ) {
13711370
$defaults['hide_footer_widgets'] = false;
13721371

13731372
// Defaults for page only settings.
1374-
if( $type == 'post' ) $post = get_post( $id );
1375-
if( ! empty( $post ) && $post->post_type == 'page' ) {
1373+
if ( $type == 'page' ) {
13761374
$defaults['featured_image'] = false;
13771375
}
13781376

readme.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,9 @@ Original design files are available on [Google Drive](https://drive.google.com/f
104104

105105
== Changelog ==
106106

107+
= 1.19.3 - 14 November 2021 =
108+
* Restored `Page Featured Image` setting.
109+
107110
= 1.19.2 - 07 November 2021 =
108111
* Updated SiteOrigin Settings framework: Restored Page Template settings for templates (Search, 404) and taxonomies.
109112

0 commit comments

Comments
 (0)