Skip to content

Commit b458f62

Browse files
committed
= 1.1.31 = 2022-12-09
* ADDED: Warning message to caution users of using improper code or untrusted sources code that can break site or create security risks. * UPDATED: Compatibility with WordPress 6.1.1
1 parent 4a31c9a commit b458f62

File tree

6 files changed

+59
-38
lines changed

6 files changed

+59
-38
lines changed

99robots-header-footer-code-manager.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
* Plugin Name: Header Footer Code Manager
44
* Plugin URI: https://draftpress.com/products
55
* Description: Header Footer Code Manager by 99 Robots is a quick and simple way for you to add tracking code snippets, conversion pixels, or other scripts required by third party services for analytics, tracking, marketing, or chat functions. For detailed documentation, please visit the plugin's <a href="https://draftpress.com/"> official page</a>.
6-
* Version: 1.1.30
6+
* Version: 1.1.31
77
* Requires at least: 4.9
88
* Requires PHP: 5.6.20
99
* Author: 99robots

css/style-admin.css

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,9 @@
3232
.padding20 {
3333
padding: 20px !important;
3434
}
35+
.nnr-padding10 {
36+
padding: 10px !important;
37+
}
3538
/* toggle switch */
3639

3740
.round-toggle {
@@ -124,4 +127,4 @@ input.round-toggle-round-flat:checked + label:hover {
124127
#wpbody .hfcm-form-width select[multiple] {
125128
height: auto;
126129
}
127-
}
130+
}

includes/hfcm-add-edit.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -403,6 +403,10 @@
403403
<div class="nnr-mt-20 nnr-hfcm-codeeditor-box">
404404
<textarea name="data[snippet]" aria-describedby="nnr-newcontent-description" id="nnr_newcontent"
405405
rows="20"><?php echo html_entity_decode($snippet); ?></textarea>
406+
407+
<p class="notice notice-warning nnr-padding10" id="nnr-snippet-warning">
408+
<?php _e( 'Warning: Using improper code or untrusted sources code can break your site or create security risks. <a href="https://draftpress.com/security-risks-of-wp-plugins-that-allow-code-editing-or-insertion" target="_blank">Learn more</a>.', 'header-footer-code-manager' ); ?>
409+
</p>
406410
<div class="wp-core-ui">
407411
<input type="submit"
408412
name="<?php echo $update ? 'update' : 'insert'; ?>"
450 Bytes
Binary file not shown.

languages/header-footer-code-manager-hi_IN.po

Lines changed: 44 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@ msgid ""
22
msgstr ""
33
"Project-Id-Version: Header Footer Code Manager\n"
44
"Report-Msgid-Bugs-To: \n"
5-
"POT-Creation-Date: 2022-07-15 14:48+0530\n"
6-
"PO-Revision-Date: 2022-07-15 14:49+0530\n"
5+
"POT-Creation-Date: 2022-12-08 01:02+0530\n"
6+
"PO-Revision-Date: 2022-12-08 01:03+0530\n"
77
"Last-Translator: fran <[email protected]>\n"
88
"Language-Team: \n"
99
"Language: hi\n"
@@ -19,7 +19,7 @@ msgstr ""
1919
"esc_html_e:1;esc_attr_x:1,2c;esc_html_x:1,2c;comments_number_link:2,3;t:1;st:1;trans:1;"
2020
"transChoice:1,2\n"
2121
"X-Loco-Target-Locale: hi_IN\n"
22-
"X-Generator: Poedit 3.1.1\n"
22+
"X-Generator: Poedit 3.2.2\n"
2323
"X-Poedit-SearchPath-0: ..\n"
2424

2525
#: ../99robots-header-footer-code-manager.php:227
@@ -40,9 +40,9 @@ msgid "All Snippets"
4040
msgstr "सभी स्निपेट"
4141

