File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff 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 ;
Original file line number Diff line number Diff line change 11/*========= About Theme =========*/
22
33Theme Name: Shapely
4- Theme URI: http ://colorlib.com/wp/shapely/
4+ Theme URI: https ://colorlib.com/wp/shapely/
55Version: 1.0.5
66Tested up to: WP 4.6
77
88Author: Aigars Silkalns
9- Author URI: http ://colorlib.com/wp/
9+ Author URI: https ://colorlib.com/wp/
1010License: GNU General Public License v3.0
1111License URI: http://www.gnu.org/licenses/gpl.html
1212-------------------------------------------------------
You can’t perform that action at this time.
0 commit comments