Changeset 3019568
- Timestamp:
- 01/09/2024 09:52:02 PM (7 months ago)
- Location:
- akismet/trunk
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
akismet/trunk/_inc/akismet-frontend.js
r2803597 r3019568 81 81 var input_fields = { 82 82 // When did the user begin entering any input? 83 ' ak_bib': input_begin,83 'bib': input_begin, 84 84 85 85 // When was the form submitted? 86 ' ak_bfs': Date.now(),86 'bfs': Date.now(), 87 87 88 88 // How many keypresses did they make? 89 ' ak_bkpc': keypresses.length,89 'bkpc': keypresses.length, 90 90 91 91 // How quickly did they press a sample of keys, and how long between them? 92 ' ak_bkp': ak_bkp,92 'bkp': ak_bkp, 93 93 94 94 // How quickly did they click the mouse, and how long between clicks? 95 ' ak_bmc': ak_bmc,95 'bmc': ak_bmc, 96 96 97 97 // How many mouseclicks did they make? 98 ' ak_bmcc': mouseclicks.length,98 'bmcc': mouseclicks.length, 99 99 100 100 // When did they press modifier keys (like Shift or Capslock)? 101 ' ak_bmk': modifierKeys.join( ';' ),101 'bmk': modifierKeys.join( ';' ), 102 102 103 103 // When did they correct themselves? e.g., press Backspace, or use the arrow keys to move the cursor back 104 ' ak_bck': correctionKeys.join( ';' ),104 'bck': correctionKeys.join( ';' ), 105 105 106 106 // How many times did they move the mouse? 107 ' ak_bmmc': mousemoves.length,107 'bmmc': mousemoves.length, 108 108 109 109 // How many times did they move around using a touchscreen? 110 ' ak_btmc': touchmoveCount,110 'btmc': touchmoveCount, 111 111 112 112 // How many times did they scroll? 113 ' ak_bsc': scrollCount,113 'bsc': scrollCount, 114 114 115 115 // How quickly did they perform touch events, and how long between them? 116 ' ak_bte': ak_bte,116 'bte': ak_bte, 117 117 118 118 // How many touch events were there? 119 ' ak_btec' : touchEvents.length,119 'btec' : touchEvents.length, 120 120 121 121 // How quickly did they move the mouse, and how long between moves? 122 ' ak_bmm' : ak_bmm122 'bmm' : ak_bmm 123 123 }; 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 124 140 125 141 for ( var field_name in input_fields ) { 126 142 var field = document.createElement( 'input' ); 127 143 field.setAttribute( 'type', 'hidden' ); 128 field.setAttribute( 'name', field_name );144 field.setAttribute( 'name', field_name ); 129 145 field.setAttribute( 'value', input_fields[ field_name ] ); 130 146 this.appendChild( field ); -
akismet/trunk/akismet.php
r3016639 r3019568 7 7 Plugin URI: https://akismet.com/ 8 8 Description: Used by millions, Akismet is quite possibly the best way in the world to <strong>protect your blog from spam</strong>. Akismet Anti-spam keeps your site protected even while you sleep. To get started: activate the Akismet plugin and then go to your Akismet Settings page to set up your API key. 9 Version: 5.3.1a 69 Version: 5.3.1a 10 10 Requires at least: 5.8 11 11 Requires PHP: 5.6.20 … … 40 40 } 41 41 42 define( 'AKISMET_VERSION', '5.3.1a 6' );42 define( 'AKISMET_VERSION', '5.3.1a' ); 43 43 define( 'AKISMET__MINIMUM_WP_VERSION', '5.8' ); 44 44 define( 'AKISMET__PLUGIN_DIR', plugin_dir_path( __FILE__ ) ); -
akismet/trunk/class.akismet.php
r3016639 r3019568 1463 1463 } 1464 1464 1465 $fields .= '<p style="display: none !important;" >';1465 $fields .= '<p style="display: none !important;">'; 1466 1466 $fields .= '<label>Δ<textarea name="' . $prefix . 'hp_textarea" cols="45" rows="8" maxlength="100"></textarea></label>'; 1467 1467 -
akismet/trunk/readme.txt
r3016639 r3019568 40 40 * Fix a minor error that occurs when another plugin removes all comment actions from the dashboard. 41 41 * Add the akismet_request_args filter to allow request args in Akismet API requests to be filtered. 42 42 43 43 44 = 5.3 =
Note: See TracChangeset
for help on using the changeset viewer.