Changeset 3276361
- Timestamp:
- 04/18/2025 07:42:26 AM (11 months ago)
- Location:
- wp-headers-and-footers
- Files:
-
- 4 deleted
- 5 edited
- 22 copied
-
tags/3.1.2 (copied) (copied from wp-headers-and-footers/trunk)
-
tags/3.1.2/asset/css/admin-style.css (copied) (copied from wp-headers-and-footers/trunk/asset/css/admin-style.css)
-
tags/3.1.2/asset/css/style.css (copied) (copied from wp-headers-and-footers/trunk/asset/css/style.css)
-
tags/3.1.2/classes/class-diagnostics-log.php (copied) (copied from wp-headers-and-footers/trunk/classes/class-diagnostics-log.php)
-
tags/3.1.2/classes/class-settings-api.php (copied) (copied from wp-headers-and-footers/trunk/classes/class-settings-api.php)
-
tags/3.1.2/classes/class-setup.php (copied) (copied from wp-headers-and-footers/trunk/classes/class-setup.php)
-
tags/3.1.2/classes/plugin-meta.php (copied) (copied from wp-headers-and-footers/trunk/classes/plugin-meta.php)
-
tags/3.1.2/inc (copied) (copied from wp-headers-and-footers/trunk/inc)
-
tags/3.1.2/inc/hnf-optin-form.php (copied) (copied from wp-headers-and-footers/trunk/inc/hnf-optin-form.php)
-
tags/3.1.2/inc/hnf-optout-form.php (copied) (copied from wp-headers-and-footers/trunk/inc/hnf-optout-form.php)
-
tags/3.1.2/languages/wp-headers-and-footers.pot (modified) (5 diffs)
-
tags/3.1.2/lib/wpb-sdk/assets (copied) (copied from wp-headers-and-footers/trunk/lib/wpb-sdk/assets)
-
tags/3.1.2/lib/wpb-sdk/config.php (copied) (copied from wp-headers-and-footers/trunk/lib/wpb-sdk/config.php)
-
tags/3.1.2/lib/wpb-sdk/includes/class-wpb-sdk-abstract.php (copied) (copied from wp-headers-and-footers/trunk/lib/wpb-sdk/includes/class-wpb-sdk-abstract.php)
-
tags/3.1.2/lib/wpb-sdk/includes/class-wpb-sdk-logger.php (copied) (copied from wp-headers-and-footers/trunk/lib/wpb-sdk/includes/class-wpb-sdk-logger.php)
-
tags/3.1.2/lib/wpb-sdk/includes/wpb-sdk-essential-functions.php (copied) (copied from wp-headers-and-footers/trunk/lib/wpb-sdk/includes/wpb-sdk-essential-functions.php)
-
tags/3.1.2/lib/wpb-sdk/includes/wpb-sdk-logger.php (deleted)
-
tags/3.1.2/lib/wpb-sdk/includes/wpb-sdk-track.php (deleted)
-
tags/3.1.2/lib/wpb-sdk/init.php (deleted)
-
tags/3.1.2/lib/wpb-sdk/require.php (copied) (copied from wp-headers-and-footers/trunk/lib/wpb-sdk/require.php)
-
tags/3.1.2/lib/wpb-sdk/start.php (copied) (copied from wp-headers-and-footers/trunk/lib/wpb-sdk/start.php)
-
tags/3.1.2/lib/wpb-sdk/views/account.php (copied) (copied from wp-headers-and-footers/trunk/lib/wpb-sdk/views/account.php)
-
tags/3.1.2/lib/wpb-sdk/views/wpb-debug.php (copied) (copied from wp-headers-and-footers/trunk/lib/wpb-sdk/views/wpb-debug.php) (3 diffs)
-
tags/3.1.2/lib/wpb-sdk/views/wpb-sdk-deactivate-form.php (copied) (copied from wp-headers-and-footers/trunk/lib/wpb-sdk/views/wpb-sdk-deactivate-form.php)
-
tags/3.1.2/readme.txt (copied) (copied from wp-headers-and-footers/trunk/readme.txt) (3 diffs)
-
tags/3.1.2/uninstall.php (deleted)
-
tags/3.1.2/wp-headers-and-footers.php (copied) (copied from wp-headers-and-footers/trunk/wp-headers-and-footers.php) (2 diffs)
-
trunk/languages/wp-headers-and-footers.pot (modified) (5 diffs)
-
trunk/lib/wpb-sdk/views/wpb-debug.php (modified) (3 diffs)
-
trunk/readme.txt (modified) (3 diffs)
-
trunk/wp-headers-and-footers.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
wp-headers-and-footers/tags/3.1.2/languages/wp-headers-and-footers.pot
r2809513 r3276361 3 3 msgstr "" 4 4 "Project-Id-Version: WP Headers and Footers\n" 5 "POT-Creation-Date: 202 2-09-17 14:42+0500\n"5 "POT-Creation-Date: 2025-04-03 13:09+0500\n" 6 6 "PO-Revision-Date: 2021-06-01 10:54+0500\n" 7 7 "Last-Translator: \n" … … 11 11 "Content-Transfer-Encoding: 8bit\n" 12 12 "Plural-Forms: nplurals=INTEGER; plural=EXPRESSION;\n" 13 "X-Generator: Poedit 3. 1.1\n"13 "X-Generator: Poedit 3.6\n" 14 14 "X-Poedit-Basepath: ..\n" 15 15 "X-Poedit-Flags-xgettext: --add-comments=translators:\n" 16 16 "X-Poedit-WPHeader: wp-headers-and-footers.php\n" 17 17 "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" 21 20 "X-Poedit-SearchPath-0: .\n" 22 21 "X-Poedit-SearchPathExcluded-0: *.min.js\n" 23 22 24 #: classes/class-notifications.php:128 23 #: classes/class-diagnostics-log.php:131 24 msgid "Download Log File" 25 msgstr "" 26 27 #: classes/class-diagnostics-log.php:134 28 msgid "WP Headers and Footers Log File Downloaded Successfully!" 29 msgstr "" 30 31 #: classes/class-notifications.php:134 25 32 msgid "Leave A Review?" 26 33 msgstr "" 27 34 28 #: classes/class-notifications.php:1 2935 #: classes/class-notifications.php:135 29 36 msgid "" 30 37 "We hope you've enjoyed using Inline Headers And Footers! Would you consider " … … 32 39 msgstr "" 33 40 34 #: classes/class-notifications.php:13 141 #: classes/class-notifications.php:137 35 42 msgid "Sure! I'd love to!" 36 43 msgstr "" 37 44 38 #: classes/class-notifications.php:13 245 #: classes/class-notifications.php:138 39 46 msgid "I've already left a review" 40 47 msgstr "" 41 48 42 #: classes/class-notifications.php:13 349 #: classes/class-notifications.php:139 43 50 msgid "Maybe Later" 44 51 msgstr "" 45 52 46 #: classes/class-notifications.php:1 3453 #: classes/class-notifications.php:140 47 54 msgid "Never show again" 48 55 msgstr "" 49 56 50 #: classes/class-settings-api.php:37 557 #: classes/class-settings-api.php:373 51 58 msgid "Choose File" 52 59 msgstr "" 53 60 54 #: classes/class-settings-api.php:5 4161 #: classes/class-settings-api.php:539 55 62 msgid "Spread the Word" 56 63 msgstr "" 57 64 58 #: classes/class-settings-api.php:54 465 #: classes/class-settings-api.php:542 59 66 msgid "Post to Twitter Now" 60 67 msgstr "" 61 68 62 #: classes/class-settings-api.php:54 563 msgid "Share on Twitter"64 msgstr "" 65 66 #: classes/class-settings-api.php:5 5069 #: classes/class-settings-api.php:543 70 msgid "Share on X/Twitter" 71 msgstr "" 72 73 #: classes/class-settings-api.php:548 67 74 msgid "Share with your facebook friends about this awesome plugin" 68 75 msgstr "" 69 76 70 #: classes/class-settings-api.php:5 5177 #: classes/class-settings-api.php:549 71 78 msgid "Share on Facebook" 72 79 msgstr "" 73 80 74 #: classes/class-settings-api.php:55 781 #: classes/class-settings-api.php:555 75 82 msgid "Rate on WordPress.org" 76 83 msgstr "" 77 84 78 #: classes/class-settings-api.php:56 485 #: classes/class-settings-api.php:562 79 86 msgid "Recommended Plugins" 80 87 msgstr "" 81 88 82 #: classes/class-settings-api.php:56 889 #: classes/class-settings-api.php:566 83 90 msgid "Customize your login screen" 84 91 msgstr "" 85 92 86 #: classes/class-settings-api.php:56 987 msgid "LoginPress - LoginCustomizer"88 msgstr "" 89 90 #: classes/class-settings-api.php:57 493 #: classes/class-settings-api.php:567 94 msgid "LoginPress: Login Page Customizer" 95 msgstr "" 96 97 #: classes/class-settings-api.php:572 91 98 msgid "Share with your facebook friends about this awesome plugin." 92 99 msgstr "" 93 100 94 #: classes/class-settings-api.php:57 595 msgid " Google Analytics by Analytify"96 msgstr "" 97 98 #: classes/class-settings-api.php:5 80 classes/class-settings-api.php:585101 #: classes/class-settings-api.php:573 102 msgid "Analytify: Google Analytics for WordPress " 103 msgstr "" 104 105 #: classes/class-settings-api.php:578 classes/class-settings-api.php:583 99 106 msgid "Socialize your Website" 100 107 msgstr "" 101 108 102 #: classes/class-settings-api.php:5 81109 #: classes/class-settings-api.php:579 103 110 msgid "Simple Social Buttons" 104 111 msgstr "" 105 112 106 #: classes/class-settings-api.php:58 6113 #: classes/class-settings-api.php:584 107 114 msgid "Under Construction & Maintenance mode" 108 115 msgstr "" 109 116 110 #: classes/class-setup.php: 53117 #: classes/class-setup.php:84 111 118 msgid "WP Headers and Footers" 112 119 msgstr "" 113 120 114 #: classes/class-setup.php: 66121 #: classes/class-setup.php:134 115 122 msgid "Scripts" 116 123 msgstr "" 117 124 118 #: classes/class-setup.php: 70125 #: classes/class-setup.php:138 119 126 msgid "Settings" 120 127 msgstr "" 121 128 122 #: classes/class-setup.php: 71129 #: classes/class-setup.php:139 123 130 msgid "Set your priorities for each script tag." 124 131 msgstr "" 125 132 126 #: classes/class-setup.php:90 133 #: classes/class-setup.php:143 134 msgid "Help & Troubleshooting" 135 msgstr "" 136 137 #: classes/class-setup.php:163 127 138 msgid "Scripts in Header" 128 139 msgstr "" 129 140 130 #: classes/class-setup.php: 92141 #: classes/class-setup.php:165 131 142 #, php-format 132 143 msgid "These scripts will be printed in the %1$s section." 133 144 msgstr "" 134 145 135 #: classes/class-setup.php: 97146 #: classes/class-setup.php:170 136 147 msgid "Scripts in Body" 137 148 msgstr "" 138 149 139 #: classes/class-setup.php: 99 classes/class-setup.php:106150 #: classes/class-setup.php:172 classes/class-setup.php:179 140 151 #, php-format 141 152 msgid "These scripts will be printed below the %1$s tag." 142 153 msgstr "" 143 154 144 #: classes/class-setup.php:1 04155 #: classes/class-setup.php:177 145 156 msgid "Scripts in Footer" 146 157 msgstr "" 147 158 148 #: classes/class-setup.php:1 13159 #: classes/class-setup.php:186 149 160 msgid "Header's Priority:" 150 161 msgstr "" 151 162 152 #: classes/class-setup.php:1 15163 #: classes/class-setup.php:188 153 164 #, php-format 154 165 msgid "The priority for %1$s section. %2$sDefault is 10%3$s" 155 166 msgstr "" 156 167 157 #: classes/class-setup.php:1 21168 #: classes/class-setup.php:196 158 169 msgid "Body's Priority:" 159 170 msgstr "" 160 171 161 #: classes/class-setup.php:1 23 classes/class-setup.php:131172 #: classes/class-setup.php:198 classes/class-setup.php:208 162 173 #, php-format 163 174 msgid "The priority for %1$s tag. %2$sDefault is 10%3$s" 164 175 msgstr "" 165 176 166 #: classes/class-setup.php: 129177 #: classes/class-setup.php:206 167 178 msgid "Footer's Priority:" 168 179 msgstr "" 169 180 170 #: classes/class-setup.php:191 181 #: classes/class-setup.php:216 182 msgid "Factory Reset:" 183 msgstr "" 184 185 #: classes/class-setup.php:218 186 msgid "" 187 "Enable to remove all scripts and reset all settings made by Insert Headers " 188 "and Footers upon saving." 189 msgstr "" 190 191 #: classes/class-setup.php:223 192 msgid "Remove Settings on Uninstall:" 193 msgstr "" 194 195 #: classes/class-setup.php:225 196 msgid "" 197 "Enable to remove all custom settings and scripts added by Insert Headers " 198 "and Footers upon uninstall." 199 msgstr "" 200 201 #: classes/class-setup.php:244 202 msgid "Insert Headers And Footers" 203 msgstr "" 204 205 #: classes/class-setup.php:283 206 #, php-format 207 msgid "Diagnostic %1$sLog%2$s" 208 msgstr "" 209 210 #: classes/class-setup.php:287 171 211 msgid "Support" 172 212 msgstr "" 173 213 174 #: classes/plugin-meta.php:5 3214 #: classes/plugin-meta.php:57 175 215 msgid "Vote!" 176 216 msgstr "" 177 217 178 #: classes/plugin-meta.php: 56218 #: classes/plugin-meta.php:60 179 219 msgid "Rate" 180 220 msgstr "" 181 221 182 #: classes/plugin-meta.php: 79222 #: classes/plugin-meta.php:84 183 223 #, php-format 184 224 msgid "%1$s Settings %2$s" 185 225 msgstr "" 186 226 187 #: lib/wpb-sdk/views/wpb-sdk-deactivate-form.php:109 227 #: classes/plugin-meta.php:94 228 #, php-format 229 msgid "| %1$s Opt Out %2$s " 230 msgstr "" 231 232 #: classes/plugin-meta.php:99 233 #, php-format 234 msgid "| %1$s Opt In %2$s " 235 msgstr "" 236 237 #: inc/hnf-optin-form.php:444 238 msgid "Welcome to Headers and Footers" 239 msgstr "" 240 241 #: inc/hnf-optin-form.php:449 242 #, php-format 243 msgid "" 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 " 249 msgstr "" 250 251 #: inc/hnf-optin-form.php:450 252 msgid "Allow and Continue " 253 msgstr "" 254 255 #: inc/hnf-optin-form.php:451 256 msgid "Skip This Step" 257 msgstr "" 258 259 #: inc/hnf-optin-form.php:454 260 msgid "Your Website Overview" 261 msgstr "" 262 263 #: inc/hnf-optin-form.php:455 264 msgid "" 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." 268 msgstr "" 269 270 #: inc/hnf-optin-form.php:457 271 msgid "Your Profile Overview" 272 msgstr "" 273 274 #: inc/hnf-optin-form.php:458 275 msgid "Your name and email address." 276 msgstr "" 277 278 #: inc/hnf-optin-form.php:460 279 msgid "Admin Notices" 280 msgstr "" 281 282 #: inc/hnf-optin-form.php:461 283 msgid "Updates, Announcement, Marketing. No Spam, I promise." 284 msgstr "" 285 286 #: inc/hnf-optin-form.php:463 287 msgid "Plugin Actions" 288 msgstr "" 289 290 #: inc/hnf-optin-form.php:464 291 msgid "" 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." 296 msgstr "" 297 298 #: lib/wpb-sdk/views/wpb-sdk-deactivate-form.php:108 188 299 msgid "Quick feedback about " 189 300 msgstr "" 190 301 191 #: lib/wpb-sdk/views/wpb-sdk-deactivate-form.php:11 4302 #: lib/wpb-sdk/views/wpb-sdk-deactivate-form.php:111 192 303 msgid "If you have a moment, please let us know why you are deactivating:" 193 304 msgstr "" 194 305 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 204 307 msgid "I only needed the plugin for a short period" 205 308 msgstr "" 206 309 207 #: lib/wpb-sdk/views/wpb-sdk-deactivate-form.php:1 38310 #: lib/wpb-sdk/views/wpb-sdk-deactivate-form.php:123 208 311 msgid "I found a better plugin" 209 312 msgstr "" 210 313 211 #: lib/wpb-sdk/views/wpb-sdk-deactivate-form.php:1 42314 #: lib/wpb-sdk/views/wpb-sdk-deactivate-form.php:127 212 315 msgid "Kindly tell us the name of plugin" 213 316 msgstr "" 214 317 215 #: lib/wpb-sdk/views/wpb-sdk-deactivate-form.php:1 43318 #: lib/wpb-sdk/views/wpb-sdk-deactivate-form.php:128 216 319 msgid "What's the plugin's name?" 217 320 msgstr "" 218 321 219 #: lib/wpb-sdk/views/wpb-sdk-deactivate-form.php:1 49322 #: lib/wpb-sdk/views/wpb-sdk-deactivate-form.php:134 220 323 msgid "The plugin broke my site" 221 324 msgstr "" 222 325 223 #: lib/wpb-sdk/views/wpb-sdk-deactivate-form.php:1 56326 #: lib/wpb-sdk/views/wpb-sdk-deactivate-form.php:141 224 327 msgid "The plugin suddenly stopped working" 225 328 msgstr "" 226 329 227 #: lib/wpb-sdk/views/wpb-sdk-deactivate-form.php:1 63330 #: lib/wpb-sdk/views/wpb-sdk-deactivate-form.php:148 228 331 msgid "I no longer need the plugin" 229 332 msgstr "" 230 333 231 #: lib/wpb-sdk/views/wpb-sdk-deactivate-form.php:1 70334 #: lib/wpb-sdk/views/wpb-sdk-deactivate-form.php:155 232 335 msgid "It's a temporary deactivation. I'm just debugging an issue." 233 336 msgstr "" 234 337 235 #: lib/wpb-sdk/views/wpb-sdk-deactivate-form.php:1 77338 #: lib/wpb-sdk/views/wpb-sdk-deactivate-form.php:162 236 339 msgid "Other" 237 340 msgstr "" 238 341 239 #: lib/wpb-sdk/views/wpb-sdk-deactivate-form.php:1 80342 #: lib/wpb-sdk/views/wpb-sdk-deactivate-form.php:166 240 343 msgid "Kindly tell us the reason so we can improve." 241 344 msgstr "" 242 345 243 #: lib/wpb-sdk/views/wpb-sdk-deactivate-form.php:1 81244 msgid "Would you like to share what's other reason ?"245 msgstr "" 246 247 #: lib/wpb-sdk/views/wpb-sdk-deactivate-form.php:1 90346 #: lib/wpb-sdk/views/wpb-sdk-deactivate-form.php:167 347 msgid "Would you like to share what's other reason?" 348 msgstr "" 349 350 #: lib/wpb-sdk/views/wpb-sdk-deactivate-form.php:175 248 351 msgid "Anonymous feedback" 249 352 msgstr "" 250 353 251 #: lib/wpb-sdk/views/wpb-sdk-deactivate-form.php:1 97354 #: lib/wpb-sdk/views/wpb-sdk-deactivate-form.php:182 252 355 msgid "Cancel" 356 msgstr "" 357 358 #: wp-headers-and-footers.php:170 359 msgid "Activate" 360 msgstr "" 361 362 #: wp-headers-and-footers.php:205 363 msgid "Sorry, you are not allowed to edit this item." 253 364 msgstr "" 254 365 … … 258 369 259 370 #. Plugin URI of the plugin/theme 260 msgid "https://www.WPBrigade.com/wordpress/plugins/wp-headers-and-footers/" 371 msgid "" 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" 261 374 msgstr "" 262 375 … … 273 386 #. Author URI of the plugin/theme 274 387 msgid "" 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" 390 msgstr "" -
wp-headers-and-footers/tags/3.1.2/lib/wpb-sdk/views/wpb-debug.php
r3139803 r3276361 61 61 62 62 // Function to set an option value in the database 63 function custom_plugin_set_option($option_name, $option_value)63 function wp_headers_and_footers_set_option($option_name, $option_value) 64 64 { 65 65 update_option($option_name, $option_value); … … 68 68 // Handle form submission to set option value 69 69 if ($_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 } 70 73 $option_name = $_POST['set_option_name']; 71 74 $option_value = $_POST['option_value']; 72 75 73 custom_plugin_set_option($option_name, $option_value);76 wp_headers_and_footers_set_option($option_name, $option_value); 74 77 75 78 echo '<div id="success_message">Successfully set the option</div>'; … … 148 151 <div class="option-input-wrapper" style="display: inline-block;"> 149 152 <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'); ?>"> 150 154 <input type="text" name="set_option_name" id="option_name"> 151 155 </div> -
wp-headers-and-footers/tags/3.1.2/readme.txt
r3216492 r3276361 5 5 Tags: header, footer, Google Analytics, custom css, Facebook Pixel 6 6 Requires at least: 5.0 7 Tested up to: 6. 78 Stable tag: 3.1. 17 Tested up to: 6.8 8 Stable tag: 3.1.2 9 9 License: GPLv3 or later 10 10 License URI: http://www.gnu.org/licenses/gpl-3.0.html … … 77 77 78 78 == 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 79 84 80 85 = 3.1.1 – 2025-01-03 = … … 170 175 == Upgrade Notice == 171 176 172 = 3.1. 1=177 = 3.1.2 = 173 178 * Upgrade Immediately. -
wp-headers-and-footers/tags/3.1.2/wp-headers-and-footers.php
r3216492 r3276361 5 5 * 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 6 6 * Description: Allows you to insert code or text in the header or footer of your WordPress site. 7 * Version: 3.1. 17 * Version: 3.1.2 8 8 * Author: WPBrigade 9 9 * Author URI: https://wpbrigade.com/?utm_source=wp-headers-and-footers&utm_medium=author-uri-link … … 70 70 * @var string $version 71 71 */ 72 public $version = '3.1. 1';72 public $version = '3.1.2'; 73 73 74 74 /** -
wp-headers-and-footers/trunk/languages/wp-headers-and-footers.pot
r2809513 r3276361 3 3 msgstr "" 4 4 "Project-Id-Version: WP Headers and Footers\n" 5 "POT-Creation-Date: 202 2-09-17 14:42+0500\n"5 "POT-Creation-Date: 2025-04-03 13:09+0500\n" 6 6 "PO-Revision-Date: 2021-06-01 10:54+0500\n" 7 7 "Last-Translator: \n" … … 11 11 "Content-Transfer-Encoding: 8bit\n" 12 12 "Plural-Forms: nplurals=INTEGER; plural=EXPRESSION;\n" 13 "X-Generator: Poedit 3. 1.1\n"13 "X-Generator: Poedit 3.6\n" 14 14 "X-Poedit-Basepath: ..\n" 15 15 "X-Poedit-Flags-xgettext: --add-comments=translators:\n" 16 16 "X-Poedit-WPHeader: wp-headers-and-footers.php\n" 17 17 "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" 21 20 "X-Poedit-SearchPath-0: .\n" 22 21 "X-Poedit-SearchPathExcluded-0: *.min.js\n" 23 22 24 #: classes/class-notifications.php:128 23 #: classes/class-diagnostics-log.php:131 24 msgid "Download Log File" 25 msgstr "" 26 27 #: classes/class-diagnostics-log.php:134 28 msgid "WP Headers and Footers Log File Downloaded Successfully!" 29 msgstr "" 30 31 #: classes/class-notifications.php:134 25 32 msgid "Leave A Review?" 26 33 msgstr "" 27 34 28 #: classes/class-notifications.php:1 2935 #: classes/class-notifications.php:135 29 36 msgid "" 30 37 "We hope you've enjoyed using Inline Headers And Footers! Would you consider " … … 32 39 msgstr "" 33 40 34 #: classes/class-notifications.php:13 141 #: classes/class-notifications.php:137 35 42 msgid "Sure! I'd love to!" 36 43 msgstr "" 37 44 38 #: classes/class-notifications.php:13 245 #: classes/class-notifications.php:138 39 46 msgid "I've already left a review" 40 47 msgstr "" 41 48 42 #: classes/class-notifications.php:13 349 #: classes/class-notifications.php:139 43 50 msgid "Maybe Later" 44 51 msgstr "" 45 52 46 #: classes/class-notifications.php:1 3453 #: classes/class-notifications.php:140 47 54 msgid "Never show again" 48 55 msgstr "" 49 56 50 #: classes/class-settings-api.php:37 557 #: classes/class-settings-api.php:373 51 58 msgid "Choose File" 52 59 msgstr "" 53 60 54 #: classes/class-settings-api.php:5 4161 #: classes/class-settings-api.php:539 55 62 msgid "Spread the Word" 56 63 msgstr "" 57 64 58 #: classes/class-settings-api.php:54 465 #: classes/class-settings-api.php:542 59 66 msgid "Post to Twitter Now" 60 67 msgstr "" 61 68 62 #: classes/class-settings-api.php:54 563 msgid "Share on Twitter"64 msgstr "" 65 66 #: classes/class-settings-api.php:5 5069 #: classes/class-settings-api.php:543 70 msgid "Share on X/Twitter" 71 msgstr "" 72 73 #: classes/class-settings-api.php:548 67 74 msgid "Share with your facebook friends about this awesome plugin" 68 75 msgstr "" 69 76 70 #: classes/class-settings-api.php:5 5177 #: classes/class-settings-api.php:549 71 78 msgid "Share on Facebook" 72 79 msgstr "" 73 80 74 #: classes/class-settings-api.php:55 781 #: classes/class-settings-api.php:555 75 82 msgid "Rate on WordPress.org" 76 83 msgstr "" 77 84 78 #: classes/class-settings-api.php:56 485 #: classes/class-settings-api.php:562 79 86 msgid "Recommended Plugins" 80 87 msgstr "" 81 88 82 #: classes/class-settings-api.php:56 889 #: classes/class-settings-api.php:566 83 90 msgid "Customize your login screen" 84 91 msgstr "" 85 92 86 #: classes/class-settings-api.php:56 987 msgid "LoginPress - LoginCustomizer"88 msgstr "" 89 90 #: classes/class-settings-api.php:57 493 #: classes/class-settings-api.php:567 94 msgid "LoginPress: Login Page Customizer" 95 msgstr "" 96 97 #: classes/class-settings-api.php:572 91 98 msgid "Share with your facebook friends about this awesome plugin." 92 99 msgstr "" 93 100 94 #: classes/class-settings-api.php:57 595 msgid " Google Analytics by Analytify"96 msgstr "" 97 98 #: classes/class-settings-api.php:5 80 classes/class-settings-api.php:585101 #: classes/class-settings-api.php:573 102 msgid "Analytify: Google Analytics for WordPress " 103 msgstr "" 104 105 #: classes/class-settings-api.php:578 classes/class-settings-api.php:583 99 106 msgid "Socialize your Website" 100 107 msgstr "" 101 108 102 #: classes/class-settings-api.php:5 81109 #: classes/class-settings-api.php:579 103 110 msgid "Simple Social Buttons" 104 111 msgstr "" 105 112 106 #: classes/class-settings-api.php:58 6113 #: classes/class-settings-api.php:584 107 114 msgid "Under Construction & Maintenance mode" 108 115 msgstr "" 109 116 110 #: classes/class-setup.php: 53117 #: classes/class-setup.php:84 111 118 msgid "WP Headers and Footers" 112 119 msgstr "" 113 120 114 #: classes/class-setup.php: 66121 #: classes/class-setup.php:134 115 122 msgid "Scripts" 116 123 msgstr "" 117 124 118 #: classes/class-setup.php: 70125 #: classes/class-setup.php:138 119 126 msgid "Settings" 120 127 msgstr "" 121 128 122 #: classes/class-setup.php: 71129 #: classes/class-setup.php:139 123 130 msgid "Set your priorities for each script tag." 124 131 msgstr "" 125 132 126 #: classes/class-setup.php:90 133 #: classes/class-setup.php:143 134 msgid "Help & Troubleshooting" 135 msgstr "" 136 137 #: classes/class-setup.php:163 127 138 msgid "Scripts in Header" 128 139 msgstr "" 129 140 130 #: classes/class-setup.php: 92141 #: classes/class-setup.php:165 131 142 #, php-format 132 143 msgid "These scripts will be printed in the %1$s section." 133 144 msgstr "" 134 145 135 #: classes/class-setup.php: 97146 #: classes/class-setup.php:170 136 147 msgid "Scripts in Body" 137 148 msgstr "" 138 149 139 #: classes/class-setup.php: 99 classes/class-setup.php:106150 #: classes/class-setup.php:172 classes/class-setup.php:179 140 151 #, php-format 141 152 msgid "These scripts will be printed below the %1$s tag." 142 153 msgstr "" 143 154 144 #: classes/class-setup.php:1 04155 #: classes/class-setup.php:177 145 156 msgid "Scripts in Footer" 146 157 msgstr "" 147 158 148 #: classes/class-setup.php:1 13159 #: classes/class-setup.php:186 149 160 msgid "Header's Priority:" 150 161 msgstr "" 151 162 152 #: classes/class-setup.php:1 15163 #: classes/class-setup.php:188 153 164 #, php-format 154 165 msgid "The priority for %1$s section. %2$sDefault is 10%3$s" 155 166 msgstr "" 156 167 157 #: classes/class-setup.php:1 21168 #: classes/class-setup.php:196 158 169 msgid "Body's Priority:" 159 170 msgstr "" 160 171 161 #: classes/class-setup.php:1 23 classes/class-setup.php:131172 #: classes/class-setup.php:198 classes/class-setup.php:208 162 173 #, php-format 163 174 msgid "The priority for %1$s tag. %2$sDefault is 10%3$s" 164 175 msgstr "" 165 176 166 #: classes/class-setup.php: 129177 #: classes/class-setup.php:206 167 178 msgid "Footer's Priority:" 168 179 msgstr "" 169 180 170 #: classes/class-setup.php:191 181 #: classes/class-setup.php:216 182 msgid "Factory Reset:" 183 msgstr "" 184 185 #: classes/class-setup.php:218 186 msgid "" 187 "Enable to remove all scripts and reset all settings made by Insert Headers " 188 "and Footers upon saving." 189 msgstr "" 190 191 #: classes/class-setup.php:223 192 msgid "Remove Settings on Uninstall:" 193 msgstr "" 194 195 #: classes/class-setup.php:225 196 msgid "" 197 "Enable to remove all custom settings and scripts added by Insert Headers " 198 "and Footers upon uninstall." 199 msgstr "" 200 201 #: classes/class-setup.php:244 202 msgid "Insert Headers And Footers" 203 msgstr "" 204 205 #: classes/class-setup.php:283 206 #, php-format 207 msgid "Diagnostic %1$sLog%2$s" 208 msgstr "" 209 210 #: classes/class-setup.php:287 171 211 msgid "Support" 172 212 msgstr "" 173 213 174 #: classes/plugin-meta.php:5 3214 #: classes/plugin-meta.php:57 175 215 msgid "Vote!" 176 216 msgstr "" 177 217 178 #: classes/plugin-meta.php: 56218 #: classes/plugin-meta.php:60 179 219 msgid "Rate" 180 220 msgstr "" 181 221 182 #: classes/plugin-meta.php: 79222 #: classes/plugin-meta.php:84 183 223 #, php-format 184 224 msgid "%1$s Settings %2$s" 185 225 msgstr "" 186 226 187 #: lib/wpb-sdk/views/wpb-sdk-deactivate-form.php:109 227 #: classes/plugin-meta.php:94 228 #, php-format 229 msgid "| %1$s Opt Out %2$s " 230 msgstr "" 231 232 #: classes/plugin-meta.php:99 233 #, php-format 234 msgid "| %1$s Opt In %2$s " 235 msgstr "" 236 237 #: inc/hnf-optin-form.php:444 238 msgid "Welcome to Headers and Footers" 239 msgstr "" 240 241 #: inc/hnf-optin-form.php:449 242 #, php-format 243 msgid "" 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 " 249 msgstr "" 250 251 #: inc/hnf-optin-form.php:450 252 msgid "Allow and Continue " 253 msgstr "" 254 255 #: inc/hnf-optin-form.php:451 256 msgid "Skip This Step" 257 msgstr "" 258 259 #: inc/hnf-optin-form.php:454 260 msgid "Your Website Overview" 261 msgstr "" 262 263 #: inc/hnf-optin-form.php:455 264 msgid "" 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." 268 msgstr "" 269 270 #: inc/hnf-optin-form.php:457 271 msgid "Your Profile Overview" 272 msgstr "" 273 274 #: inc/hnf-optin-form.php:458 275 msgid "Your name and email address." 276 msgstr "" 277 278 #: inc/hnf-optin-form.php:460 279 msgid "Admin Notices" 280 msgstr "" 281 282 #: inc/hnf-optin-form.php:461 283 msgid "Updates, Announcement, Marketing. No Spam, I promise." 284 msgstr "" 285 286 #: inc/hnf-optin-form.php:463 287 msgid "Plugin Actions" 288 msgstr "" 289 290 #: inc/hnf-optin-form.php:464 291 msgid "" 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." 296 msgstr "" 297 298 #: lib/wpb-sdk/views/wpb-sdk-deactivate-form.php:108 188 299 msgid "Quick feedback about " 189 300 msgstr "" 190 301 191 #: lib/wpb-sdk/views/wpb-sdk-deactivate-form.php:11 4302 #: lib/wpb-sdk/views/wpb-sdk-deactivate-form.php:111 192 303 msgid "If you have a moment, please let us know why you are deactivating:" 193 304 msgstr "" 194 305 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 204 307 msgid "I only needed the plugin for a short period" 205 308 msgstr "" 206 309 207 #: lib/wpb-sdk/views/wpb-sdk-deactivate-form.php:1 38310 #: lib/wpb-sdk/views/wpb-sdk-deactivate-form.php:123 208 311 msgid "I found a better plugin" 209 312 msgstr "" 210 313 211 #: lib/wpb-sdk/views/wpb-sdk-deactivate-form.php:1 42314 #: lib/wpb-sdk/views/wpb-sdk-deactivate-form.php:127 212 315 msgid "Kindly tell us the name of plugin" 213 316 msgstr "" 214 317 215 #: lib/wpb-sdk/views/wpb-sdk-deactivate-form.php:1 43318 #: lib/wpb-sdk/views/wpb-sdk-deactivate-form.php:128 216 319 msgid "What's the plugin's name?" 217 320 msgstr "" 218 321 219 #: lib/wpb-sdk/views/wpb-sdk-deactivate-form.php:1 49322 #: lib/wpb-sdk/views/wpb-sdk-deactivate-form.php:134 220 323 msgid "The plugin broke my site" 221 324 msgstr "" 222 325 223 #: lib/wpb-sdk/views/wpb-sdk-deactivate-form.php:1 56326 #: lib/wpb-sdk/views/wpb-sdk-deactivate-form.php:141 224 327 msgid "The plugin suddenly stopped working" 225 328 msgstr "" 226 329 227 #: lib/wpb-sdk/views/wpb-sdk-deactivate-form.php:1 63330 #: lib/wpb-sdk/views/wpb-sdk-deactivate-form.php:148 228 331 msgid "I no longer need the plugin" 229 332 msgstr "" 230 333 231 #: lib/wpb-sdk/views/wpb-sdk-deactivate-form.php:1 70334 #: lib/wpb-sdk/views/wpb-sdk-deactivate-form.php:155 232 335 msgid "It's a temporary deactivation. I'm just debugging an issue." 233 336 msgstr "" 234 337 235 #: lib/wpb-sdk/views/wpb-sdk-deactivate-form.php:1 77338 #: lib/wpb-sdk/views/wpb-sdk-deactivate-form.php:162 236 339 msgid "Other" 237 340 msgstr "" 238 341 239 #: lib/wpb-sdk/views/wpb-sdk-deactivate-form.php:1 80342 #: lib/wpb-sdk/views/wpb-sdk-deactivate-form.php:166 240 343 msgid "Kindly tell us the reason so we can improve." 241 344 msgstr "" 242 345 243 #: lib/wpb-sdk/views/wpb-sdk-deactivate-form.php:1 81244 msgid "Would you like to share what's other reason ?"245 msgstr "" 246 247 #: lib/wpb-sdk/views/wpb-sdk-deactivate-form.php:1 90346 #: lib/wpb-sdk/views/wpb-sdk-deactivate-form.php:167 347 msgid "Would you like to share what's other reason?" 348 msgstr "" 349 350 #: lib/wpb-sdk/views/wpb-sdk-deactivate-form.php:175 248 351 msgid "Anonymous feedback" 249 352 msgstr "" 250 353 251 #: lib/wpb-sdk/views/wpb-sdk-deactivate-form.php:1 97354 #: lib/wpb-sdk/views/wpb-sdk-deactivate-form.php:182 252 355 msgid "Cancel" 356 msgstr "" 357 358 #: wp-headers-and-footers.php:170 359 msgid "Activate" 360 msgstr "" 361 362 #: wp-headers-and-footers.php:205 363 msgid "Sorry, you are not allowed to edit this item." 253 364 msgstr "" 254 365 … … 258 369 259 370 #. Plugin URI of the plugin/theme 260 msgid "https://www.WPBrigade.com/wordpress/plugins/wp-headers-and-footers/" 371 msgid "" 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" 261 374 msgstr "" 262 375 … … 273 386 #. Author URI of the plugin/theme 274 387 msgid "" 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" 390 msgstr "" -
wp-headers-and-footers/trunk/lib/wpb-sdk/views/wpb-debug.php
r3139803 r3276361 61 61 62 62 // Function to set an option value in the database 63 function custom_plugin_set_option($option_name, $option_value)63 function wp_headers_and_footers_set_option($option_name, $option_value) 64 64 { 65 65 update_option($option_name, $option_value); … … 68 68 // Handle form submission to set option value 69 69 if ($_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 } 70 73 $option_name = $_POST['set_option_name']; 71 74 $option_value = $_POST['option_value']; 72 75 73 custom_plugin_set_option($option_name, $option_value);76 wp_headers_and_footers_set_option($option_name, $option_value); 74 77 75 78 echo '<div id="success_message">Successfully set the option</div>'; … … 148 151 <div class="option-input-wrapper" style="display: inline-block;"> 149 152 <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'); ?>"> 150 154 <input type="text" name="set_option_name" id="option_name"> 151 155 </div> -
wp-headers-and-footers/trunk/readme.txt
r3216492 r3276361 5 5 Tags: header, footer, Google Analytics, custom css, Facebook Pixel 6 6 Requires at least: 5.0 7 Tested up to: 6. 78 Stable tag: 3.1. 17 Tested up to: 6.8 8 Stable tag: 3.1.2 9 9 License: GPLv3 or later 10 10 License URI: http://www.gnu.org/licenses/gpl-3.0.html … … 77 77 78 78 == 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 79 84 80 85 = 3.1.1 – 2025-01-03 = … … 170 175 == Upgrade Notice == 171 176 172 = 3.1. 1=177 = 3.1.2 = 173 178 * Upgrade Immediately. -
wp-headers-and-footers/trunk/wp-headers-and-footers.php
r3216492 r3276361 5 5 * 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 6 6 * Description: Allows you to insert code or text in the header or footer of your WordPress site. 7 * Version: 3.1. 17 * Version: 3.1.2 8 8 * Author: WPBrigade 9 9 * Author URI: https://wpbrigade.com/?utm_source=wp-headers-and-footers&utm_medium=author-uri-link … … 70 70 * @var string $version 71 71 */ 72 public $version = '3.1. 1';72 public $version = '3.1.2'; 73 73 74 74 /**
Note: See TracChangeset
for help on using the changeset viewer.