Skip to content

Commit 05f7ba1

Browse files
author
Cosmin
committed
small check to see if the view exists, http -> https
1 parent 92df210 commit 05f7ba1

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

inc/admin/welcome-screen/welcome-screen.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -364,7 +364,7 @@ class="nav-tab <?php echo $active_tab == 'changelog' ? 'nav-tab-active' : ''; ?>
364364
break;
365365
case 'demo_content':
366366
$shapely_companion = $this->check_active( 'shapely-companion' );
367-
if ( $shapely_companion['needs'] === 'deactivate' ) {
367+
if ( $shapely_companion['needs'] === 'deactivate' && file_exists( ABSPATH . 'wp-content/plugins/shapely-companion/inc/views/shapely-demo-content.php' ) ) {
368368
require_once ABSPATH . 'wp-content/plugins/shapely-companion/inc/views/shapely-demo-content.php';
369369
}
370370
break;

readme.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
/*========= About Theme =========*/
22

33
Theme Name: Shapely
4-
Theme URI: http://colorlib.com/wp/shapely/
4+
Theme URI: https://colorlib.com/wp/shapely/
55
Version: 1.0.5
66
Tested up to: WP 4.6
77

88
Author: Aigars Silkalns
9-
Author URI: http://colorlib.com/wp/
9+
Author URI: https://colorlib.com/wp/
1010
License: GNU General Public License v3.0
1111
License URI: http://www.gnu.org/licenses/gpl.html
1212
-------------------------------------------------------

0 commit comments

Comments
 (0)