4242
#: ../99robots-header-footer-code-manager.php:248
43-
#: ../99robots-header-footer-code-manager.php:1107
43+
#: ../99robots-header-footer-code-manager.php:1129
4444
#: ../header-footer-code-manager/99robots-header-footer-code-manager.php:248
45-
#: ../header-footer-code-manager/99robots-header-footer-code-manager.php:1107
45+
#: ../header-footer-code-manager/99robots-header-footer-code-manager.php:1129
4646
#: ../header-footer-code-manager/includes/hfcm-add-edit.php:28
4747
#: ../header-footer-code-manager/includes/hfcm-add-edit.php:31
4848
#: ../includes/hfcm-add-edit.php:28 ../includes/hfcm-add-edit.php:31
@@ -70,7 +70,7 @@ msgstr "स्क्रिप्ट अपडेट करें"
7070
#: ../99robots-header-footer-code-manager.php:269
7171
#: ../header-footer-code-manager/99robots-header-footer-code-manager.php:269
7272
#: ../header-footer-code-manager/includes/hfcm-add-edit.php:409
73-
#: ../includes/hfcm-add-edit.php:409
73+
#: ../includes/hfcm-add-edit.php:413
7474
msgid "Update"
7575
msgstr "अपडेट करें"
7676

@@ -95,28 +95,28 @@ msgid ""
9595
"Hey there! You’ve been using the <strong>Header Footer Code Manager</strong> plugin for a "
9696
"while now. If you like the plugin, please support our awesome development and support "
9797
"team by leaving a <a class=\"hfcm-review-stars\" href=\"https://wordpress.org/support/"
98-
"plugin/header-footer-code-manager/reviews/\"><span class=\"dashicons dashicons-star-filled"
99-
"\"></span><span class=\"dashicons dashicons-star-filled\"></span><span class=\"dashicons "
100-
"dashicons-star-filled\"></span><span class=\"dashicons dashicons-star-filled\"></"
101-
"span><span class=\"dashicons dashicons-star-filled\"></span></a> rating. <a href="
102-
"\"https://wordpress.org/support/plugin/header-footer-code-manager/reviews/\">Rate it!</a> "
103-
"It’ll mean the world to us and keep this plugin free and constantly updated. <a href="
104-
"\"https://wordpress.org/support/plugin/header-footer-code-manager/reviews/\">Leave A "
98+
"plugin/header-footer-code-manager/reviews/\"><span class=\"dashicons dashicons-star-"
99+
"filled\"></span><span class=\"dashicons dashicons-star-filled\"></span><span "
100+
"class=\"dashicons dashicons-star-filled\"></span><span class=\"dashicons dashicons-star-"
101+
"filled\"></span><span class=\"dashicons dashicons-star-filled\"></span></a> rating. <a "
102+
"href=\"https://wordpress.org/support/plugin/header-footer-code-manager/reviews/\">Rate it!"
103+
"</a> It’ll mean the world to us and keep this plugin free and constantly updated. <a "
104+
"href=\"https://wordpress.org/support/plugin/header-footer-code-manager/reviews/\">Leave A "
105105
"Review</a>"
106106
msgstr ""
107107
"नमस्ते! आप पिछले कुछ समय से <strong>हैडर फूटर कोड मैनेजर</strong> प्लगइन का उपयोग कर रहे हैं। यदि आप "
108108
"प्लगइन पसंद करते हैं, तो कृपया <a class=\"hfcm-review-stars\" href=\"https://wordpress.org/"
109109
"support/plugin/header-footer-code-manager/reviews/\"><span class=\"dashicons dashicons-"
110-
"star-filled\"></span><span class=\"dashicons dashicons-star-filled\"></span><span class="
111-
"\"dashicons dashicons-star-filled\"></span><span class=\"dashicons dashicons-star-filled"
112-
"\"></span><span class=\"dashicons dashicons-star-filled\"></span></a>रेटिंग देकर हमारी "
110+
"star-filled\"></span><span class=\"dashicons dashicons-star-filled\"></span><span "
111+
"class=\"dashicons dashicons-star-filled\"></span><span class=\"dashicons dashicons-star-"
112+
"filled\"></span><span class=\"dashicons dashicons-star-filled\"></span></a>रेटिंग देकर हमारी "
113113
"शानदार विकास और सहायता टीम का समर्थन करें। <a href=\"https://wordpress.org/support/plugin/"
114114
"header-footer-code-manager/reviews/\">इसे रेट करें!</a> यह हमारे लिए दुनिया का मतलब होगा और इस "
115115
"प्लगइन को मुक्त और लगातार अपडेट रखेगा। <a href=\"https://wordpress.org/support/plugin/header-"
116116
"footer-code-manager/reviews/\">समीक्षा लिखें</a>"
117117

