PluginProbe
WP Coder – Insert & Manage Code Snippets / trunk
WP Coder – Insert & Manage Code Snippets vtrunk
4.5.1 1.1 2.3.1 2.3.2 2.4.1 2.5.1 2.5.2 2.5.3 2.5.4 2.5.5 2.5.6 3.0 3.0.1 3.0.2 3.0.3 3.0.4 3.0.5 3.1 3.1.1 3.2 3.2.1 3.3 3.4 3.5 3.5.1 All 39 releases
← All changes | includes/settings/options/js-code.php +13 -6 3.2trunk View file →
@@ -6,23 +6,28 @@
6 6
7 7 'jquery' => [
8 8 'type' => 'checkbox',
9 9 'name' => '[jquery_dependency]',
10 - 'title' => __( 'JQuery Dependency', 'wpcoder' ),
11 - 'text' => __( 'Disable', 'wpcoder' ),
10 + 'title' => __( 'Disable jQuery', 'wp-coder' ),
11 + 'text' => __( 'Disable', 'wp-coder' ),
12 + 'class' => 'is-reverse',
13 + 'tooltip' => __( 'Don’t include jQuery as a dependency for this script.', 'wp-coder' ),
12 14 ],
13 15
14 16 'inline' => [
15 17 'type' => 'checkbox',
16 18 'name' => '[inline_js]',
17 - 'title' => __( 'Inline', 'wpcoder' ),
18 - 'text' => __( 'Enable', 'wpcoder' ),
19 + 'title' => __( 'Inline', 'wp-coder' ),
20 + 'text' => __( 'Enable', 'wp-coder' ),
21 + 'class' => 'is-reverse',
22 + 'tooltip' => __( 'Insert JavaScript directly into the page.', 'wp-coder' ),
23 +
19 24 ],
20 25
21 26 'minified' => [
22 27 'type' => 'select',
23 28 'name' => '[minified_js]',
24 - 'title' => __( 'Minified', 'floating-button' ),
29 + 'title' => __( 'Minified', 'wp-coder' ),
25 30 'default' => 'obfuscate',
26 31 'options' => [
27 32 'none' => 'none',
28 33 'minify' => 'Minify',
@@ -27,19 +32,21 @@
27 32 'none' => 'none',
28 33 'minify' => 'Minify',
29 34 'obfuscate' => 'Obfuscate'
30 35 ],
36 + 'tooltip' => __( 'Choose how to minimize or obfuscate the JavaScript code.', 'wp-coder' ),
31 37 ],
32 38
33 39 'attributes' => [
34 40 'type' => 'select',
35 41 'name' => '[js_attributes]',
36 - 'title' => __( 'Attribute', 'floating-button' ),
42 + 'title' => __( 'Attribute', 'wp-coder' ),
37 43 'options' => [
38 44 0 => 'none',
39 45 'defer' => 'defer',
40 46 'async' => 'async'
41 47 ],
48 + 'tooltip' => __( 'Specify how the script should be loaded.', 'wp-coder' ),
42 49 ],
43 50
44 51 'js_code' => [
45 52 'type' => 'textarea',