Skip to content

Commit

Permalink
Merge branch 'release/1.19.3'
Browse files Browse the repository at this point in the history
  • Loading branch information
Misplon committed Nov 14, 2021
2 parents 937a7c8 + 55760d4 commit 1129385
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
6 changes: 2 additions & 4 deletions inc/settings.php
Original file line number Diff line number Diff line change
Expand Up @@ -1315,8 +1315,7 @@ function siteorigin_north_page_settings( $settings, $type, $id ){
'description' => __( 'Display the page title on this page.', 'siteorigin-north' )
);

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

// Defaults for page only settings.
if( $type == 'post' ) $post = get_post( $id );
if( ! empty( $post ) && $post->post_type == 'page' ) {
if ( $type == 'page' ) {
$defaults['featured_image'] = false;
}

Expand Down
3 changes: 3 additions & 0 deletions readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,9 @@ Original design files are available on [Google Drive](https://drive.google.com/f

== Changelog ==

= 1.19.3 - 14 November 2021 =
* Restored `Page Featured Image` setting.

= 1.19.2 - 07 November 2021 =
* Updated SiteOrigin Settings framework: Restored Page Template settings for templates (Search, 404) and taxonomies.

Expand Down

0 comments on commit 1129385

Please sign in to comment.