118-
#: ../99robots-header-footer-code-manager.php:1070
119-
#: ../header-footer-code-manager/99robots-header-footer-code-manager.php:1070
118+
#: ../99robots-header-footer-code-manager.php:1092
119+
#: ../header-footer-code-manager/99robots-header-footer-code-manager.php:1092
120120
msgid ""
121121
"Please deactivate the free version of this plugin in order to avoid duplication of the "
122122
"snippets.\n"
@@ -127,22 +127,22 @@ msgstr ""
127127
" आप इस प्लगइन के मुफ्त संस्करण से सभी स्निपेट आयात करने के लिए हमारे टूल का उपयोग "
128128
"कर सकते हैं।"
129129

130-
#: ../99robots-header-footer-code-manager.php:1105
131-
#: ../header-footer-code-manager/99robots-header-footer-code-manager.php:1105
130+
#: ../99robots-header-footer-code-manager.php:1127
131+
#: ../header-footer-code-manager/99robots-header-footer-code-manager.php:1127
132132
#: ../header-footer-code-manager/includes/class-hfcm-snippets-list.php:18
133133
#: ../includes/class-hfcm-snippets-list.php:18
134134
msgid "Snippets"
135135
msgstr "स्निपेट्स"
136136

137-
#: ../99robots-header-footer-code-manager.php:1114
138-
#: ../header-footer-code-manager/99robots-header-footer-code-manager.php:1114
137+
#: ../99robots-header-footer-code-manager.php:1136
138+
#: ../header-footer-code-manager/99robots-header-footer-code-manager.php:1136
139139
msgid "Search Snippets"
140140
msgstr "स्निपेट खोजें"
141141

142-
#: ../99robots-header-footer-code-manager.php:1202
143-
#: ../99robots-header-footer-code-manager.php:1217
144-
#: ../header-footer-code-manager/99robots-header-footer-code-manager.php:1202
145-
#: ../header-footer-code-manager/99robots-header-footer-code-manager.php:1217
142+
#: ../99robots-header-footer-code-manager.php:1224
143+
#: ../99robots-header-footer-code-manager.php:1239
144+
#: ../header-footer-code-manager/99robots-header-footer-code-manager.php:1224
145+
#: ../header-footer-code-manager/99robots-header-footer-code-manager.php:1239
146146
msgid "Please upload a valid import file"
147147
msgstr "कृपया एक मान्य आयात फ़ाइल अपलोड करें"
148148

@@ -324,7 +324,7 @@ msgstr "शोर्टकोड कॉपी करें"
324324

325325
#: ../header-footer-code-manager/includes/class-hfcm-snippets-list.php:345
326326
#: ../header-footer-code-manager/includes/hfcm-add-edit.php:415
327-
#: ../includes/class-hfcm-snippets-list.php:345 ../includes/hfcm-add-edit.php:415
327+
#: ../includes/class-hfcm-snippets-list.php:345 ../includes/hfcm-add-edit.php:419
328328
msgid "Delete"
329329
msgstr "मिटाएं"
330330

@@ -502,8 +502,11 @@ msgid "Note"
502502
msgstr "ध्यान दें"
503503

