Skip to content

Commit 400605c

Browse files
committed
spellcheck
1 parent 9446815 commit 400605c

File tree

3 files changed

+10
-3
lines changed

3 files changed

+10
-3
lines changed

views/about.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@
144144

145145
<?php if( CSF::$premium ) { ?>
146146
<hr />
147-
<h5>You can disable this page with:</h5>
147+
<h5>You can force to disable this page with (it would works for only premium users):</h5>
148148
<div class="csf-code-block">
149149
<pre>
150150
add_filter( 'csf_welcome_page', '__return_false' );

views/free-vs-premium.php

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,12 @@
4242
<td><i class="fa fa-check"></i></td>
4343
</tr>
4444

45+
<tr>
46+
<td>Widget Option Framework</td>
47+
<td><i class="fa fa-times"></i></td>
48+
<td><i class="fa fa-check"></i></td>
49+
</tr>
50+
4551
<tr>
4652
<td>All Option Fields</td>
4753
<td><i class="fa fa-times"></i></td>
@@ -79,7 +85,7 @@
7985
</tr>
8086

8187
<tr>
82-
<td>Support Service</td>
88+
<td>Support Forum</td>
8389
<td><i class="fa fa-times"></i></td>
8490
<td><i class="fa fa-check"></i></td>
8591
</tr>

views/welcome.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ class CSF_Welcome{
1414

1515
public function __construct() {
1616

17-
if( CSF::$premium && apply_filters( 'csf_welcome_page', true ) === false ) { return; }
17+
if( CSF::$premium && ( ! CSF::is_used_as_plugin() || apply_filters( 'csf_welcome_page', true ) === false ) ) { return; }
1818

1919
add_action( 'admin_menu', array( &$this, 'add_about_menu' ), 0 );
2020
add_filter( 'plugin_action_links', array( &$this, 'add_plugin_action_links' ), 10, 5 );
@@ -116,6 +116,7 @@ public function set_demo_mode() {
116116
CSF::include_plugin_file( 'samples/metabox.samples.php' );
117117
CSF::include_plugin_file( 'samples/shortcoder.samples.php' );
118118
CSF::include_plugin_file( 'samples/taxonomy-options.samples.php' );
119+
CSF::include_plugin_file( 'samples/widgets.samples.php' );
119120

120121
}
121122

0 commit comments

Comments
 (0)