Plugin Directory

Changeset 3276361


Ignore:
Timestamp:
04/18/2025 07:42:26 AM (11 months ago)
Author:
hiddenpearls
Message:

3.1.2 – 2025-04-18

  • Security Fix: Sanitize option value from debug mode.
  • Enhancement: Update Languages (POT) file.
  • Compatibility: Compatible with WordPress 6.8
Location:
wp-headers-and-footers
Files:
4 deleted
5 edited
22 copied

Legend:

Unmodified
Added
Removed
  • wp-headers-and-footers/tags/3.1.2/languages/wp-headers-and-footers.pot

    r2809513 r3276361  
    33msgstr ""
    44"Project-Id-Version: WP Headers and Footers\n"
    5 "POT-Creation-Date: 2022-09-17 14:42+0500\n"
     5"POT-Creation-Date: 2025-04-03 13:09+0500\n"
    66"PO-Revision-Date: 2021-06-01 10:54+0500\n"
    77"Last-Translator: \n"
     
    1111"Content-Transfer-Encoding: 8bit\n"
    1212"Plural-Forms: nplurals=INTEGER; plural=EXPRESSION;\n"
    13 "X-Generator: Poedit 3.1.1\n"
     13"X-Generator: Poedit 3.6\n"
    1414"X-Poedit-Basepath: ..\n"
    1515"X-Poedit-Flags-xgettext: --add-comments=translators:\n"
    1616"X-Poedit-WPHeader: wp-headers-and-footers.php\n"
    1717"X-Poedit-SourceCharset: UTF-8\n"
    18 "X-Poedit-KeywordsList: __;_e;_n:1,2;_x:1,2c;_ex:1,2c;_nx:4c,1,2;esc_attr__;"
    19 "esc_attr_e;esc_attr_x:1,2c;esc_html__;esc_html_e;esc_html_x:1,2c;"
    20 "_n_noop:1,2;_nx_noop:3c,1,2;__ngettext_noop:1,2\n"
     18"X-Poedit-KeywordsList: "
     19"__;_e;_n:1,2;_x:1,2c;_ex:1,2c;_nx:4c,1,2;esc_attr__;esc_attr_e;esc_attr_x:1,2c;esc_html__;esc_html_e;esc_html_x:1,2c;_n_noop:1,2;_nx_noop:3c,1,2;__ngettext_noop:1,2\n"
    2120"X-Poedit-SearchPath-0: .\n"
    2221"X-Poedit-SearchPathExcluded-0: *.min.js\n"
    2322
    24 #: classes/class-notifications.php:128
     23#: classes/class-diagnostics-log.php:131
     24msgid "Download Log File"
     25msgstr ""
     26
     27#: classes/class-diagnostics-log.php:134
     28msgid "WP Headers and Footers Log File Downloaded Successfully!"
     29msgstr ""
     30
     31#: classes/class-notifications.php:134
    2532msgid "Leave A Review?"
    2633msgstr ""
    2734
    28 #: classes/class-notifications.php:129
     35#: classes/class-notifications.php:135
    2936msgid ""
    3037"We hope you've enjoyed using Inline Headers And Footers! Would you consider "
     
    3239msgstr ""
    3340
    34 #: classes/class-notifications.php:131
     41#: classes/class-notifications.php:137
    3542msgid "Sure! I'd love to!"
    3643msgstr ""
    3744
    38 #: classes/class-notifications.php:132
     45#: classes/class-notifications.php:138
    3946msgid "I've already left a review"
    4047msgstr ""
    4148
    42 #: classes/class-notifications.php:133
     49#: classes/class-notifications.php:139
    4350msgid "Maybe Later"
    4451msgstr ""
    4552
    46 #: classes/class-notifications.php:134
     53#: classes/class-notifications.php:140
    4754msgid "Never show again"
    4855msgstr ""
    4956
    50 #: classes/class-settings-api.php:375
     57#: classes/class-settings-api.php:373
    5158msgid "Choose File"
    5259msgstr ""
    5360
    54 #: classes/class-settings-api.php:541
     61#: classes/class-settings-api.php:539
    5562msgid "Spread the Word"
    5663msgstr ""
    5764
    58 #: classes/class-settings-api.php:544
     65#: classes/class-settings-api.php:542
    5966msgid "Post to Twitter Now"
    6067msgstr ""
    6168
    62 #: classes/class-settings-api.php:545
    63 msgid "Share on Twitter"
    64 msgstr ""
    65 
    66 #: classes/class-settings-api.php:550
     69#: classes/class-settings-api.php:543
     70msgid "Share on X/Twitter"
     71msgstr ""
     72
     73#: classes/class-settings-api.php:548
    6774msgid "Share with your facebook friends about this awesome plugin"
    6875msgstr ""
    6976
    70 #: classes/class-settings-api.php:551
     77#: classes/class-settings-api.php:549
    7178msgid "Share on Facebook"
    7279msgstr ""
    7380
    74 #: classes/class-settings-api.php:557
     81#: classes/class-settings-api.php:555
    7582msgid "Rate on WordPress.org"
    7683msgstr ""
    7784
    78 #: classes/class-settings-api.php:564
     85#: classes/class-settings-api.php:562
    7986msgid "Recommended Plugins"
    8087msgstr ""
    8188
    82 #: classes/class-settings-api.php:568
     89#: classes/class-settings-api.php:566
    8390msgid "Customize your login screen"
    8491msgstr ""
    8592
    86 #: classes/class-settings-api.php:569
    87 msgid "LoginPress - Login Customizer"
    88 msgstr ""
    89 
    90 #: classes/class-settings-api.php:574
     93#: classes/class-settings-api.php:567
     94msgid "LoginPress: Login Page Customizer"
     95msgstr ""
     96
     97#: classes/class-settings-api.php:572
    9198msgid "Share with your facebook friends about this awesome plugin."
    9299msgstr ""
    93100
    94 #: classes/class-settings-api.php:575
    95 msgid "Google Analytics by Analytify"
    96 msgstr ""
    97 
    98 #: classes/class-settings-api.php:580 classes/class-settings-api.php:585
     101#: classes/class-settings-api.php:573
     102msgid "Analytify: Google Analytics for WordPress "
     103msgstr ""
     104
     105#: classes/class-settings-api.php:578 classes/class-settings-api.php:583
    99106msgid "Socialize your Website"
    100107msgstr ""
    101108
    102 #: classes/class-settings-api.php:581
     109#: classes/class-settings-api.php:579
    103110msgid "Simple Social Buttons"
    104111msgstr ""
    105112
    106 #: classes/class-settings-api.php:586
     113#: classes/class-settings-api.php:584
    107114msgid "Under Construction & Maintenance mode"
    108115msgstr ""
    109116
    110 #: classes/class-setup.php:53
     117#: classes/class-setup.php:84
    111118msgid "WP Headers and Footers"
    112119msgstr ""
    113120
    114 #: classes/class-setup.php:66
     121#: classes/class-setup.php:134
    115122msgid "Scripts"
    116123msgstr ""
    117124
    118 #: classes/class-setup.php:70
     125#: classes/class-setup.php:138
    119126msgid "Settings"
    120127msgstr ""
    121128
    122 #: classes/class-setup.php:71
     129#: classes/class-setup.php:139
    123130msgid "Set your priorities for each script tag."
    124131msgstr ""
    125132
    126 #: classes/class-setup.php:90
     133#: classes/class-setup.php:143
     134msgid "Help & Troubleshooting"
     135msgstr ""
     136
     137#: classes/class-setup.php:163
    127138msgid "Scripts in Header"
    128139msgstr ""
    129140
    130 #: classes/class-setup.php:92
     141#: classes/class-setup.php:165
    131142#, php-format
    132143msgid "These scripts will be printed in the %1$s section."
    133144msgstr ""
    134145
    135 #: classes/class-setup.php:97
     146#: classes/class-setup.php:170
    136147msgid "Scripts in Body"
    137148msgstr ""
    138149
    139 #: classes/class-setup.php:99 classes/class-setup.php:106
     150#: classes/class-setup.php:172 classes/class-setup.php:179
    140151#, php-format
    141152msgid "These scripts will be printed below the %1$s tag."
    142153msgstr ""
    143154
    144 #: classes/class-setup.php:104
     155#: classes/class-setup.php:177
    145156msgid "Scripts in Footer"
    146157msgstr ""
    147158
    148 #: classes/class-setup.php:113
     159#: classes/class-setup.php:186
    149160msgid "Header's Priority:"
    150161msgstr ""
    151162
    152 #: classes/class-setup.php:115
     163#: classes/class-setup.php:188
    153164#, php-format
    154165msgid "The priority for %1$s section. %2$sDefault is 10%3$s"
    155166msgstr ""
    156167
    157 #: classes/class-setup.php:121
     168#: classes/class-setup.php:196
    158169msgid "Body's Priority:"
    159170msgstr ""
    160171
    161 #: classes/class-setup.php:123 classes/class-setup.php:131
     172#: classes/class-setup.php:198 classes/class-setup.php:208
    162173#, php-format
    163174msgid "The priority for %1$s tag. %2$sDefault is 10%3$s"
    164175msgstr ""
    165176
    166 #: classes/class-setup.php:129
     177#: classes/class-setup.php:206
    167178msgid "Footer's Priority:"
    168179msgstr ""
    169180
    170 #: classes/class-setup.php:191
     181#: classes/class-setup.php:216
     182msgid "Factory Reset:"
     183msgstr ""
     184
     185#: classes/class-setup.php:218
     186msgid ""
     187"Enable to remove all scripts and reset all settings made by Insert Headers "
     188"and Footers upon saving."
     189msgstr ""
     190
     191#: classes/class-setup.php:223
     192msgid "Remove Settings on Uninstall:"
     193msgstr ""
     194
     195#: classes/class-setup.php:225
     196msgid ""
     197"Enable to remove all custom settings and scripts added by Insert Headers "
     198"and Footers upon uninstall."
     199msgstr ""
     200
     201#: classes/class-setup.php:244
     202msgid "Insert Headers And Footers"
     203msgstr ""
     204
     205#: classes/class-setup.php:283
     206#, php-format
     207msgid "Diagnostic %1$sLog%2$s"
     208msgstr ""
     209
     210#: classes/class-setup.php:287
    171211msgid "Support"
    172212msgstr ""
    173213
    174 #: classes/plugin-meta.php:53
     214#: classes/plugin-meta.php:57
    175215msgid "Vote!"
    176216msgstr ""
    177217
    178 #: classes/plugin-meta.php:56
     218#: classes/plugin-meta.php:60
    179219msgid "Rate"
    180220msgstr ""
    181221
    182 #: classes/plugin-meta.php:79
     222#: classes/plugin-meta.php:84
    183223#, php-format
    184224msgid "%1$s Settings %2$s"
    185225msgstr ""
    186226
    187 #: lib/wpb-sdk/views/wpb-sdk-deactivate-form.php:109
     227#: classes/plugin-meta.php:94
     228#, php-format
     229msgid "|  %1$s Opt Out %2$s "
     230msgstr ""
     231
     232#: classes/plugin-meta.php:99
     233#, php-format
     234msgid "|  %1$s Opt In %2$s "
     235msgstr ""
     236
     237#: inc/hnf-optin-form.php:444
     238msgid "Welcome to Headers and Footers"
     239msgstr ""
     240
     241#: inc/hnf-optin-form.php:449
     242#, php-format
     243msgid ""
     244"%1$s Hey %2$s,  %4$s If you opt-in some data about your installation of WP "
     245"Headers And Footers will be sent to WPBrigade.com (This doesn't include "
     246"stats)%4$s and You will receive new feature updates, security notifications "
     247"etc %5$sNo Spam, I promise.%6$s %4$s%4$s Help us %7$sImprove Headers and "
     248"Footers%8$s %4$s %4$s "
     249msgstr ""
     250
     251#: inc/hnf-optin-form.php:450
     252msgid "Allow and Continue  "
     253msgstr ""
     254
     255#: inc/hnf-optin-form.php:451
     256msgid "Skip This Step"
     257msgstr ""
     258
     259#: inc/hnf-optin-form.php:454
     260msgid "Your Website Overview"
     261msgstr ""
     262
     263#: inc/hnf-optin-form.php:455
     264msgid ""
     265"Your Site URL, WordPress & PHP version, plugins & themes. This data lets us "
     266"make sure this plugin always stays compatible with the most popular plugins "
     267"and themes."
     268msgstr ""
     269
     270#: inc/hnf-optin-form.php:457
     271msgid "Your Profile Overview"
     272msgstr ""
     273
     274#: inc/hnf-optin-form.php:458
     275msgid "Your name and email address."
     276msgstr ""
     277
     278#: inc/hnf-optin-form.php:460
     279msgid "Admin Notices"
     280msgstr ""
     281
     282#: inc/hnf-optin-form.php:461
     283msgid "Updates, Announcement, Marketing. No Spam, I promise."
     284msgstr ""
     285
     286#: inc/hnf-optin-form.php:463
     287msgid "Plugin Actions"
     288msgstr ""
     289
     290#: inc/hnf-optin-form.php:464
     291msgid ""
     292"Active, Deactive, Uninstallation and How you use this plugin's features and "
     293"settings. This is limited to usage data. It does not include any of your "
     294"sensitive headerandfooter data, such as traffic. This data helps us learn "
     295"which features are most popular, so we can improve the plugin further."
     296msgstr ""
     297
     298#: lib/wpb-sdk/views/wpb-sdk-deactivate-form.php:108
    188299msgid "Quick feedback about "
    189300msgstr ""
    190301
    191 #: lib/wpb-sdk/views/wpb-sdk-deactivate-form.php:114
     302#: lib/wpb-sdk/views/wpb-sdk-deactivate-form.php:111
    192303msgid "If you have a moment, please let us know why you are deactivating:"
    193304msgstr ""
    194305
    195 #: lib/wpb-sdk/views/wpb-sdk-deactivate-form.php:121
    196 msgid "I upgraded to "
    197 msgstr ""
    198 
    199 #: lib/wpb-sdk/views/wpb-sdk-deactivate-form.php:124
    200 msgid "No need to deactivate this "
    201 msgstr ""
    202 
    203 #: lib/wpb-sdk/views/wpb-sdk-deactivate-form.php:131
     306#: lib/wpb-sdk/views/wpb-sdk-deactivate-form.php:116
    204307msgid "I only needed the plugin for a short period"
    205308msgstr ""
    206309
    207 #: lib/wpb-sdk/views/wpb-sdk-deactivate-form.php:138
     310#: lib/wpb-sdk/views/wpb-sdk-deactivate-form.php:123
    208311msgid "I found a better plugin"
    209312msgstr ""
    210313
    211 #: lib/wpb-sdk/views/wpb-sdk-deactivate-form.php:142
     314#: lib/wpb-sdk/views/wpb-sdk-deactivate-form.php:127
    212315msgid "Kindly tell us the name of plugin"
    213316msgstr ""
    214317
    215 #: lib/wpb-sdk/views/wpb-sdk-deactivate-form.php:143
     318#: lib/wpb-sdk/views/wpb-sdk-deactivate-form.php:128
    216319msgid "What's the plugin's name?"
    217320msgstr ""
    218321
    219 #: lib/wpb-sdk/views/wpb-sdk-deactivate-form.php:149
     322#: lib/wpb-sdk/views/wpb-sdk-deactivate-form.php:134
    220323msgid "The plugin broke my site"
    221324msgstr ""
    222325
    223 #: lib/wpb-sdk/views/wpb-sdk-deactivate-form.php:156
     326#: lib/wpb-sdk/views/wpb-sdk-deactivate-form.php:141
    224327msgid "The plugin suddenly stopped working"
    225328msgstr ""
    226329
    227 #: lib/wpb-sdk/views/wpb-sdk-deactivate-form.php:163
     330#: lib/wpb-sdk/views/wpb-sdk-deactivate-form.php:148
    228331msgid "I no longer need the plugin"
    229332msgstr ""
    230333
    231 #: lib/wpb-sdk/views/wpb-sdk-deactivate-form.php:170
     334#: lib/wpb-sdk/views/wpb-sdk-deactivate-form.php:155
    232335msgid "It's a temporary deactivation. I'm just debugging an issue."
    233336msgstr ""
    234337
    235 #: lib/wpb-sdk/views/wpb-sdk-deactivate-form.php:177
     338#: lib/wpb-sdk/views/wpb-sdk-deactivate-form.php:162
    236339msgid "Other"
    237340msgstr ""
    238341
    239 #: lib/wpb-sdk/views/wpb-sdk-deactivate-form.php:180
     342#: lib/wpb-sdk/views/wpb-sdk-deactivate-form.php:166
    240343msgid "Kindly tell us the reason so we can improve."
    241344msgstr ""
    242345
    243 #: lib/wpb-sdk/views/wpb-sdk-deactivate-form.php:181
    244 msgid "Would you like to share what's other reason ?"
    245 msgstr ""
    246 
    247 #: lib/wpb-sdk/views/wpb-sdk-deactivate-form.php:190
     346#: lib/wpb-sdk/views/wpb-sdk-deactivate-form.php:167
     347msgid "Would you like to share what's other reason?"
     348msgstr ""
     349
     350#: lib/wpb-sdk/views/wpb-sdk-deactivate-form.php:175
    248351msgid "Anonymous feedback"
    249352msgstr ""
    250353
    251 #: lib/wpb-sdk/views/wpb-sdk-deactivate-form.php:197
     354#: lib/wpb-sdk/views/wpb-sdk-deactivate-form.php:182
    252355msgid "Cancel"
     356msgstr ""
     357
     358#: wp-headers-and-footers.php:170
     359msgid "Activate"
     360msgstr ""
     361
     362#: wp-headers-and-footers.php:205
     363msgid "Sorry, you are not allowed to edit this item."
    253364msgstr ""
    254365
     
    258369
    259370#. Plugin URI of the plugin/theme
    260 msgid "https://www.WPBrigade.com/wordpress/plugins/wp-headers-and-footers/"
     371msgid ""
     372"https://www.WPBrigade.com/wordpress/plugins/wp-headers-and-footers/?"
     373"utm_source=?utm_source=wp-headers-and-footers&utm_medium=author-uri-link"
    261374msgstr ""
    262375
     
    273386#. Author URI of the plugin/theme
    274387msgid ""
    275 "https://wpbrigade.com/?utm_source=plugin-meta&utm_medium=author-uri-link"
    276 msgstr ""
     388"https://wpbrigade.com/?utm_source=wp-headers-and-footers&utm_medium=author-"
     389"uri-link"
     390msgstr ""
  • wp-headers-and-footers/tags/3.1.2/lib/wpb-sdk/views/wpb-debug.php

    r3139803 r3276361  
    6161
    6262// Function to set an option value in the database
    63 function custom_plugin_set_option($option_name, $option_value)
     63function wp_headers_and_footers_set_option($option_name, $option_value)
    6464{
    6565    update_option($option_name, $option_value);
     
    6868// Handle form submission to set option value
    6969if ($_SERVER['REQUEST_METHOD'] === 'POST' && isset($_POST['set_option_name']) && isset($_POST['option_value'])) {
     70    if (!isset($_POST['_wpnonce']) || !wp_verify_nonce($_POST['_wpnonce'], 'wp_headers_and_footers_set_option')) {
     71        wp_die(__('Nonce verification failed', 'related-post-thumbnails'));
     72    }
    7073    $option_name = $_POST['set_option_name'];
    7174    $option_value = $_POST['option_value'];
    7275
    73     custom_plugin_set_option($option_name, $option_value);
     76    wp_headers_and_footers_set_option($option_name, $option_value);
    7477
    7578    echo '<div id="success_message">Successfully set the option</div>';
     
    148151                    <div class="option-input-wrapper" style="display: inline-block;">
    149152                        <label for="option_name">Option Name:</label>
     153                        <input type="hidden" name="_wpnonce" value="<?php echo wp_create_nonce('wp_headers_and_footers_set_option'); ?>">
    150154                        <input type="text" name="set_option_name" id="option_name">
    151155                    </div>
  • wp-headers-and-footers/tags/3.1.2/readme.txt

    r3216492 r3276361  
    55Tags: header, footer, Google Analytics, custom css, Facebook Pixel
    66Requires at least: 5.0
    7 Tested up to: 6.7
    8 Stable tag: 3.1.1
     7Tested up to: 6.8
     8Stable tag: 3.1.2
    99License: GPLv3 or later
    1010License URI: http://www.gnu.org/licenses/gpl-3.0.html
     
    7777
    7878== Changelog ==
     79
     80= 3.1.2 – 2025-04-18 =
     81* Security Fix: Sanitize option value from debug mode.
     82* Enhancement: Update Languages (POT) file.
     83* Compatibility: Compatible with WordPress 6.8
    7984
    8085= 3.1.1 – 2025-01-03 =
     
    170175== Upgrade Notice ==
    171176
    172 = 3.1.1 =
     177= 3.1.2 =
    173178* Upgrade Immediately.
  • wp-headers-and-footers/tags/3.1.2/wp-headers-and-footers.php

    r3216492 r3276361  
    55 * Plugin URI: https://www.WPBrigade.com/wordpress/plugins/wp-headers-and-footers/?utm_source=?utm_source=wp-headers-and-footers&utm_medium=author-uri-link
    66 * Description: Allows you to insert code or text in the header or footer of your WordPress site.
    7  * Version: 3.1.1
     7 * Version: 3.1.2
    88 * Author: WPBrigade
    99 * Author URI: https://wpbrigade.com/?utm_source=wp-headers-and-footers&utm_medium=author-uri-link
     
    7070         * @var string $version
    7171         */
    72         public $version = '3.1.1';
     72        public $version = '3.1.2';
    7373
    7474        /**
  • wp-headers-and-footers/trunk/languages/wp-headers-and-footers.pot

    r2809513 r3276361  
    33msgstr ""
    44"Project-Id-Version: WP Headers and Footers\n"
    5 "POT-Creation-Date: 2022-09-17 14:42+0500\n"
     5"POT-Creation-Date: 2025-04-03 13:09+0500\n"
    66"PO-Revision-Date: 2021-06-01 10:54+0500\n"
    77"Last-Translator: \n"
     
    1111"Content-Transfer-Encoding: 8bit\n"
    1212"Plural-Forms: nplurals=INTEGER; plural=EXPRESSION;\n"
    13 "X-Generator: Poedit 3.1.1\n"
     13"X-Generator: Poedit 3.6\n"
    1414"X-Poedit-Basepath: ..\n"
    1515"X-Poedit-Flags-xgettext: --add-comments=translators:\n"
    1616"X-Poedit-WPHeader: wp-headers-and-footers.php\n"
    1717"X-Poedit-SourceCharset: UTF-8\n"
    18 "X-Poedit-KeywordsList: __;_e;_n:1,2;_x:1,2c;_ex:1,2c;_nx:4c,1,2;esc_attr__;"
    19 "esc_attr_e;esc_attr_x:1,2c;esc_html__;esc_html_e;esc_html_x:1,2c;"
    20 "_n_noop:1,2;_nx_noop:3c,1,2;__ngettext_noop:1,2\n"
     18"X-Poedit-KeywordsList: "
     19"__;_e;_n:1,2;_x:1,2c;_ex:1,2c;_nx:4c,1,2;esc_attr__;esc_attr_e;esc_attr_x:1,2c;esc_html__;esc_html_e;esc_html_x:1,2c;_n_noop:1,2;_nx_noop:3c,1,2;__ngettext_noop:1,2\n"
    2120"X-Poedit-SearchPath-0: .\n"
    2221"X-Poedit-SearchPathExcluded-0: *.min.js\n"
    2322
    24 #: classes/class-notifications.php:128
     23#: classes/class-diagnostics-log.php:131
     24msgid "Download Log File"
     25msgstr ""
     26
     27#: classes/class-diagnostics-log.php:134
     28msgid "WP Headers and Footers Log File Downloaded Successfully!"
     29msgstr ""
     30
     31#: classes/class-notifications.php:134
    2532msgid "Leave A Review?"
    2633msgstr ""
    2734
    28 #: classes/class-notifications.php:129
     35#: classes/class-notifications.php:135
    2936msgid ""
    3037"We hope you've enjoyed using Inline Headers And Footers! Would you consider "
     
    3239msgstr ""
    3340
    34 #: classes/class-notifications.php:131
     41#: classes/class-notifications.php:137
    3542msgid "Sure! I'd love to!"
    3643msgstr ""
    3744
    38 #: classes/class-notifications.php:132
     45#: classes/class-notifications.php:138
    3946msgid "I've already left a review"
    4047msgstr ""
    4148
    42 #: classes/class-notifications.php:133
     49#: classes/class-notifications.php:139
    4350msgid "Maybe Later"
    4451msgstr ""
    4552
    46 #: classes/class-notifications.php:134
     53#: classes/class-notifications.php:140
    4754msgid "Never show again"
    4855msgstr ""
    4956
    50 #: classes/class-settings-api.php:375
     57#: classes/class-settings-api.php:373
    5158msgid "Choose File"
    5259msgstr ""
    5360
    54 #: classes/class-settings-api.php:541
     61#: classes/class-settings-api.php:539
    5562msgid "Spread the Word"
    5663msgstr ""
    5764
    58 #: classes/class-settings-api.php:544
     65#: classes/class-settings-api.php:542
    5966msgid "Post to Twitter Now"
    6067msgstr ""
    6168
    62 #: classes/class-settings-api.php:545
    63 msgid "Share on Twitter"
    64 msgstr ""
    65 
    66 #: classes/class-settings-api.php:550
     69#: classes/class-settings-api.php:543
     70msgid "Share on X/Twitter"
     71msgstr ""
     72
     73#: classes/class-settings-api.php:548
    6774msgid "Share with your facebook friends about this awesome plugin"
    6875msgstr ""
    6976
    70 #: classes/class-settings-api.php:551
     77#: classes/class-settings-api.php:549
    7178msgid "Share on Facebook"
    7279msgstr ""
    7380
    74 #: classes/class-settings-api.php:557
     81#: classes/class-settings-api.php:555
    7582msgid "Rate on WordPress.org"
    7683msgstr ""
    7784
    78 #: classes/class-settings-api.php:564
     85#: classes/class-settings-api.php:562
    7986msgid "Recommended Plugins"
    8087msgstr ""
    8188
    82 #: classes/class-settings-api.php:568
     89#: classes/class-settings-api.php:566
    8390msgid "Customize your login screen"
    8491msgstr ""
    8592
    86 #: classes/class-settings-api.php:569
    87 msgid "LoginPress - Login Customizer"
    88 msgstr ""
    89 
    90 #: classes/class-settings-api.php:574
     93#: classes/class-settings-api.php:567
     94msgid "LoginPress: Login Page Customizer"
     95msgstr ""
     96
     97#: classes/class-settings-api.php:572
    9198msgid "Share with your facebook friends about this awesome plugin."
    9299msgstr ""
    93100
    94 #: classes/class-settings-api.php:575
    95 msgid "Google Analytics by Analytify"
    96 msgstr ""
    97 
    98 #: classes/class-settings-api.php:580 classes/class-settings-api.php:585
     101#: classes/class-settings-api.php:573
     102msgid "Analytify: Google Analytics for WordPress "
     103msgstr ""
     104
     105#: classes/class-settings-api.php:578 classes/class-settings-api.php:583
    99106msgid "Socialize your Website"
    100107msgstr ""
    101108
    102 #: classes/class-settings-api.php:581
     109#: classes/class-settings-api.php:579
    103110msgid "Simple Social Buttons"
    104111msgstr ""
    105112
    106 #: classes/class-settings-api.php:586
     113#: classes/class-settings-api.php:584
    107114msgid "Under Construction & Maintenance mode"
    108115msgstr ""
    109116
    110 #: classes/class-setup.php:53
     117#: classes/class-setup.php:84
    111118msgid "WP Headers and Footers"
    112119msgstr ""
    113120
    114 #: classes/class-setup.php:66
     121#: classes/class-setup.php:134
    115122msgid "Scripts"
    116123msgstr ""
    117124
    118 #: classes/class-setup.php:70
     125#: classes/class-setup.php:138
    119126msgid "Settings"
    120127msgstr ""
    121128
    122 #: classes/class-setup.php:71
     129#: classes/class-setup.php:139
    123130msgid "Set your priorities for each script tag."
    124131msgstr ""
    125132
    126 #: classes/class-setup.php:90
     133#: classes/class-setup.php:143
     134msgid "Help & Troubleshooting"
     135msgstr ""
     136
     137#: classes/class-setup.php:163
    127138msgid "Scripts in Header"
    128139msgstr ""
    129140
    130 #: classes/class-setup.php:92
     141#: classes/class-setup.php:165
    131142#, php-format
    132143msgid "These scripts will be printed in the %1$s section."
    133144msgstr ""
    134145
    135 #: classes/class-setup.php:97
     146#: classes/class-setup.php:170
    136147msgid "Scripts in Body"
    137148msgstr ""
    138149
    139 #: classes/class-setup.php:99 classes/class-setup.php:106
     150#: classes/class-setup.php:172 classes/class-setup.php:179
    140151#, php-format
    141152msgid "These scripts will be printed below the %1$s tag."
    142153msgstr ""
    143154
    144 #: classes/class-setup.php:104
     155#: classes/class-setup.php:177
    145156msgid "Scripts in Footer"
    146157msgstr ""
    147158
    148 #: classes/class-setup.php:113
     159#: classes/class-setup.php:186
    149160msgid "Header's Priority:"
    150161msgstr ""
    151162
    152 #: classes/class-setup.php:115
     163#: classes/class-setup.php:188
    153164#, php-format
    154165msgid "The priority for %1$s section. %2$sDefault is 10%3$s"
    155166msgstr ""
    156167
    157 #: classes/class-setup.php:121
     168#: classes/class-setup.php:196
    158169msgid "Body's Priority:"
    159170msgstr ""
    160171
    161 #: classes/class-setup.php:123 classes/class-setup.php:131
     172#: classes/class-setup.php:198 classes/class-setup.php:208
    162173#, php-format
    163174msgid "The priority for %1$s tag. %2$sDefault is 10%3$s"
    164175msgstr ""
    165176
    166 #: classes/class-setup.php:129
     177#: classes/class-setup.php:206
    167178msgid "Footer's Priority:"
    168179msgstr ""
    169180
    170 #: classes/class-setup.php:191
     181#: classes/class-setup.php:216
     182msgid "Factory Reset:"
     183msgstr ""
     184
     185#: classes/class-setup.php:218
     186msgid ""
     187"Enable to remove all scripts and reset all settings made by Insert Headers "
     188"and Footers upon saving."
     189msgstr ""
     190
     191#: classes/class-setup.php:223
     192msgid "Remove Settings on Uninstall:"
     193msgstr ""
     194
     195#: classes/class-setup.php:225
     196msgid ""
     197"Enable to remove all custom settings and scripts added by Insert Headers "
     198"and Footers upon uninstall."
     199msgstr ""
     200
     201#: classes/class-setup.php:244
     202msgid "Insert Headers And Footers"
     203msgstr ""
     204
     205#: classes/class-setup.php:283
     206#, php-format
     207msgid "Diagnostic %1$sLog%2$s"
     208msgstr ""
     209
     210#: classes/class-setup.php:287
    171211msgid "Support"
    172212msgstr ""
    173213
    174 #: classes/plugin-meta.php:53
     214#: classes/plugin-meta.php:57
    175215msgid "Vote!"
    176216msgstr ""
    177217
    178 #: classes/plugin-meta.php:56
     218#: classes/plugin-meta.php:60
    179219msgid "Rate"
    180220msgstr ""
    181221
    182 #: classes/plugin-meta.php:79
     222#: classes/plugin-meta.php:84
    183223#, php-format
    184224msgid "%1$s Settings %2$s"
    185225msgstr ""
    186226
    187 #: lib/wpb-sdk/views/wpb-sdk-deactivate-form.php:109
     227#: classes/plugin-meta.php:94
     228#, php-format
     229msgid "|  %1$s Opt Out %2$s "
     230msgstr ""
     231
     232#: classes/plugin-meta.php:99
     233#, php-format
     234msgid "|  %1$s Opt In %2$s "
     235msgstr ""
     236
     237#: inc/hnf-optin-form.php:444
     238msgid "Welcome to Headers and Footers"
     239msgstr ""
     240
     241#: inc/hnf-optin-form.php:449
     242#, php-format
     243msgid ""
     244"%1$s Hey %2$s,  %4$s If you opt-in some data about your installation of WP "
     245"Headers And Footers will be sent to WPBrigade.com (This doesn't include "
     246"stats)%4$s and You will receive new feature updates, security notifications "
     247"etc %5$sNo Spam, I promise.%6$s %4$s%4$s Help us %7$sImprove Headers and "
     248"Footers%8$s %4$s %4$s "
     249msgstr ""
     250
     251#: inc/hnf-optin-form.php:450
     252msgid "Allow and Continue  "
     253msgstr ""
     254
     255#: inc/hnf-optin-form.php:451
     256msgid "Skip This Step"
     257msgstr ""
     258
     259#: inc/hnf-optin-form.php:454
     260msgid "Your Website Overview"
     261msgstr ""
     262
     263#: inc/hnf-optin-form.php:455
     264msgid ""
     265"Your Site URL, WordPress & PHP version, plugins & themes. This data lets us "
     266"make sure this plugin always stays compatible with the most popular plugins "
     267"and themes."
     268msgstr ""
     269
     270#: inc/hnf-optin-form.php:457
     271msgid "Your Profile Overview"
     272msgstr ""
     273
     274#: inc/hnf-optin-form.php:458
     275msgid "Your name and email address."
     276msgstr ""
     277
     278#: inc/hnf-optin-form.php:460
     279msgid "Admin Notices"
     280msgstr ""
     281
     282#: inc/hnf-optin-form.php:461
     283msgid "Updates, Announcement, Marketing. No Spam, I promise."
     284msgstr ""
     285
     286#: inc/hnf-optin-form.php:463
     287msgid "Plugin Actions"
     288msgstr ""
     289
     290#: inc/hnf-optin-form.php:464
     291msgid ""
     292"Active, Deactive, Uninstallation and How you use this plugin's features and "
     293"settings. This is limited to usage data. It does not include any of your "
     294"sensitive headerandfooter data, such as traffic. This data helps us learn "
     295"which features are most popular, so we can improve the plugin further."
     296msgstr ""
     297
     298#: lib/wpb-sdk/views/wpb-sdk-deactivate-form.php:108
    188299msgid "Quick feedback about "
    189300msgstr ""
    190301
    191 #: lib/wpb-sdk/views/wpb-sdk-deactivate-form.php:114
     302#: lib/wpb-sdk/views/wpb-sdk-deactivate-form.php:111
    192303msgid "If you have a moment, please let us know why you are deactivating:"
    193304msgstr ""
    194305
    195 #: lib/wpb-sdk/views/wpb-sdk-deactivate-form.php:121
    196 msgid "I upgraded to "
    197 msgstr ""
    198 
    199 #: lib/wpb-sdk/views/wpb-sdk-deactivate-form.php:124
    200 msgid "No need to deactivate this "
    201 msgstr ""
    202 
    203 #: lib/wpb-sdk/views/wpb-sdk-deactivate-form.php:131
     306#: lib/wpb-sdk/views/wpb-sdk-deactivate-form.php:116
    204307msgid "I only needed the plugin for a short period"
    205308msgstr ""
    206309
    207 #: lib/wpb-sdk/views/wpb-sdk-deactivate-form.php:138
     310#: lib/wpb-sdk/views/wpb-sdk-deactivate-form.php:123
    208311msgid "I found a better plugin"
    209312msgstr ""
    210313
    211 #: lib/wpb-sdk/views/wpb-sdk-deactivate-form.php:142
     314#: lib/wpb-sdk/views/wpb-sdk-deactivate-form.php:127
    212315msgid "Kindly tell us the name of plugin"
    213316msgstr ""
    214317
    215 #: lib/wpb-sdk/views/wpb-sdk-deactivate-form.php:143
     318#: lib/wpb-sdk/views/wpb-sdk-deactivate-form.php:128
    216319msgid "What's the plugin's name?"
    217320msgstr ""
    218321
    219 #: lib/wpb-sdk/views/wpb-sdk-deactivate-form.php:149
     322#: lib/wpb-sdk/views/wpb-sdk-deactivate-form.php:134
    220323msgid "The plugin broke my site"
    221324msgstr ""
    222325
    223 #: lib/wpb-sdk/views/wpb-sdk-deactivate-form.php:156
     326#: lib/wpb-sdk/views/wpb-sdk-deactivate-form.php:141
    224327msgid "The plugin suddenly stopped working"
    225328msgstr ""
    226329
    227 #: lib/wpb-sdk/views/wpb-sdk-deactivate-form.php:163
     330#: lib/wpb-sdk/views/wpb-sdk-deactivate-form.php:148
    228331msgid "I no longer need the plugin"
    229332msgstr ""
    230333
    231 #: lib/wpb-sdk/views/wpb-sdk-deactivate-form.php:170
     334#: lib/wpb-sdk/views/wpb-sdk-deactivate-form.php:155
    232335msgid "It's a temporary deactivation. I'm just debugging an issue."
    233336msgstr ""
    234337
    235 #: lib/wpb-sdk/views/wpb-sdk-deactivate-form.php:177
     338#: lib/wpb-sdk/views/wpb-sdk-deactivate-form.php:162
    236339msgid "Other"
    237340msgstr ""
    238341
    239 #: lib/wpb-sdk/views/wpb-sdk-deactivate-form.php:180
     342#: lib/wpb-sdk/views/wpb-sdk-deactivate-form.php:166
    240343msgid "Kindly tell us the reason so we can improve."
    241344msgstr ""
    242345
    243 #: lib/wpb-sdk/views/wpb-sdk-deactivate-form.php:181
    244 msgid "Would you like to share what's other reason ?"
    245 msgstr ""
    246 
    247 #: lib/wpb-sdk/views/wpb-sdk-deactivate-form.php:190
     346#: lib/wpb-sdk/views/wpb-sdk-deactivate-form.php:167
     347msgid "Would you like to share what's other reason?"
     348msgstr ""
     349
     350#: lib/wpb-sdk/views/wpb-sdk-deactivate-form.php:175
    248351msgid "Anonymous feedback"
    249352msgstr ""
    250353
    251 #: lib/wpb-sdk/views/wpb-sdk-deactivate-form.php:197
     354#: lib/wpb-sdk/views/wpb-sdk-deactivate-form.php:182
    252355msgid "Cancel"
     356msgstr ""
     357
     358#: wp-headers-and-footers.php:170
     359msgid "Activate"
     360msgstr ""
     361
     362#: wp-headers-and-footers.php:205
     363msgid "Sorry, you are not allowed to edit this item."
    253364msgstr ""
    254365
     
    258369
    259370#. Plugin URI of the plugin/theme
    260 msgid "https://www.WPBrigade.com/wordpress/plugins/wp-headers-and-footers/"
     371msgid ""
     372"https://www.WPBrigade.com/wordpress/plugins/wp-headers-and-footers/?"
     373"utm_source=?utm_source=wp-headers-and-footers&utm_medium=author-uri-link"
    261374msgstr ""
    262375
     
    273386#. Author URI of the plugin/theme
    274387msgid ""
    275 "https://wpbrigade.com/?utm_source=plugin-meta&utm_medium=author-uri-link"
    276 msgstr ""
     388"https://wpbrigade.com/?utm_source=wp-headers-and-footers&utm_medium=author-"
     389"uri-link"
     390msgstr ""
  • wp-headers-and-footers/trunk/lib/wpb-sdk/views/wpb-debug.php

    r3139803 r3276361  
    6161
    6262// Function to set an option value in the database
    63 function custom_plugin_set_option($option_name, $option_value)
     63function wp_headers_and_footers_set_option($option_name, $option_value)
    6464{
    6565    update_option($option_name, $option_value);
     
    6868// Handle form submission to set option value
    6969if ($_SERVER['REQUEST_METHOD'] === 'POST' && isset($_POST['set_option_name']) && isset($_POST['option_value'])) {
     70    if (!isset($_POST['_wpnonce']) || !wp_verify_nonce($_POST['_wpnonce'], 'wp_headers_and_footers_set_option')) {
     71        wp_die(__('Nonce verification failed', 'related-post-thumbnails'));
     72    }
    7073    $option_name = $_POST['set_option_name'];
    7174    $option_value = $_POST['option_value'];
    7275
    73     custom_plugin_set_option($option_name, $option_value);
     76    wp_headers_and_footers_set_option($option_name, $option_value);
    7477
    7578    echo '<div id="success_message">Successfully set the option</div>';
     
    148151                    <div class="option-input-wrapper" style="display: inline-block;">
    149152                        <label for="option_name">Option Name:</label>
     153                        <input type="hidden" name="_wpnonce" value="<?php echo wp_create_nonce('wp_headers_and_footers_set_option'); ?>">
    150154                        <input type="text" name="set_option_name" id="option_name">
    151155                    </div>
  • wp-headers-and-footers/trunk/readme.txt

    r3216492 r3276361  
    55Tags: header, footer, Google Analytics, custom css, Facebook Pixel
    66Requires at least: 5.0
    7 Tested up to: 6.7
    8 Stable tag: 3.1.1
     7Tested up to: 6.8
     8Stable tag: 3.1.2
    99License: GPLv3 or later
    1010License URI: http://www.gnu.org/licenses/gpl-3.0.html
     
    7777
    7878== Changelog ==
     79
     80= 3.1.2 – 2025-04-18 =
     81* Security Fix: Sanitize option value from debug mode.
     82* Enhancement: Update Languages (POT) file.
     83* Compatibility: Compatible with WordPress 6.8
    7984
    8085= 3.1.1 – 2025-01-03 =
     
    170175== Upgrade Notice ==
    171176
    172 = 3.1.1 =
     177= 3.1.2 =
    173178* Upgrade Immediately.
  • wp-headers-and-footers/trunk/wp-headers-and-footers.php

    r3216492 r3276361  
    55 * Plugin URI: https://www.WPBrigade.com/wordpress/plugins/wp-headers-and-footers/?utm_source=?utm_source=wp-headers-and-footers&utm_medium=author-uri-link
    66 * Description: Allows you to insert code or text in the header or footer of your WordPress site.
    7  * Version: 3.1.1
     7 * Version: 3.1.2
    88 * Author: WPBrigade
    99 * Author URI: https://wpbrigade.com/?utm_source=wp-headers-and-footers&utm_medium=author-uri-link
     
    7070         * @var string $version
    7171         */
    72         public $version = '3.1.1';
     72        public $version = '3.1.2';
    7373
    7474        /**
Note: See TracChangeset for help on using the changeset viewer.