Skip to content

Commit c0d3385

Browse files
committed
Spelling corrections
Signed-off-by: Kev Provance <kevin.provance@gmail.com>
1 parent 7dcb71c commit c0d3385

File tree

3 files changed

+12
-14
lines changed

3 files changed

+12
-14
lines changed

sample/barebones-config.php

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@
4444
'menu_title' => esc_html__( 'Sample Options', 'your-textdomain-here' ),
4545
'page_title' => esc_html__( 'Sample Options', 'your-textdomain-here' ),
4646

47-
// Disable this in case you want to create your own google fonts loader.
47+
// Disable this in case you want to create your own Google fonts loader.
4848
'disable_google_fonts_link' => false,
4949

5050
// Show the panel pages on the admin bar.
@@ -53,7 +53,7 @@
5353
// Choose an icon for the admin bar menu.
5454
'admin_bar_icon' => 'dashicons-portfolio',
5555

56-
// Choose an priority for the admin bar menu.
56+
// Choose a priority for the admin bar menu.
5757
'admin_bar_priority' => 50,
5858

5959
// Set a different name for your global variable other than the opt_name.
@@ -108,7 +108,7 @@
108108
'output_tag' => true,
109109

110110
// FUTURE -> Not in use yet, but reserved or partially implemented. Use at your own risk.
111-
// possible: options, theme_mods, theme_mods_expanded, transient. Not fully functional, warning!
111+
// Possible: options, theme_mods, theme_mods_expanded, transient. Not fully functional, warning!
112112
'database' => '',
113113

114114
// If you prefer not to use the CDN for Select2, Ace Editor, and others, you may download the Redux Vendor Support plugin yourself and run locally or embed it in your code.
@@ -119,7 +119,7 @@
119119
'flyout_submenus' => true,
120120

121121
// Mode to display fonts (auto|block|swap|fallback|optional)
122-
// See: https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display
122+
// See: https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display .
123123
'font_display' => 'swap',
124124

125125
// HINTS.
@@ -190,17 +190,18 @@
190190
);
191191
$args['share_icons'][] = array(
192192
'url' => '//www.linkedin.com/company/redux-framework',
193-
'title' => esc_html__( 'FInd us on LinkedIn', 'your-textdomain-here' ),
193+
'title' => esc_html__( 'Find us on LinkedIn', 'your-textdomain-here' ),
194194
'icon' => 'el el-linkedin',
195195
);
196196

197197
// Panel Intro text -> before the form.
198-
if ( ! isset( $args['global_variable'] ) || false !== $args['global_variable'] ) {
198+
if ( false !== $args['global_variable'] ) {
199199
if ( ! empty( $args['global_variable'] ) ) {
200200
$v = $args['global_variable'];
201201
} else {
202202
$v = str_replace( '-', '_', $args['opt_name'] );
203203
}
204+
204205
$args['intro_text'] = '<p>' . sprintf( __( 'Did you know that Redux sets a global variable for you? To access any of your saved options from within your code you can use your global variable: $s', 'your-textdomain-here' ) . '</p>', '<strong>' . $v . '</strong>' );
205206
} else {
206207
$args['intro_text'] = '<p>' . esc_html__( 'This text is displayed above the options panel. It isn\'t required, but more info is always better! The intro_text field accepts all HTML.', 'your-textdomain-here' ) . '</p>';
@@ -274,7 +275,7 @@
274275
'desc' => esc_html__( 'Example description.', 'your-textdomain-here' ),
275276
'subtitle' => esc_html__( 'Example subtitle.', 'your-textdomain-here' ),
276277
'hint' => array(
277-
'content' => wp_kses( __( 'This is a <strong>hint</strong> tool-tip for the text field.<br/><br/>Add any HTML based text you like here.', 'your-textdomain-here' ), $kses_exceptions ),
278+
'content' => wp_kses( __( 'This is a <strong>hint</strong> tool-tip for the text field.<br/><br/>Add any HTML-based text you like here.', 'your-textdomain-here' ), $kses_exceptions ),
278279
),
279280
),
280281
),

sample/info-html.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<style type="text/css">
1+
<style>
22
/*
33
Parallax Experiment
44
Date: 2nd April 2009
@@ -60,8 +60,8 @@
6060

6161
<div id="content">
6262
<h2>Raw Field</h2>
63-
<p>You can embed any type of content in an raw field. Then you can have all kinds of fun with Redux!</p>
63+
<p>You can embed any type of content in a raw field. Then you can have all kinds of fun with Redux!</p>
6464
</div>
6565
</div>
6666
</div>
67-
</div>
67+
</div>

sample/metaboxes.php

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,6 @@
22
/**
33
* Redux Framework Sample Metabox Config File
44
* For full documentation, please visit: http:https://devs.redux.io/
5-
* Metabox Lite support the following fields only: checkbox, radio, text, textarea, media, & color
6-
* Post Format and Post Template options are not avaialble in Metabox Lite.
7-
* These advanced options are available in Redux Pro.
85
*
96
* @package Redux Framework
107
*/
@@ -162,7 +159,7 @@
162159
'id' => 'slides',
163160
'type' => 'slides',
164161
'title' => esc_html__( 'Slides Options', 'your-textdomain-here' ),
165-
'subtitle' => esc_html__( 'Unlimited slides with drag and drop sortings.', 'your-textdomain-here' ),
162+
'subtitle' => esc_html__( 'Unlimited slides with drag and drop sorting.', 'your-textdomain-here' ),
166163
'desc' => esc_html__( 'This field will store all slides values into a multidimensional array to use into a foreach loop.', 'your-textdomain-here' ),
167164
),
168165
),

0 commit comments

Comments
 (0)