504504
#: ../header-footer-code-manager/includes/hfcm-add-edit.php:321
505-
msgid "Snippet will only execute if the placement hook exists on the page"
506-
msgstr "पृष्ठ पर प्लेसमेंट हुक मौजूद होने पर ही स्निपेट निष्पादित होगा"
505+
#: ../includes/hfcm-add-edit.php:321
506+
msgid ""
507+
"Not all locations (such as before content) exist on all page/post types. The location "
508+
"will only appear as an option if the appropriate hook exists on the page."
509+
msgstr "सभी पेज/पोस्ट प्रकारों पर सभी स्थान (जैसे कि प्रकरण से पहले) मौजूद नहीं हैं।"
507510

508511
#: ../header-footer-code-manager/includes/hfcm-add-edit.php:335
509512
#: ../includes/hfcm-add-edit.php:335
@@ -548,7 +551,7 @@ msgid "Code"
548551
msgstr "कोड"
549552

550553
#: ../header-footer-code-manager/includes/hfcm-add-edit.php:409
551-
#: ../includes/hfcm-add-edit.php:409
554+
#: ../includes/hfcm-add-edit.php:413
552555
msgid "Save"
553556
msgstr "जमा करें"
554557

@@ -606,11 +609,18 @@ msgstr "फ़ाइल का चयन करें"
606609
msgid "Import"
607610
msgstr "आयात"
608611

609-
#: ../includes/hfcm-add-edit.php:321
612+
#: ../includes/hfcm-add-edit.php:408
610613
msgid ""
611-
"Not all locations (such as before content) exist on all page/post types. The location "
612-
"will only appear as an option if the appropriate hook exists on the page."
613-
msgstr "सभी पेज/पोस्ट प्रकारों पर सभी स्थान (जैसे कि प्रकरण से पहले) मौजूद नहीं हैं।"
614+
"Warning: Using improper code or untrusted sources code can break your site or create "
615+
"security risks. <a href=\"https://draftpress.com/security-risks-of-wp-plugins-that-allow-"
616+
"code-editing-or-insertion\" target=\"_blank\">Learn more</a>."
617+
msgstr ""
618+
"चेतावनी: अनुचित कोड या अविश्वसनीय स्रोत कोड का उपयोग करने से आपकी साइट टूट सकती है या सुरक्षा जोखिम "
619+
"पैदा हो सकते हैं। <a href=\"https://draftpress.com/security-risks-of-wp-plugins-that-allow-"
620+
"code-editing-or-insertion\" target=\"_blank\">और जानें</a> ।"
621+
622+
#~ msgid "Snippet will only execute if the placement hook exists on the page"
623+
#~ msgstr "पृष्ठ पर प्लेसमेंट हुक मौजूद होने पर ही स्निपेट निष्पादित होगा"
614624

615625
#~ msgid ""
616626
#~ "Header Footer Code Manager by 99 Robots is a quick and simple way for you to add "

readme.txt

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ Contributors: DraftPress, 99robots, charliepatel
33
Tags: header, footer, code manager, snippet, functions.php, tracking, google analytics, adsense, verification, pixel
44
Requires at least: 4.9
55
Requires PHP: 5.6.20
6-
Tested up to: 6.1
7-
Stable tag: 1.1.30
6+
Tested up to: 6.1.1
7+
Stable tag: 1.1.31
88
License: GPLv2 or later
99
License URI: http://www.gnu.org/licenses/gpl-2.0.html
1010
Donate link: https://draftpress.com
@@ -114,6 +114,10 @@ A. Free plugins rely on user feedback. Therefore, the best thing you can do for
114114
A. If your script is not supported, just let us know and we'll look into it immediately. We will do our best to ensure all reputable services are supported. When requesting support for a particular script, it would be nice to get a sample of the script so that we can see its structure.
115115

116116
== Changelog ==
117+
= 1.1.31 = 2022-12-09
118+
* ADDED: Warning message to caution users of using improper code or untrusted sources code that can break site or create security risks.
119+
* UPDATED: Compatibility with WordPress 6.1.1
120+
117121
= 1.1.30 = 2022-11-09
118122
* FIXED: Proper checks for user access and capabilities
119123
* UPDATED: Compatibility with WordPress 6.1

0 commit comments

Comments
 (0)