PluginProbe
Jetpack – WP Security, Backup, Speed, & Growth / 16.3
Jetpack – WP Security, Backup, Speed, & Growth v16.3
16.3 16.3-beta 16.3-a.5 16.3-a.7 16.3-a.3 16.3-a.1 16.2 16.2-beta 12.0.3 12.1.3 12.2.3 12.3.2 12.4.2 12.5.2 12.6.4 12.7.3 12.8.3 12.9.5 13.0.2 13.1.5 13.2.4 13.3.3 13.4.5 13.5.2 13.6.2 All 508 releases
← All changes | modules/wpgroho.js +7 -3 12.0.3 → 16.3 View file →
@@ -3,12 +3,16 @@
3 3 var extend = function ( out ) {
4 4 out = out || {};
5 5
6 6 for ( var i = 1; i < arguments.length; i++ ) {
7 - if ( ! arguments[ i ] ) continue;
7 + if ( ! arguments[ i ] ) {
8 + continue;
9 + }
8 10
9 11 for ( var key in arguments[ i ] ) {
10 - if ( arguments[ i ].hasOwnProperty( key ) ) out[ key ] = arguments[ i ][ key ];
12 + if ( Object.hasOwn( arguments[ i ], key ) ) {
13 + out[ key ] = arguments[ i ][ key ];
14 + }
11 15 }
12 16 }
13 17
14 18 return out;
@@ -43,9 +47,9 @@
43 47 var heading = card.querySelector( 'h4' );
44 48 if ( heading ) {
45 49 var extra = document.createElement( 'p' );
46 50 extra.className = 'grav-extra ' + key;
47 - extra.innerHTML = data[ key ];
51 + extra.textContent = data[ key ];
48 52
49 53 heading.insertAdjacentElement( 'afterend', extra );
50 54 }
51 55 }