a0f557c1 by Jeff Balicki

security risk assessment

Signed-off-by: Jeff <jeff@gotenzing.com>
1 parent 62fedf39
...@@ -53,6 +53,13 @@ define( 'DB_COLLATE', '' ); ...@@ -53,6 +53,13 @@ define( 'DB_COLLATE', '' );
53 define('ALLOW_UNFILTERED_UPLOADS', true); 53 define('ALLOW_UNFILTERED_UPLOADS', true);
54 define( 'WPCACHEHOME', __DIR__.'/wp-content/plugins/wp-super-cache/' ); 54 define( 'WPCACHEHOME', __DIR__.'/wp-content/plugins/wp-super-cache/' );
55 55
56 header('X-Frame-Options: SAMEORIGIN');
57
58 @ini_set('session.cookie_httponly', true);
59 @ini_set('session.cookie_secure', true);
60 @ini_set('session.use_only_cookies', true);
61
62
56 //Disable automatic updates 63 //Disable automatic updates
57 //Disable update notifications 64 //Disable update notifications
58 define( 'DISALLOW_FILE_MODS', true ); 65 define( 'DISALLOW_FILE_MODS', true );
......
1 GNU GENERAL PUBLIC LICENSE
2 Version 2, June 1991
3
4 Copyright (C) 1989, 1991 Free Software Foundation, Inc.,
5 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
6 Everyone is permitted to copy and distribute verbatim copies
7 of this license document, but changing it is not allowed.
8
9 Preamble
10
11 The licenses for most software are designed to take away your
12 freedom to share and change it. By contrast, the GNU General Public
13 License is intended to guarantee your freedom to share and change free
14 software--to make sure the software is free for all its users. This
15 General Public License applies to most of the Free Software
16 Foundation's software and to any other program whose authors commit to
17 using it. (Some other Free Software Foundation software is covered by
18 the GNU Lesser General Public License instead.) You can apply it to
19 your programs, too.
20
21 When we speak of free software, we are referring to freedom, not
22 price. Our General Public Licenses are designed to make sure that you
23 have the freedom to distribute copies of free software (and charge for
24 this service if you wish), that you receive source code or can get it
25 if you want it, that you can change the software or use pieces of it
26 in new free programs; and that you know you can do these things.
27
28 To protect your rights, we need to make restrictions that forbid
29 anyone to deny you these rights or to ask you to surrender the rights.
30 These restrictions translate to certain responsibilities for you if you
31 distribute copies of the software, or if you modify it.
32
33 For example, if you distribute copies of such a program, whether
34 gratis or for a fee, you must give the recipients all the rights that
35 you have. You must make sure that they, too, receive or can get the
36 source code. And you must show them these terms so they know their
37 rights.
38
39 We protect your rights with two steps: (1) copyright the software, and
40 (2) offer you this license which gives you legal permission to copy,
41 distribute and/or modify the software.
42
43 Also, for each author's protection and ours, we want to make certain
44 that everyone understands that there is no warranty for this free
45 software. If the software is modified by someone else and passed on, we
46 want its recipients to know that what they have is not the original, so
47 that any problems introduced by others will not reflect on the original
48 authors' reputations.
49
50 Finally, any free program is threatened constantly by software
51 patents. We wish to avoid the danger that redistributors of a free
52 program will individually obtain patent licenses, in effect making the
53 program proprietary. To prevent this, we have made it clear that any
54 patent must be licensed for everyone's free use or not licensed at all.
55
56 The precise terms and conditions for copying, distribution and
57 modification follow.
58
59 GNU GENERAL PUBLIC LICENSE
60 TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
61
62 0. This License applies to any program or other work which contains
63 a notice placed by the copyright holder saying it may be distributed
64 under the terms of this General Public License. The "Program", below,
65 refers to any such program or work, and a "work based on the Program"
66 means either the Program or any derivative work under copyright law:
67 that is to say, a work containing the Program or a portion of it,
68 either verbatim or with modifications and/or translated into another
69 language. (Hereinafter, translation is included without limitation in
70 the term "modification".) Each licensee is addressed as "you".
71
72 Activities other than copying, distribution and modification are not
73 covered by this License; they are outside its scope. The act of
74 running the Program is not restricted, and the output from the Program
75 is covered only if its contents constitute a work based on the
76 Program (independent of having been made by running the Program).
77 Whether that is true depends on what the Program does.
78
79 1. You may copy and distribute verbatim copies of the Program's
80 source code as you receive it, in any medium, provided that you
81 conspicuously and appropriately publish on each copy an appropriate
82 copyright notice and disclaimer of warranty; keep intact all the
83 notices that refer to this License and to the absence of any warranty;
84 and give any other recipients of the Program a copy of this License
85 along with the Program.
86
87 You may charge a fee for the physical act of transferring a copy, and
88 you may at your option offer warranty protection in exchange for a fee.
89
90 2. You may modify your copy or copies of the Program or any portion
91 of it, thus forming a work based on the Program, and copy and
92 distribute such modifications or work under the terms of Section 1
93 above, provided that you also meet all of these conditions:
94
95 a) You must cause the modified files to carry prominent notices
96 stating that you changed the files and the date of any change.
97
98 b) You must cause any work that you distribute or publish, that in
99 whole or in part contains or is derived from the Program or any
100 part thereof, to be licensed as a whole at no charge to all third
101 parties under the terms of this License.
102
103 c) If the modified program normally reads commands interactively
104 when run, you must cause it, when started running for such
105 interactive use in the most ordinary way, to print or display an
106 announcement including an appropriate copyright notice and a
107 notice that there is no warranty (or else, saying that you provide
108 a warranty) and that users may redistribute the program under
109 these conditions, and telling the user how to view a copy of this
110 License. (Exception: if the Program itself is interactive but
111 does not normally print such an announcement, your work based on
112 the Program is not required to print an announcement.)
113
114 These requirements apply to the modified work as a whole. If
115 identifiable sections of that work are not derived from the Program,
116 and can be reasonably considered independent and separate works in
117 themselves, then this License, and its terms, do not apply to those
118 sections when you distribute them as separate works. But when you
119 distribute the same sections as part of a whole which is a work based
120 on the Program, the distribution of the whole must be on the terms of
121 this License, whose permissions for other licensees extend to the
122 entire whole, and thus to each and every part regardless of who wrote it.
123
124 Thus, it is not the intent of this section to claim rights or contest
125 your rights to work written entirely by you; rather, the intent is to
126 exercise the right to control the distribution of derivative or
127 collective works based on the Program.
128
129 In addition, mere aggregation of another work not based on the Program
130 with the Program (or with a work based on the Program) on a volume of
131 a storage or distribution medium does not bring the other work under
132 the scope of this License.
133
134 3. You may copy and distribute the Program (or a work based on it,
135 under Section 2) in object code or executable form under the terms of
136 Sections 1 and 2 above provided that you also do one of the following:
137
138 a) Accompany it with the complete corresponding machine-readable
139 source code, which must be distributed under the terms of Sections
140 1 and 2 above on a medium customarily used for software interchange; or,
141
142 b) Accompany it with a written offer, valid for at least three
143 years, to give any third party, for a charge no more than your
144 cost of physically performing source distribution, a complete
145 machine-readable copy of the corresponding source code, to be
146 distributed under the terms of Sections 1 and 2 above on a medium
147 customarily used for software interchange; or,
148
149 c) Accompany it with the information you received as to the offer
150 to distribute corresponding source code. (This alternative is
151 allowed only for noncommercial distribution and only if you
152 received the program in object code or executable form with such
153 an offer, in accord with Subsection b above.)
154
155 The source code for a work means the preferred form of the work for
156 making modifications to it. For an executable work, complete source
157 code means all the source code for all modules it contains, plus any
158 associated interface definition files, plus the scripts used to
159 control compilation and installation of the executable. However, as a
160 special exception, the source code distributed need not include
161 anything that is normally distributed (in either source or binary
162 form) with the major components (compiler, kernel, and so on) of the
163 operating system on which the executable runs, unless that component
164 itself accompanies the executable.
165
166 If distribution of executable or object code is made by offering
167 access to copy from a designated place, then offering equivalent
168 access to copy the source code from the same place counts as
169 distribution of the source code, even though third parties are not
170 compelled to copy the source along with the object code.
171
172 4. You may not copy, modify, sublicense, or distribute the Program
173 except as expressly provided under this License. Any attempt
174 otherwise to copy, modify, sublicense or distribute the Program is
175 void, and will automatically terminate your rights under this License.
176 However, parties who have received copies, or rights, from you under
177 this License will not have their licenses terminated so long as such
178 parties remain in full compliance.
179
180 5. You are not required to accept this License, since you have not
181 signed it. However, nothing else grants you permission to modify or
182 distribute the Program or its derivative works. These actions are
183 prohibited by law if you do not accept this License. Therefore, by
184 modifying or distributing the Program (or any work based on the
185 Program), you indicate your acceptance of this License to do so, and
186 all its terms and conditions for copying, distributing or modifying
187 the Program or works based on it.
188
189 6. Each time you redistribute the Program (or any work based on the
190 Program), the recipient automatically receives a license from the
191 original licensor to copy, distribute or modify the Program subject to
192 these terms and conditions. You may not impose any further
193 restrictions on the recipients' exercise of the rights granted herein.
194 You are not responsible for enforcing compliance by third parties to
195 this License.
196
197 7. If, as a consequence of a court judgment or allegation of patent
198 infringement or for any other reason (not limited to patent issues),
199 conditions are imposed on you (whether by court order, agreement or
200 otherwise) that contradict the conditions of this License, they do not
201 excuse you from the conditions of this License. If you cannot
202 distribute so as to satisfy simultaneously your obligations under this
203 License and any other pertinent obligations, then as a consequence you
204 may not distribute the Program at all. For example, if a patent
205 license would not permit royalty-free redistribution of the Program by
206 all those who receive copies directly or indirectly through you, then
207 the only way you could satisfy both it and this License would be to
208 refrain entirely from distribution of the Program.
209
210 If any portion of this section is held invalid or unenforceable under
211 any particular circumstance, the balance of the section is intended to
212 apply and the section as a whole is intended to apply in other
213 circumstances.
214
215 It is not the purpose of this section to induce you to infringe any
216 patents or other property right claims or to contest validity of any
217 such claims; this section has the sole purpose of protecting the
218 integrity of the free software distribution system, which is
219 implemented by public license practices. Many people have made
220 generous contributions to the wide range of software distributed
221 through that system in reliance on consistent application of that
222 system; it is up to the author/donor to decide if he or she is willing
223 to distribute software through any other system and a licensee cannot
224 impose that choice.
225
226 This section is intended to make thoroughly clear what is believed to
227 be a consequence of the rest of this License.
228
229 8. If the distribution and/or use of the Program is restricted in
230 certain countries either by patents or by copyrighted interfaces, the
231 original copyright holder who places the Program under this License
232 may add an explicit geographical distribution limitation excluding
233 those countries, so that distribution is permitted only in or among
234 countries not thus excluded. In such case, this License incorporates
235 the limitation as if written in the body of this License.
236
237 9. The Free Software Foundation may publish revised and/or new versions
238 of the General Public License from time to time. Such new versions will
239 be similar in spirit to the present version, but may differ in detail to
240 address new problems or concerns.
241
242 Each version is given a distinguishing version number. If the Program
243 specifies a version number of this License which applies to it and "any
244 later version", you have the option of following the terms and conditions
245 either of that version or of any later version published by the Free
246 Software Foundation. If the Program does not specify a version number of
247 this License, you may choose any version ever published by the Free Software
248 Foundation.
249
250 10. If you wish to incorporate parts of the Program into other free
251 programs whose distribution conditions are different, write to the author
252 to ask for permission. For software which is copyrighted by the Free
253 Software Foundation, write to the Free Software Foundation; we sometimes
254 make exceptions for this. Our decision will be guided by the two goals
255 of preserving the free status of all derivatives of our free software and
256 of promoting the sharing and reuse of software generally.
257
258 NO WARRANTY
259
260 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
261 FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN
262 OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES
263 PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED
264 OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
265 MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS
266 TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE
267 PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,
268 REPAIR OR CORRECTION.
269
270 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
271 WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR
272 REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,
273 INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING
274 OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED
275 TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY
276 YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER
277 PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE
278 POSSIBILITY OF SUCH DAMAGES.
279
280 END OF TERMS AND CONDITIONS
281
282 How to Apply These Terms to Your New Programs
283
284 If you develop a new program, and you want it to be of the greatest
285 possible use to the public, the best way to achieve this is to make it
286 free software which everyone can redistribute and change under these terms.
287
288 To do so, attach the following notices to the program. It is safest
289 to attach them to the start of each source file to most effectively
290 convey the exclusion of warranty; and each file should have at least
291 the "copyright" line and a pointer to where the full notice is found.
292
293 <one line to give the program's name and a brief idea of what it does.>
294 Copyright (C) <year> <name of author>
295
296 This program is free software; you can redistribute it and/or modify
297 it under the terms of the GNU General Public License as published by
298 the Free Software Foundation; either version 2 of the License, or
299 (at your option) any later version.
300
301 This program is distributed in the hope that it will be useful,
302 but WITHOUT ANY WARRANTY; without even the implied warranty of
303 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
304 GNU General Public License for more details.
305
306 You should have received a copy of the GNU General Public License along
307 with this program; if not, write to the Free Software Foundation, Inc.,
308 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
309
310 Also add information on how to contact you by electronic and paper mail.
311
312 If the program is interactive, make it output a short notice like this
313 when it starts in an interactive mode:
314
315 Gnomovision version 69, Copyright (C) year name of author
316 Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
317 This is free software, and you are welcome to redistribute it
318 under certain conditions; type `show c' for details.
319
320 The hypothetical commands `show w' and `show c' should show the appropriate
321 parts of the General Public License. Of course, the commands you use may
322 be called something other than `show w' and `show c'; they could even be
323 mouse-clicks or menu items--whatever suits your program.
324
325 You should also get your employer (if you work as a programmer) or your
326 school, if any, to sign a "copyright disclaimer" for the program, if
327 necessary. Here is a sample; alter the names:
328
329 Yoyodyne, Inc., hereby disclaims all copyright interest in the program
330 `Gnomovision' (which makes passes at compilers) written by James Hacker.
331
332 <signature of Ty Coon>, 1 April 1989
333 Ty Coon, President of Vice
334
335 This General Public License does not permit incorporating your program into
336 proprietary programs. If your program is a subroutine library, you may
337 consider it more useful to permit linking proprietary applications with the
338 library. If this is what you want to do, use the GNU Lesser General
339 Public License instead of this License.
1 <?php
2 /*
3 Plugin Name: Headers Security Advanced & HSTS WP
4 Plugin URI: https://www.tentacleplugins.com/
5 Description: Headers Security Advanced & HSTS WP - Simple, Light and Fast. The plugin uses advanced security rules that provide huge levels of protection and it is important that your site uses it. This step is important to submit your website and/or domain to an approved HSTS list. Google officially compiles this list and it is used by Chrome, Firefox, Opera, Safari, IE11 and Edge. You can forward your site to the official HSTS preload directory. Cross Site Request Forgery (CSRF) is a common attack with the installation of Headers Security Advanced & HSTS WP will help you mitigate CSRF on your Wordpress site.
6 Version: 4.8.96
7 Text Domain: headers-security-advanced-hsts-wp
8 Author: 🐙 Andrea Ferro, Augusto Bombana
9 Author URI: https://www.linkedin.com/in/andrea-ferro-55046186/
10 __
11 ___( o)>
12 \ <_. )
13 `---' iron3
14 */
15
16 function add_Headers_Security_Advanced_HSTS_WP_htaccess( $rules ) {
17 $HEadersSecurityAdvancedServerCheckA = $_SERVER['SERVER_NAME'];
18 $HEadersSecurityAdvancedCheckB = str_replace('www.','',$HEadersSecurityAdvancedServerCheckA);
19 $HEadersSecurityAdvancedServerCheck3B = $_SERVER['SERVER_NAME'];
20 $HEadersSecurityAdvancedCheckC03 = str_replace('.','',$HEadersSecurityAdvancedCheckB);
21
22 $content = <<<EOD
23 # Headers Security Advanced & HSTS WP - 4.8.96
24 <IfModule mod_headers.c>
25 Header always set Strict-Transport-Security "max-age=63072000; includeSubDomains; preload"
26 Header always set X-XSS-Protection "1; mode=block"
27 Header always set X-Content-Type-Options "nosniff"
28 Header always set Referrer-Policy "no-referrer-when-downgrade"
29 Header always set Expect-CT "max-age=7776000, enforce"
30 Header set Access-Control-Allow-Origin "null"
31 Header set Access-Control-Allow-Methods "GET,PUT,POST,DELETE"
32 Header set Access-Control-Allow-Headers "Content-Type, Authorization"
33 Header set X-Content-Security-Policy "img-src *; media-src * data:;"
34 Header always set Content-Security-Policy "report-uri https://$HEadersSecurityAdvancedServerCheck3B"
35 Header set Cross-Origin-Embedder-Policy-Report-Only 'unsafe-none; report-to="default"'
36 Header set Cross-Origin-Embedder-Policy 'unsafe-none; report-to="default"'
37 Header set Cross-Origin-Opener-Policy-Report-Only 'same-origin; report-to="default"'
38 Header set Cross-Origin-Opener-Policy 'same-origin; report-to="default"'
39 Header set Cross-Origin-Resource-Policy 'cross-origin'
40 Header set strict-dynamic "https: 'self'; default-src 'self'"
41 Header always set X-Frame-Options "ALLOWALL"
42 Header always set Permissions-Policy "geolocation=(self), microphone=(), accelerometer=(), gyroscope=(), magnetometer=()"
43 Header set X-Permitted-Cross-Domain-Policies "none"
44 </IfModule>
45 # END Headers Security Advanced & HSTS WP\n\n
46 EOD;
47 return $content . $rules;
48 }
49 add_filter('mod_rewrite_rules', 'add_Headers_Security_Advanced_HSTS_WP_htaccess');
50
51 function Headers_Security_Advanced_HSTS_WP_enable_flush_rules() {
52 global $wp_rewrite;
53 $wp_rewrite->flush_rules();
54 }
55 register_activation_hook( __FILE__, 'Headers_Security_Advanced_HSTS_WP_enable_flush_rules' );
56
57 function Headers_Security_Advanced_HSTS_WP_deactivate() {
58 remove_filter('mod_rewrite_rules', 'add_Headers_Security_Advanced_HSTS_WP_htaccess');
59 global $wp_rewrite;
60 $wp_rewrite->flush_rules();
61 }
62 register_deactivation_hook( __FILE__, 'Headers_Security_Advanced_HSTS_WP_deactivate' );
63
64 function Headers_Security_Advanced_HSTS_WP_widgets() {
65 wp_add_dashboard_widget(
66 'wpexplorer_dashboard_widget',
67 '<img style="max-width:30px;" src=" data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADIAAAAyCAYAAAAeP4ixAAAACXBIWXMAAAsTAAALEwEAmpwYAAAF0WlUWHRYTUw6Y29tLmFkb2JlLnhtcAAAAAAAPD94cGFja2V0IGJlZ2luPSLvu78iIGlkPSJXNU0wTXBDZWhpSHpyZVN6TlRjemtjOWQiPz4gPHg6eG1wbWV0YSB4bWxuczp4PSJhZG9iZTpuczptZXRhLyIgeDp4bXB0az0iQWRvYmUgWE1QIENvcmUgNy4xLWMwMDAgNzkuOWNjYzRkZTkzLCAyMDIyLzAzLzE0LTE0OjA3OjIyICAgICAgICAiPiA8cmRmOlJERiB4bWxuczpyZGY9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkvMDIvMjItcmRmLXN5bnRheC1ucyMiPiA8cmRmOkRlc2NyaXB0aW9uIHJkZjphYm91dD0iIiB4bWxuczp4bXA9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC8iIHhtbG5zOmRjPSJodHRwOi8vcHVybC5vcmcvZGMvZWxlbWVudHMvMS4xLyIgeG1sbnM6cGhvdG9zaG9wPSJodHR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2erXnea1GI7ZO8nuQT4D6tRb7pVw9zlAAAAAElFTkSuQmCC" />Headers Security Advanced & HSTS WP',
68 'Headers_Security_Advanced_HSTS_WP_widget_function'
69 );
70 }
71 add_action( 'wp_dashboard_setup', 'Headers_Security_Advanced_HSTS_WP_widgets' );
72
73 function Headers_Security_Advanced_HSTS_WP_widget_function() {
74 echo '<h2><span style="color:#0ca533;">👋 <b>Congratulations</b> you are safe,</span></h2><br><b>The Headers Security Advanced & HSTS WP</b> project implements HTTP response headers that your site can use to increase the security of your website. The plug-in will automatically set up all Best Practices (you don’t have to think about anything).<br /><br /><span style="color:#0ca533;"></span> <br />';
75 echo '<script type="text/javascript" src="https://cdnjs.buymeacoffee.com/1.0.0/button.prod.min.js" data-name="bmc-button" data-slug="tentacleplugins" data-color="#FFDD00" data-emoji="" data-font="Inter" data-text="Buy me a coffee" data-outline-color="#000000" data-font-color="#000000" data-coffee-color="#ffffff" ></script>';
76 }
77
78 function Headers_Security_Advanced_HSTS_WP_send_header() {
79 header( 'Strict-Transport-Security: max-age=63072000; includeSubDomains; preload' );
80 }
81 add_action( 'send_headers', 'Headers_Security_Advanced_HSTS_WP_send_header' );
82
83 function Headers_Security_Advanced_HSTS_WP_Headers( $headers ) {
84 $HEadersSecurityAdvancedServerCheck = $_SERVER['SERVER_NAME'];
85 $HEadersSecurityAdvancedCheck = str_replace('www.','',$HEadersSecurityAdvancedServerCheck);
86
87 $HEadersSecurityAdvancedServerCheck3 = $_SERVER['SERVER_NAME'];
88
89 $headers['X-XSS-Protection'] = '1; mode=block';
90 $headers['Expect-CT'] = 'max-age=7776000, enforce';
91 $headers['Access-Control-Allow-Origin'] = 'null';
92 $headers['Access-Control-Allow-Methods'] = 'GET,PUT,POST,DELETE';
93 $headers['Access-Control-Allow-Headers'] = 'Content-Type, Authorization';
94 $headers['X-Content-Security-Policy'] = 'default-src \'self\'; img-src *; media-src * data:;';
95 $headers['X-Content-Type-Options'] = 'nosniff';
96 $headers['Content-Security-Policy'] = "report-uri https://$HEadersSecurityAdvancedCheck";
97 $headers['Referrer-Policy'] = 'no-referrer-when-downgrade';
98 $headers['Cross-Origin-Embedder-Policy-Report-Only'] = 'require-corp; report-to="default"';
99 $headers['Cross-Origin-Embedder-Policy'] = 'unsafe-none; report-to="default"';
100 $headers['Cross-Origin-Opener-Policy-Report-Only'] = 'same-origin; report-to="default"';
101 $headers['Cross-Origin-Opener-Policy'] = 'same-origin; report-to="default"';
102 $headers['Cross-Origin-Resource-Policy'] = 'cross-origin';
103 $headers['strict-dynamic'] = "https: 'self'; default-src 'self'";
104 $headers['X-Frame-Options'] = 'ALLOWALL';
105 $headers['Permissions-Policy'] = "geolocation=(self), microphone=(), accelerometer=(), gyroscope=(), magnetometer=()";
106 $headers['Feature-Policy'] = "payment 'self'; display-capture 'self'";
107 $headers['X-Permitted-Cross-Domain-Policies'] = "none";
108
109 return $headers;
110 }
111 add_filter( 'wp_headers', 'Headers_Security_Advanced_HSTS_WP_Headers' );
112
113 defined( 'ABSPATH' ) or die( 'No script kiddies please!' );
114
115 // Headers Security Advanced & HSTS WP - VERSION
116 if( ! defined( 'headers-security-advanced-hsts-wp-login-version' ) ) {
117 define( 'headers-security-advanced-hsts-wp-login-version', '4.3.0' );
118 }
119
120 // Headers Security Advanced & HSTS WP
121 if( ! defined( 'headers-security-advanced-hsts-wp-login-name' ) ) {
122 define( 'headers-security-advanced-hsts-wp-login-name', 'Headers Security Advanced & HSTS WP' );
123 }
124
125 // Headers Security Advanced & HSTS WP - DIR
126 if ( ! defined( 'headers_security_advanced_hsts_wp_login_path' ) ) {
127 define( 'headers_security_advanced_hsts_wp_login_path', plugin_dir_path( __FILE__ ) );
128 }
129
130 // Headers Security Advanced & HSTS WP - URI
131 if ( ! defined( 'headers-security-advanced-hsts-wp-base-uri' ) ) {
132 define( 'headers-security-advanced-hsts-wp-base-uri', plugin_dir_url( __FILE__ ) );
133 }
134
135 // Headers Security Advanced & HSTS WP - MENU
136 add_action( 'admin_menu', 'csrf_Headers_Security_Advanced_HSTS_WP_auth' );
137
138 function csrf_Headers_Security_Advanced_HSTS_WP_auth() {
139 add_options_page( 'Headers Security Advanced & HSTS WP', 'Headers Security Advanced & HSTS WP', 'manage_options', 'headers_security_advanced_hsts_wp_option_menu', 'csrf_Headers_Security_Advanced_HSTS_WP_options' );
140 }
141
142 function csrf_Headers_Security_Advanced_HSTS_WP_options() {
143 if ( !current_user_can( 'manage_options' ) ) {
144 wp_die( __( 'You do not have sufficient permissions to access this page.' ) );
145 }
146 echo '<div class="wrap">';
147 echo '<h2><span style="color:#0ca533;">👋 <b>Congratulations</b> you are safe,</span></h2><br><b>The Headers Security Advanced & HSTS WP</b> project implements HTTP response headers that your site can use to increase the security of your website. <br /><br />The plug-in will automatically set up all Best Practices (you don’t have to think about anything).<br /><br />
148 <br /></div></div>';
149 echo '<script type="text/javascript" src="https://cdnjs.buymeacoffee.com/1.0.0/button.prod.min.js" data-name="bmc-button" data-slug="tentacleplugins" data-color="#FFDD00" data-emoji="" data-font="Inter" data-text="Buy me a coffee" data-outline-color="#000000" data-font-color="#000000" data-coffee-color="#ffffff" ></script>';
150 echo '</div>';
151 }
152
153 add_filter('plugin_action_links', 'Headers_Security_Advanced_HSTS_WP_hs_links', 10, 2);
154 function Headers_Security_Advanced_HSTS_WP_hs_links($links, $file) {
155 static $this_plugin;
156
157 if (!$this_plugin) {
158 $this_plugin = plugin_basename(__FILE__);
159 }
160
161 if ($file == $this_plugin) {
162 $settings_link = '<a href="https://www.buymeacoffee.com/tentacleplugins">Donate a coffee</a>';
163 array_unshift($links, $settings_link);
164 }
165 return $links;
166 }
167 ?>
...\ No newline at end of file ...\ No newline at end of file
1 msgid ""
2 msgstr ""
3 "Project-Id-Version: Headers Security Advanced & HSTS WP\n"
4 "POT-Creation-Date: 2021-11-04 20:22+0000\n"
5 "PO-Revision-Date: \n"
6 "Language-Team: \n"
7 "MIME-Version: 1.0\n"
8 "Content-Type: text/plain; charset=UTF-8\n"
9 "Content-Transfer-Encoding: 8bit\n"
10 "X-Generator: Poedit 2.4.2\n"
11 "X-Poedit-Basepath: .\n"
12 "X-Poedit-KeywordsList: _e;__\n"
13 "Plural-Forms: nplurals=2; plural=(n != 1);\n"
14 "Last-Translator: \n"
15 "Language: it\n"
16 "X-Poedit-SearchPath-0: ..\n"
17
18 #: ../includes/headers-security-advanced-hsts-admin-login.php:109
19 msgid "Please upgrade to the latest version of WordPress to activate"
20 msgstr "Effettua l’aggiornamento all’ultima versione di WordPress"
21
22 #. Plugin Name
23 #: ../includes/headers-security-advanced-hsts-admin-login.php:109
24 #: ../includes/headers-security-advanced-hsts-admin-login.php:141
25 #: ../includes/headers-security-advanced-hsts-admin-login.php:168
26 msgid "Headers Security Advanced & HSTS WP"
27 msgstr "Headers Security Advanced & HSTS WP"
28
29 #: ../includes/headers-security-advanced-hsts-admin-login.php:142
30 msgid ""
31 "This option allows you to set a networkwide default, which can be overridden "
32 "by individual sites. Simply go to to the site’s permalink settings to change "
33 "the url."
34 msgstr ""
35 "Questa opzione consente di impostare un valore predefinito per l’intera "
36 "rete, che può essere ignorato dai singoli siti. Basta andare alle "
37 "impostazioni permalink del sito per modificare l’URL."
38
39 #: ../includes/headers-security-advanced-hsts-admin-login.php:145
40 msgid "Networkwide default"
41 msgstr "Predefinito per l’intera rete"
42
43 #: ../includes/headers-security-advanced-hsts-admin-login.php:175
44 msgid "Login url"
45 msgstr "Url di accesso"
46
47 #: ../includes/headers-security-advanced-hsts-admin-login.php:183
48 msgid "Redirect URL"
49 msgstr "
50
51 #: ../includes/headers-security-advanced-hsts-admin-login.php:226
52 #, php-format
53 msgid ""
54 "To set a networkwide default, go to <a href=\"%s\">Network Settings</a>."
55 msgstr ""
56 "Per impostare una rete predefinita ampia, andate a <a href=\\”%s"
57 "\\”>Impostazioni di rete</a>."
58
59 #: ../includes/headers-security-advanced-hsts-admin-login.php.php:235
60 msgid "Use the slug name, example: "contact-me" - DO NOT USE the full website URL. If you leave the above field empty the plugin will add a redirect to the website homepage."
61 msgstr ""
62
63 #: ../includes/headers-security-advanced-hsts-admin-login.php:250
64 #, php-format
65 msgid ""
66 "Your login page is now here: <strong><a href=\"%1$s\">%2$s</a></strong>. "
67 "Bookmark this page!"
68 msgstr ""
69 "La tua pagina di accesso adesso si trova qui: <strong><a href=\\”%1$s\\”>"
70 "%2$s</a></strong>. Metti questa pagina nei preferiti!"
71
72 #: ../includes/headers-security-advanced-hsts-admin-login.php:256
73 #: ../includes/headers-security-advanced-hsts-admin-login.php:258
74 msgid "Settings"
75 msgstr "Impostazioni"
76
77 #: ../includes/headers-security-advanced-hsts-admin-login.php:275
78 msgid "This feature is not enabled."
79 msgstr "Questa funzione non è abilitata."
1 === Plugin Name ===
2 Contributors: unicorn03, unicorn07
3 Donate link: https://tentacleplugins.com/
4 Tags: headers security, hsts, http headers, insecure content, force ssl, headers, login security, xss, clickjacking, mitm, cross origin, cross site, privacy, csp
5 Requires at least: 4.7
6 Tested up to: 6.0
7 Stable tag: 4.8.96
8 Requires PHP: 7.0
9 License: GPLv2 or later
10 License URI: https://www.gnu.org/licenses/gpl-2.0.html
11
12 Best all-in-one WordPress security plugin, uses HTTP & HSTS response headers to avoid vulnerabilities: XSS, injection, clickjacking. Force HTTP/HTTPS.
13
14 == Description ==
15
16 = ENGLISH =
17
18 **Headers Security Advanced & HSTS WP** is Best all-in-one a free plug-in for all WordPress users. Deactivating this plugin will return your site configuration exactly to the state it was in before.
19
20 The **Headers Security Advanced & HSTS WP** project implements HTTP response headers that your site can use to increase the security of your website. The plug-in will automatically set up all Best Practices (you don't have to think about anything), these HTTP response headers can prevent modern browsers from running into easily predictable vulnerabilities. The Headers Security Advanced & HSTS WP project wants to popularize and increase awareness and usage of these headers for all wordpress users.
21
22 This plugin is developed by TentaclePlugins, we care about WordPress security and best practices.
23
24 Check out the best features of **Headers Security Advanced & HSTS WP:**
25
26 * HSA Limit Login to block brute force attacks.
27 * X-XSS-Protection
28 * Expect-CT
29 * Access-Control-Allow-Origin
30 * Access-Control-Allow-Methods
31 * Access-Control-Allow-Headers
32 * X-Content-Security-Policy
33 * X-Content-Type-Options
34 * X-Frame-Options
35 * X-Permitted-Cross-Domain-Policies
36 * X-Powered-By
37 * Content-Security-Policy
38 * Referrer-Policy
39 * HTTP Strict Transport Security / HSTS
40 * Content-Security-Policy
41 * Clear-Site-Data
42 * Cross-Origin-Embedder-Policy-Report-Only
43 * Cross-Origin-Opener-Policy-Report-Only
44 * Cross-Origin-Embedder-Policy
45 * Cross-Origin-Opener-Policy
46 * Cross-Origin-Resource-Policy
47 * Permissions-Policy
48 * Strict-dynamic
49 * Strict-Transport-Security
50 * FLoC (Federated Learning of Cohorts)
51
52 **Headers Security Advanced & HSTS WP** is based on **OWASP CSRF** to protect your wordpress site. Using OWASP CSRF, once the plugin is installed, it will provide full CSRF mitigation without having to call a method to use nonce on the output. The site will be secure despite having other vulnerable plugins (CSRF).
53
54 HTTP security headers are a critical part of your website's security. After automatic implementation with Headers Security Advanced & HSTS WP, they protect you from the most notorious types of attacks your site might encounter. These headers protect against XSS, code injection, clickjacking, etc.
55
56 We have implemented **FLoC (Federated Learning of Cohorts)**, using best practices. First, using **Headers Security Advanced & HSTS WP** prevents the browser from including your site in the "cohort calculation" on **FLoC (Federated Learning of Cohorts)**. This means that nothing can call document.interestCohort() to get the FLoC ID of the currently used client. Obviously, this does nothing outside of your currently visited site and does not "disable" FLoC on the client beyond that scope.
57
58 Even though **FLoC** is still fairly new and not yet widely supported, as programmers we think that privacy protection elements are important, so we choose to give you the feature of being opt out of FLoC! We’ve created a special **“automatic blocking of FLoC”** feature, trying to always **offer the best tool with privacy protection and cyber security** as main targets and focus.
59
60 Analyze your site before and after using *Headers Security Advanced & HSTS WP* security headers are self-configured according to HTTP Security Headers and HTTP Strict Transport Security / HSTS best practices.
61
62 * Check HTTP Security Headers on <a href="https://securityheaders.com/" target="_blank">securityheaders.com</a>
63 * Check HTTP Strict Transport Security / HSTS at <a href="https://hstspreload.org/" target="_blank">hstspreload.org</a>
64 * Check WebPageTest at <a href="https://www.webpagetest.org/" target="_blank">webpagetest.org</a>
65 * Check HSTS test website <a href="https://gf.dev/hsts-test/" target="_blank">gf.dev/hsts-test</a>
66
67 This plugin is updated periodically, our limited support is free, we are available for your feedback (bugs, compatibility issues or recommendations for next updates). We are usually fast :-D.
68
69 == Frequently Asked Questions ==
70
71 = How do you get an A+ grade? =
72
73 To earn an A+ grade, your site must issue all HTTP response headers that we check. This indicates a high level of commitment to improving the security of your visitors.
74
75 = What headers are recommended? =
76
77 Over an HTTP connection we get Content-Security-Policy, X-Content-Type-Options, X-Frame-Options and X-XSS-Protection. Via an HTTPS connection, 2 additional headers are checked for presence which are Strict-Transport-Security and Public-Key-Pins.
78
79 * Once the plug-in is activated it performs a test (before and after): <a href="https://securityheaders.com/" target="_blank">https://securityheaders.com/</a>
80
81 = Can the plugin create slowdowns? =
82
83 No, Headers Security Advanced & HSTS WP is Fast, Secure and does not affect the SEO and speed of your website.
84
85 = What is HSTS (Strict Transport Security)? =
86
87 It was created as a solution to force the browser to use secure connections when a site is running on HTTPS. It is a security header that is added to the web server and reflected in the response header as Strict-Transport-Security. HSTS is important because it addresses the following anomalies:
88
89 = Check before and after using Preload HSTS =
90
91 This step is important to submit your website and/or domain to an approved HSTS list. Google officially compiles this list and it is used by Chrome, Firefox, Opera, Safari, IE11 and Edge. You can forward your site to the official HSTS preload directory. ('https://hstspreload.org/')
92
93 = how to use HTTP Strict Transport Security (HSTS) =
94
95 If you want to use Preload HSTS for your site, there are a few requirements before you can activate it.
96
97 * Have a valid SSL certificate. You can't do any of this anyway without it.
98 * You must redirect all HTTP traffic to HTTPS (recommended via permanent 301 redirects). This means that your site should be HTTPS only.
99 * You need to serve all subdomains in HTTPS as well. If you have subdomains, you will need an SSL certificate.
100
101 The HSTS header on your base domain (for example: example.com) is already configured you just need to activate the plug-in.
102
103 If you want to check the HSTS status of your site, you can do so here: <a href="https://hstspreload.org/" target="_blank">https://hstspreload.org/</a>
104
105 = Can I report a bug or request a feature? =
106
107 You can report bugs or request new features right <a href="mailto:tentacleplugins.support@protonmail.com">click here !</a>
108
109 = Disable FLoC, Google's advertising technology =
110
111 FLoC is a mega tracker that monitors user activity on all sites, stores the information in the browser, and then uses machine learning to place users into cohorts with similar interests. This way, advertisers can target groups of people with similar interests. Plus, according to Google's own testing, FLoC achieves at least 95% more conversions than cookies.
112
113 = Who is disabling FLoC by Google? =
114
115 Scott Helme reported that as of May 3, already 967 of the first 1 million domains had disabled FLoC's interest-cohort in their Permissions-Policy header. That list included some big sites like The Guardian and IKEA.
116
117 == Installation ==
118
119 = ITALIAN =
120
121 1. Vai in Plugin 'Aggiungi nuovo'.
122 2. Cerca Headers Security Advanced & HSTS WP.
123 3. Cerca questo plugin, scaricalo e attivalo.
124 4. Vai in 'impostazioni' > 'Permalink'. Cambia il tuo url di login alla voce 'Security Url'.
125 5. Puoi cambiare questa opzione quando vuoi, Headers Security Advanced & HSTS WP viene impostato in automatico.
126
127 = ENGLISH =
128
129 1. Go to Plugins 'Add New'.
130 2. Search for Headers Security Advanced & HSTS WP.
131 3. Search for this plugin, download and activate it.
132 4. Go to 'settings' > 'Permalink'. Change your login url to 'Security Url'.
133 5. You can change this option whenever you want, Headers Security Advanced & HSTS WP is set automatically.
134
135 = FRANÇAIS =
136
137 1. Allez dans Plugins 'Add new'.
138 2. Recherchez Headers Security Advanced & HSTS WP.
139 3. Recherchez ce plugin, téléchargez-le et activez-le.
140 4. Allez dans "Paramètres" > "Lien permanent". Changez votre url de connexion en 'Security Url'.
141 5. Vous pouvez modifier cette option quand vous le souhaitez, Headers Security Advanced & HSTS WP est réglé automatiquement.
142
143 = DEUTSCH =
144
145 1. Gehen Sie zu Plugins 'Neu hinzufügen'.
146 2. Suchen Sie nach Headers Security Advanced & HSTS WP.
147 3. Suchen Sie nach diesem Plugin, laden Sie es herunter und aktivieren Sie es.
148 4. Gehen Sie zu "Einstellungen" > "Permalink". Ändern Sie Ihre Login-Url in 'Security Url'.
149 5. Sie können diese Option jederzeit ändern, Headers Security Advanced & HSTS WP wird automatisch eingestellt.
150
151 == Screenshots ==
152
153 1. Check HTTP Security Headers (AFTER)
154 2. Check HTTP Security Headers (BEFORE)
155 3. Check HTTP Strict Transport Security / HSTS (list)
156 4. Check WebPageTest (AFTER)
157 5. Check WebPageTest (BEFORE)
158 6. Setting on single site installation
159 7. Check HTTP Security Headers - Serpworx (AFTER)
160 8. Check HTTP Security Headers - Serpworx (BEFORE)
161 9. Site-wide security setting
162
163 == Changelog ==
164
165 = 4.8.96 =
166 We don't want to tell you what to do, but here's the thing: if you updated Headers Security Advanced & HSTS WP plugin last time, you saw that when we propose to do it, we don't just say it. Well, we've added and fixed a lot of things with this version 4.8.96 (we've exterminated some bugs, fixed some annoying pixels and refreshed the graphics) and everything works like a charm. So we're in agreement? Tap "update" and we'll give you the coolest, fastest and most awesome plugin out there with the best updates in the world. Enjoy
167 - Fixed: Fixed issue that could show in own console log an error of (syntax error);
168 - Upgrade: Speeded up loading and compatibility with some third-party plugins;
169 - Upgrade: Updated some optimization functions of Wordpress version 6.0;
170
171 = 4.8.94 =
172 We don't want to tell you what to do, but here's the thing: if you updated Headers Security Advanced & HSTS WP plugin last time, you saw that when we propose to do it, we don't just say it. Well, we've added and fixed a lot of things with this version 4.8.94 (we've exterminated some bugs, fixed some annoying pixels and refreshed the graphics) and everything works like a charm. So we're in agreement? Tap "update" and we'll give you the coolest, fastest and most awesome plugin out there with the best updates in the world. Enjoy
173 - Update: optimization and resolution external application compatibility;
174 - Fixed: solved problem with some headers and debug optimizations;
175
176 = 4.8.93 =
177 We don't want to tell you what to do, but here's the thing: if you updated Headers Security Advanced & HSTS WP plugin last time, you saw that when we propose to do it, we don't just say it. Well, we've added and fixed a lot of things with this version 4.8.93 (we've exterminated some bugs, fixed some annoying pixels and refreshed the graphics) and everything works like a charm. So we're in agreement? Tap "update" and we'll give you the coolest, fastest and most awesome plugin out there with the best updates in the world. Enjoy
178 - Fixed: optimization and resolution external application compatibility;
179 - Fixed: solved problem with some headers and debug optimizations;
180 - Update: We fixed some issues that could occur with the "full screen" method;
181
182 = 4.8.92 =
183 We don't want to tell you what to do, but here's the thing: if you updated Headers Security Advanced & HSTS WP plugin last time, you saw that when we propose to do it, we don't just say it. Well, we've added and fixed a lot of things with this version 4.8.90 (we've exterminated some bugs, fixed some annoying pixels and refreshed the graphics) and everything works like a charm. So we're in agreement? Tap "update" and we'll give you the coolest, fastest and most awesome plugin out there with the best updates in the world. Enjoy
184 - Fixed: Compatibility with version 6.0 of Wordpress
185 - Fixed: redirection errors could occur ERR_TOO_MANY_REDIRECTS
186
187 = 4.8.91 =
188 We don't want to tell you what to do, but here's the thing: if you updated Headers Security Advanced & HSTS WP plugin last time, you saw that when we propose to do it, we don't just say it. Well, we've added and fixed a lot of things with this version 4.8.90 (we've exterminated some bugs, fixed some annoying pixels and refreshed the graphics) and everything works like a charm. So we're in agreement? Tap "update" and we'll give you the coolest, fastest and most awesome plugin out there with the best updates in the world. Enjoy
189 - New: Compatibility with version 6.0 of Wordpress
190 - Update: We fixed some issues that could occur with the "full screen" method
191
192 = 4.8.90 =
193 We don't want to tell you what to do, but here's the thing: if you updated Headers Security Advanced & HSTS WP plugin last time, you saw that when we propose to do it, we don't just say it. Well, we've added and fixed a lot of things with this version 4.8.90 (we've exterminated some bugs, fixed some annoying pixels and refreshed the graphics) and everything works like a charm. So we're in agreement? Tap "update" and we'll give you the coolest, fastest and most awesome plugin out there with the best updates in the world. Enjoy
194 - New: compatibility Wordpress 6.0
195
196 = 4.8.89 =
197 We don't want to tell you what to do, but here's the thing: if you updated Headers Security Advanced & HSTS WP plugin last time, you saw that when we propose to do it, we don't just say it. Well, we've added and fixed a lot of things with this version 4.8.89 (we've exterminated some bugs, fixed some annoying pixels and refreshed the graphics) and everything works like a charm. So we're in agreement? Tap "update" and we'll give you the coolest, fastest and most awesome plugin out there with the best updates in the world. Enjoy
198 - Fixed: We fixed an issue that could occur with a renamed version of a header parameter, now we have optimized the request;
199
200 = 4.8.88 =
201 We don't want to tell you what to do, but here's the thing: if you updated Headers Security Advanced & HSTS WP plugin last time, you saw that when we propose to do it, we don't just say it. Well, we've added and fixed a lot of things with this version 4.8.88 (we've exterminated some bugs, fixed some annoying pixels and refreshed the graphics) and everything works like a charm. So we're in agreement? Tap "update" and we'll give you the coolest, fastest and most awesome plugin out there with the best updates in the world. Enjoy
202 - New: Added New X-Permitted-Cross-Domain-Policies;
203 - New: Optimization with the Serpworx tool (Check Your Security Headers);
204 - Add: Added new "Feature-Policies" such as: push=(), vibrate=(), fullscreen();
205 - Fixed: We fixed a problem with the debug.log file that could show the following warning (PHP Notice: Undefined index);
206
207 = 4.8.86 =
208 We don't want to tell you what to do, but here's the thing: if you updated Headers Security Advanced & HSTS WP plugin last time, you saw that when we propose to do it, we don't just say it. Well, we've added and fixed a lot of things with this version 4.8.86 (we've exterminated some bugs, fixed some annoying pixels and refreshed the graphics) and everything works like a charm. So we're in agreement? Tap "update" and we'll give you the coolest, fastest and most awesome plugin out there with the best updates in the world. Enjoy
209 - Fixed: We fixed a problem with the debug.log file that could show the following warning (PHP Notice: Undefined index);
210 - Fixed: fixed the problem with the wordpress widget, it could cause the wrong display of the favicon;
211
212 = 4.8.85 =
213 We don't want to tell you what to do, but here's the thing: if you updated Headers Security Advanced & HSTS WP plugin last time, you saw that when we propose to do it, we don't just say it. Well, we've added and fixed a lot of things with this version 4.8.85 (we've exterminated some bugs, fixed some annoying pixels and refreshed the graphics) and everything works like a charm. So we're in agreement? Tap "update" and we'll give you the coolest, fastest and most awesome plugin out there with the best updates in the world. Enjoy
214 - Fixed: We fixed a problem with the debug.log file that could show the following warning (PHP Notice: Undefined index);
215
216 = 4.8.6 =
217 We don't want to tell you what to do, but here's the thing: if you updated the plugin last time, you saw that when we propose to do it, we don't just say it. Well, we've added and fixed a lot of things with this version 4.8.6 (we've improved some crazy programmer stuff) and everything works like a charm. So we're in agreement? Tap "update" and we'll give you the coolest, fastest and most awesome plugin out there with the best updates in the world. Now let's get started right away to the next code and update to do 😀 we're crazy but we like this one
218 - Fixed: We have fixed an issue with the X-Frame-Options header;
219
220 = 4.8.3 =
221 We don't want to tell you what to do, but here's the thing: if you updated the plugin last time, you saw that when we propose to do it, we don't just say it. Well, we've added and fixed a lot of things with this version 4.8.3 (we've improved some crazy programmer stuff) and everything works like a charm. So we're in agreement? Tap "update" and we'll give you the coolest, fastest and most awesome plugin out there with the best updates in the world. Now let's get started right away to the next code and update to do 😀 we're crazy but we like this one
222 - Fixed: This is the latest version to fix and make compatible with themes, plugins that could create conflicts with Vimeo and Youtube implementation.
223
224 = 4.8.0 =
225 We don't want to tell you what to do, but here's the thing: if you updated the plugin last time, you saw that when we propose to do it, we don't just say it. Well, we've added and fixed a lot of things with this version 4.8.0 (we've improved some crazy programmer stuff) and everything works like a charm. So we're in agreement? Tap "update" and we'll give you the coolest, fastest and most awesome plugin out there with the best updates in the world. Now let's get started right away to the next code and update to do 😀 we're crazy but we like this one
226 - Fixed: We have fixed some issues with Vimeo viewing
227
228 = 4.7.30 =
229 We don't want to tell you what to do, but here's the thing: if you updated the plugin last time, you saw that when we propose to do it, we don't just say it. Well, we've added and fixed a lot of things with this version 4.7.30 (we've improved some crazy programmer stuff) and everything works like a charm. So we're in agreement? Tap "update" and we'll give you the coolest, fastest and most awesome plugin out there with the best updates in the world. Now let's get started right away to the next code and update to do 😀 we're crazy but we like this one
230 - Fixed: We found some bugs and now the plugin is more optimized and happy :-D
231 - Fixed: We have fixed some issues with Vimeo viewing
232 - Update: Wordpress 5.9
233
234 = 4.7.20 =
235 We don't want to tell you what to do, but here's the thing: if you updated the plugin last time, you saw that when we propose to do it, we don't just say it. Well, we've added and fixed a lot of things with this version 4.7.20 (we've improved some crazy programmer stuff) and everything works like a charm. So we're in agreement? Tap "update" and we'll give you the coolest, fastest and most awesome plugin out there with the best updates in the world. Now let's get started right away to the next code and update to do 😀 we're crazy but we like this one
236 - New: Wordpress 5.9
237 - Fixed: We've listened to your feedback and have momentarily disabled the ability to customize the url
238
239 = 4.7.15 =
240 We don’t want to tell you what to do, but here’s the thing: if you updated the plugin last time, you saw that when we propose to do it, we don’t just say it. Well, we’ve added and fixed a lot of things with this 4.7.15 version (we’ve improved some crazy programmer stuff) and everything works like a charm. So are we on board? Tap on “update” and we’ll give you the coolest, fastest, most awesome plugin out there with the best updates in the world. Now let’s get started right away to the next code and update to do 😀 we are crazy but we like this
241 * Fixed: we have solved the error that was shown in QueryMonitor Undefined property
242
243 = 4.7.1 =
244 We don’t want to tell you what to do, but here’s the thing: if you updated the plugin last time, you saw that when we propose to do it, we don’t just say it. Well, we’ve added and fixed a lot of things with this 4.7.1 version (we’ve improved some crazy programmer stuff) and everything works like a charm. So are we on board? Tap on “update” and we’ll give you the coolest, fastest, most awesome plugin out there with the best updates in the world. Now let’s get started right away to the next code and update to do 😀 we are crazy but we like this
245 * Fixed: "All the little beings that generated errors and bugs have been exterminated. We know we are very attentive to details"
246 * Update: "Third-party plugin optimization such as cache, cloudflare and redirects"
247
248 = 4.7.0 =
249 IMPORTANT: This update optimizes and fixes some issues that may occur with a cache manager.
250 We don't want to tell you what to do, but here's the thing: if you updated the plugin last time, you saw that when we propose to do it, we don't just say it. Well, we've added and fixed a lot of things with this 4.7.0 version (we've improved some crazy programmer stuff) and everything works like a charm. So are we on board? Tap on "update" and we'll give you the coolest, fastest, most awesome plugin out there with the best updates in the world. Now let's get started right away to the next code and update to do :D we are crazy but we like this
251 * Update: "X Powered By"
252 * Update: Content Security Policy optimization (CSP Header) and internal testing with Chrome, Firefox, Safari, Edge
253 * Updated: "accelerometer block"
254 * Updated: "gyroscope block"
255 * Updated: "magnetometer block"
256 * Updated: "usb block"
...\ No newline at end of file ...\ No newline at end of file