| 1 |
<?php |
| 2 |
/** |
| 3 |
* Changes logs default. |
| 4 |
* |
| 5 |
* @package MainWP\Dashboard and Child. |
| 6 |
*/ |
| 7 |
|
| 8 |
// Exit. |
| 9 |
if ( ! defined( 'ABSPATH' ) ) { |
| 10 |
exit; |
| 11 |
} |
| 12 |
|
| 13 |
return array( |
| 14 |
// Post. |
| 15 |
1200 => array( |
| 16 |
'type_id' => 1200, |
| 17 |
'desc' => esc_html__( 'Created a new post', 'mainwp' ), |
| 18 |
'context' => 'post', |
| 19 |
'action_name' => 'created', |
| 20 |
), |
| 21 |
1205 => array( |
| 22 |
'type_id' => 1205, |
| 23 |
'desc' => esc_html__( 'Published a post', 'mainwp' ), |
| 24 |
'context' => 'post', |
| 25 |
'action_name' => 'modified', |
| 26 |
), |
| 27 |
1210 => array( |
| 28 |
'type_id' => 1210, |
| 29 |
'desc' => esc_html__( 'Modified a post', 'mainwp' ), |
| 30 |
'context' => 'post', |
| 31 |
'action_name' => 'modified', |
| 32 |
), |
| 33 |
1215 => array( |
| 34 |
'type_id' => 1215, |
| 35 |
'desc' => esc_html__( 'Permanently deleted a post', 'mainwp' ), |
| 36 |
'context' => 'post', |
| 37 |
'action_name' => 'deleted', |
| 38 |
), |
| 39 |
1220 => array( |
| 40 |
'type_id' => 1220, |
| 41 |
'desc' => esc_html__( 'Permanently deleted a page', 'mainwp' ), |
| 42 |
'context' => 'post', |
| 43 |
'action_name' => 'deleted', |
| 44 |
), |
| 45 |
1225 => array( |
| 46 |
'type_id' => 1225, |
| 47 |
'desc' => esc_html__( 'Moved a post to trash', 'mainwp' ), |
| 48 |
'context' => 'post', |
| 49 |
'action_name' => 'deleted', |
| 50 |
), |
| 51 |
1230 => array( |
| 52 |
'type_id' => 1230, |
| 53 |
'desc' => esc_html__( 'Restored a post from trash', 'mainwp' ), |
| 54 |
'context' => 'post', |
| 55 |
'action_name' => 'restored', |
| 56 |
), |
| 57 |
1235 => array( |
| 58 |
'type_id' => 1235, |
| 59 |
'desc' => esc_html__( 'Changed the category of a post', 'mainwp' ), |
| 60 |
'context' => 'post', |
| 61 |
'action_name' => 'modified', |
| 62 |
), |
| 63 |
1240 => array( |
| 64 |
'type_id' => 1240, |
| 65 |
'desc' => esc_html__( 'Changed the URL of a post', 'mainwp' ), |
| 66 |
'context' => 'post', |
| 67 |
'action_name' => 'modified', |
| 68 |
), |
| 69 |
1245 => array( |
| 70 |
'type_id' => 1245, |
| 71 |
'desc' => esc_html__( 'Changed the author of a post', 'mainwp' ), |
| 72 |
'context' => 'post', |
| 73 |
'action_name' => 'modified', |
| 74 |
), |
| 75 |
1250 => array( |
| 76 |
'type_id' => 1250, |
| 77 |
'desc' => esc_html__( 'Changed the status of a post', 'mainwp' ), |
| 78 |
'context' => 'post', |
| 79 |
'action_name' => 'modified', |
| 80 |
), |
| 81 |
1255 => array( |
| 82 |
'type_id' => 1255, |
| 83 |
'desc' => esc_html__( 'Changed the parent of a post', 'mainwp' ), |
| 84 |
'context' => 'post', |
| 85 |
'action_name' => 'modified', |
| 86 |
), |
| 87 |
1260 => array( |
| 88 |
'type_id' => 1260, |
| 89 |
'desc' => esc_html__( 'Changed the template of a post', 'mainwp' ), |
| 90 |
'context' => 'post', |
| 91 |
'action_name' => 'modified', |
| 92 |
), |
| 93 |
1265 => array( |
| 94 |
'type_id' => 1265, |
| 95 |
'desc' => esc_html__( 'Set a post as Sticky', 'mainwp' ), |
| 96 |
'context' => 'post', |
| 97 |
'action_name' => 'modified', |
| 98 |
), |
| 99 |
1270 => array( |
| 100 |
'type_id' => 1270, |
| 101 |
'desc' => esc_html__( 'Removed post from Sticky', 'mainwp' ), |
| 102 |
'context' => 'post', |
| 103 |
'action_name' => 'modified', |
| 104 |
), |
| 105 |
1275 => array( |
| 106 |
'type_id' => 1275, |
| 107 |
'desc' => esc_html__( 'Created a custom field in a post', 'mainwp' ), |
| 108 |
'context' => 'post', |
| 109 |
'action_name' => 'modified', |
| 110 |
), |
| 111 |
1280 => array( |
| 112 |
'type_id' => 1280, |
| 113 |
'desc' => esc_html__( 'Submitted post for review', 'mainwp' ), |
| 114 |
'context' => 'post', |
| 115 |
'action_name' => 'modified', |
| 116 |
), |
| 117 |
1285 => array( |
| 118 |
'type_id' => 1285, |
| 119 |
'desc' => esc_html__( 'Scheduled a post for publishing', 'mainwp' ), |
| 120 |
'context' => 'post', |
| 121 |
'action_name' => 'modified', |
| 122 |
), |
| 123 |
1290 => array( |
| 124 |
'type_id' => 1290, |
| 125 |
'desc' => esc_html__( 'User changed the visibility of a post', 'mainwp' ), |
| 126 |
'context' => 'post', |
| 127 |
'action_name' => 'modified', |
| 128 |
), |
| 129 |
1295 => array( |
| 130 |
'type_id' => 1295, |
| 131 |
'desc' => esc_html__( 'Changed the date of a post', 'mainwp' ), |
| 132 |
'context' => 'post', |
| 133 |
'action_name' => 'modified', |
| 134 |
), |
| 135 |
1300 => array( |
| 136 |
'type_id' => 1300, |
| 137 |
'desc' => esc_html__( 'Modified the content of a post', 'mainwp' ), |
| 138 |
'context' => 'post', |
| 139 |
'action_name' => 'modified', |
| 140 |
), |
| 141 |
1305 => array( |
| 142 |
'type_id' => 1305, |
| 143 |
'desc' => esc_html__( 'Changed title of a post', 'mainwp' ), |
| 144 |
'context' => 'post', |
| 145 |
'action_name' => 'modified', |
| 146 |
), |
| 147 |
1310 => array( |
| 148 |
'type_id' => 1310, |
| 149 |
'desc' => esc_html__( 'Opened a post in editor', 'mainwp' ), |
| 150 |
'context' => 'post', |
| 151 |
'action_name' => 'opened', |
| 152 |
), |
| 153 |
1315 => array( |
| 154 |
'type_id' => 1315, |
| 155 |
'desc' => esc_html__( 'Viewed a post', 'mainwp' ), |
| 156 |
'context' => 'post', |
| 157 |
'action_name' => 'viewed', |
| 158 |
), |
| 159 |
1320 => array( |
| 160 |
'type_id' => 1320, |
| 161 |
'desc' => esc_html__( 'Enabled comments in a post', 'mainwp' ), |
| 162 |
'context' => 'post', |
| 163 |
'action_name' => 'modified', |
| 164 |
), |
| 165 |
1321 => array( |
| 166 |
'type_id' => 1321, |
| 167 |
'desc' => esc_html__( 'Disabled comments in a post', 'mainwp' ), |
| 168 |
'context' => 'post', |
| 169 |
'action_name' => 'modified', |
| 170 |
), |
| 171 |
1325 => array( |
| 172 |
'type_id' => 1325, |
| 173 |
'desc' => esc_html__( 'Enabled trackbacks in a post', 'mainwp' ), |
| 174 |
'context' => 'post', |
| 175 |
'action_name' => 'modified', |
| 176 |
), |
| 177 |
1326 => array( |
| 178 |
'type_id' => 1326, |
| 179 |
'desc' => esc_html__( 'Disabled trackbacks in a post', 'mainwp' ), |
| 180 |
'context' => 'post', |
| 181 |
'action_name' => 'modified', |
| 182 |
), |
| 183 |
1330 => array( |
| 184 |
'type_id' => 1330, |
| 185 |
'desc' => esc_html__( 'Modified the excerpt of a post', 'mainwp' ), |
| 186 |
'msg' => esc_html__( '%action% the excerpt of a post', 'mainwp' ), |
| 187 |
'context' => 'post', |
| 188 |
'action_name' => 'modified', |
| 189 |
), |
| 190 |
1335 => array( |
| 191 |
'type_id' => 1335, |
| 192 |
'desc' => esc_html__( 'Modified the feature image of a post', 'mainwp' ), |
| 193 |
'msg' => esc_html__( '%action% the feature image of a post', 'mainwp' ), |
| 194 |
'context' => 'post', |
| 195 |
'action_name' => 'modified', |
| 196 |
), |
| 197 |
1340 => array( |
| 198 |
'type_id' => 1340, |
| 199 |
'desc' => esc_html__( 'Taken over a post from another user', 'mainwp' ), |
| 200 |
'context' => 'post', |
| 201 |
'action_name' => 'modified', |
| 202 |
), |
| 203 |
// Custom field. |
| 204 |
1345 => array( |
| 205 |
'type_id' => 1345, |
| 206 |
'desc' => esc_html__( 'Added a relationship in an ACF custom field', 'mainwp' ), |
| 207 |
'context' => 'custom-field', |
| 208 |
'action_name' => 'modified', |
| 209 |
), |
| 210 |
1350 => array( |
| 211 |
'type_id' => 1350, |
| 212 |
'desc' => esc_html__( 'Removed a relationship from an ACF custom field', 'mainwp' ), |
| 213 |
'context' => 'custom-field', |
| 214 |
'action_name' => 'modified', |
| 215 |
), |
| 216 |
1355 => array( |
| 217 |
'type_id' => 1355, |
| 218 |
'desc' => esc_html__( 'Changed the value of a custom field', 'mainwp' ), |
| 219 |
'context' => 'custom-field', |
| 220 |
'action_name' => 'modified', |
| 221 |
), |
| 222 |
1360 => array( |
| 223 |
'type_id' => 1360, |
| 224 |
'desc' => esc_html__( 'Deleted a custom field', 'mainwp' ), |
| 225 |
'context' => 'custom-field', |
| 226 |
'action_name' => 'deleted', |
| 227 |
), |
| 228 |
1365 => array( |
| 229 |
'type_id' => 1365, |
| 230 |
'desc' => esc_html__( 'Renamed a custom field', 'mainwp' ), |
| 231 |
'context' => 'custom-field', |
| 232 |
'action_name' => 'renamed', |
| 233 |
), |
| 234 |
// Category. |
| 235 |
1370 => array( |
| 236 |
'type_id' => 1370, |
| 237 |
'desc' => esc_html__( 'Created a new category', 'mainwp' ), |
| 238 |
'context' => 'category', |
| 239 |
'action_name' => 'created', |
| 240 |
), |
| 241 |
1375 => array( |
| 242 |
'type_id' => 1375, |
| 243 |
'desc' => esc_html__( 'Deleted a category', 'mainwp' ), |
| 244 |
'context' => 'category', |
| 245 |
'action_name' => 'deleted', |
| 246 |
), |
| 247 |
1380 => array( |
| 248 |
'type_id' => 1380, |
| 249 |
'desc' => esc_html__( 'Changed the parent of a category', 'mainwp' ), |
| 250 |
'context' => 'category', |
| 251 |
'action_name' => 'modified', |
| 252 |
), |
| 253 |
1385 => array( |
| 254 |
'type_id' => 1385, |
| 255 |
'desc' => esc_html__( 'Renamed a category', 'mainwp' ), |
| 256 |
'context' => 'category', |
| 257 |
'action_name' => 'modified', |
| 258 |
), |
| 259 |
1390 => array( |
| 260 |
'type_id' => 1390, |
| 261 |
'desc' => esc_html__( 'Changed slug of a category', 'mainwp' ), |
| 262 |
'context' => 'category', |
| 263 |
'action_name' => 'modified', |
| 264 |
), |
| 265 |
// Tag. |
| 266 |
1395 => array( |
| 267 |
'type_id' => 1395, |
| 268 |
'desc' => esc_html__( 'Added tag(s) to a post', 'mainwp' ), |
| 269 |
'context' => 'post', |
| 270 |
'action_name' => 'modified', |
| 271 |
), |
| 272 |
1400 => array( |
| 273 |
'type_id' => 1400, |
| 274 |
'desc' => esc_html__( 'Removed tag(s) from a post', 'mainwp' ), |
| 275 |
'context' => 'post', |
| 276 |
'action_name' => 'modified', |
| 277 |
), |
| 278 |
1405 => array( |
| 279 |
'type_id' => 1405, |
| 280 |
'desc' => esc_html__( 'Renamed a tag', 'mainwp' ), |
| 281 |
'context' => 'tag', |
| 282 |
'action_name' => 'modified', |
| 283 |
), |
| 284 |
1406 => array( |
| 285 |
'type_id' => 1406, |
| 286 |
'desc' => esc_html__( 'Created a new tag', 'mainwp' ), |
| 287 |
'context' => 'tag', |
| 288 |
'action_name' => 'created', |
| 289 |
), |
| 290 |
1407 => array( |
| 291 |
'type_id' => 1407, |
| 292 |
'desc' => esc_html__( 'Deleted a tag', 'mainwp' ), |
| 293 |
'context' => 'tag', |
| 294 |
'action_name' => 'deleted', |
| 295 |
), |
| 296 |
1410 => array( |
| 297 |
'type_id' => 1410, |
| 298 |
'desc' => esc_html__( 'Changed the slug of a tag', 'mainwp' ), |
| 299 |
'context' => 'tag', |
| 300 |
'action_name' => 'modified', |
| 301 |
), |
| 302 |
1415 => array( |
| 303 |
'type_id' => 1415, |
| 304 |
'desc' => esc_html__( 'Changed the description of a tag', 'mainwp' ), |
| 305 |
'context' => 'tag', |
| 306 |
'action_name' => 'modified', |
| 307 |
), |
| 308 |
// File. |
| 309 |
1420 => array( |
| 310 |
'type_id' => 1420, |
| 311 |
'desc' => esc_html__( 'Uploaded a file', 'mainwp' ), |
| 312 |
'context' => 'file', |
| 313 |
'action_name' => 'uploaded', |
| 314 |
), |
| 315 |
1425 => array( |
| 316 |
'type_id' => 1425, |
| 317 |
'desc' => esc_html__( 'Deleted a file', 'mainwp' ), |
| 318 |
'context' => 'file', |
| 319 |
'action_name' => 'deleted', |
| 320 |
), |
| 321 |
// Widget. |
| 322 |
1430 => array( |
| 323 |
'type_id' => 1430, |
| 324 |
'desc' => esc_html__( 'Added a new widget', 'mainwp' ), |
| 325 |
'context' => 'widget', |
| 326 |
'action_name' => 'added', |
| 327 |
), |
| 328 |
1435 => array( |
| 329 |
'type_id' => 1435, |
| 330 |
'desc' => esc_html__( 'Modified a widget', 'mainwp' ), |
| 331 |
'context' => 'widget', |
| 332 |
'action_name' => 'modified', |
| 333 |
), |
| 334 |
1440 => array( |
| 335 |
'type_id' => 1440, |
| 336 |
'desc' => esc_html__( 'Deleted a widget', 'mainwp' ), |
| 337 |
'context' => 'widget', |
| 338 |
'action_name' => 'deleted', |
| 339 |
), |
| 340 |
1445 => array( |
| 341 |
'type_id' => 1445, |
| 342 |
'desc' => esc_html__( 'Moved a widget in between sections', 'mainwp' ), |
| 343 |
'context' => 'widget', |
| 344 |
'action_name' => 'modified', |
| 345 |
), |
| 346 |
1450 => array( |
| 347 |
'type_id' => 1450, |
| 348 |
'desc' => esc_html__( 'Changed the position of a widget in a section', 'mainwp' ), |
| 349 |
'context' => 'widget', |
| 350 |
'action_name' => 'modified', |
| 351 |
), |
| 352 |
// Plugin. |
| 353 |
1455 => array( |
| 354 |
'type_id' => 1455, |
| 355 |
'desc' => esc_html__( 'Modified a file with the plugin editor', 'mainwp' ), |
| 356 |
'msg' => esc_html__( 'Modified a file of the plugin %plugin% with the plugin editor', 'mainwp' ), |
| 357 |
'context' => 'file', |
| 358 |
'action_name' => 'modified', |
| 359 |
), |
| 360 |
1460 => array( |
| 361 |
'type_id' => 1460, |
| 362 |
'desc' => esc_html__( 'The automatic updates setting for a plugin was changed.', 'mainwp' ), |
| 363 |
'msg' => esc_html__( '%action% automatic update the plugin %name%', 'mainwp' ), |
| 364 |
'context' => 'plugin', |
| 365 |
'action_name' => 'modified', |
| 366 |
), |
| 367 |
1461 => array( // Added: for recent activated plugins query. |
| 368 |
'type_id' => 1461, |
| 369 |
'desc' => esc_html__( 'Installed plugin is activated.', 'mainwp' ), |
| 370 |
'object_msg' => esc_html__( '%plugin% plugin', 'mainwp' ), |
| 371 |
'context' => 'plugin', |
| 372 |
'action_name' => 'activated', |
| 373 |
), |
| 374 |
// Theme. |
| 375 |
1465 => array( |
| 376 |
'type_id' => 1465, |
| 377 |
'desc' => esc_html__( 'Modified a file with the theme editor', 'mainwp' ), |
| 378 |
'msg' => esc_html__( 'Modified a file of the theme %theme% with the theme editor', 'mainwp' ), |
| 379 |
'context' => 'file', |
| 380 |
'action_name' => 'modified', |
| 381 |
), |
| 382 |
1470 => array( |
| 383 |
'type_id' => 1470, |
| 384 |
'desc' => esc_html__( 'The automatic updates setting for a theme was changed.', 'mainwp' ), |
| 385 |
'msg' => esc_html__( '%action% automatic update the theme %name%', 'mainwp' ), |
| 386 |
'context' => 'theme', |
| 387 |
'action_name' => 'modified', |
| 388 |
), |
| 389 |
// Menu. |
| 390 |
1475 => array( |
| 391 |
'type_id' => 1475, |
| 392 |
'desc' => esc_html__( 'Created a menu', 'mainwp' ), |
| 393 |
'context' => 'menu', |
| 394 |
'action_name' => 'created', |
| 395 |
), |
| 396 |
1480 => array( |
| 397 |
'type_id' => 1480, |
| 398 |
'desc' => esc_html__( 'Added item(s) to a menu', 'mainwp' ), |
| 399 |
'context' => 'menu', |
| 400 |
'action_name' => 'modified', |
| 401 |
), |
| 402 |
1485 => array( |
| 403 |
'type_id' => 1485, |
| 404 |
'desc' => esc_html__( 'Removed item(s) from a menu', 'mainwp' ), |
| 405 |
'context' => 'menu', |
| 406 |
'action_name' => 'modified', |
| 407 |
), |
| 408 |
// Menu. |
| 409 |
1490 => array( |
| 410 |
'type_id' => 1490, |
| 411 |
'desc' => esc_html__( 'Deleted a menu', 'mainwp' ), |
| 412 |
'context' => 'menu', |
| 413 |
'action_name' => 'deleted', |
| 414 |
), |
| 415 |
1495 => array( |
| 416 |
'type_id' => 1495, |
| 417 |
'desc' => esc_html__( 'Changed the settings of a menu', 'mainwp' ), |
| 418 |
'context' => 'menu', |
| 419 |
'action_name' => 'modified', |
| 420 |
), |
| 421 |
1500 => array( |
| 422 |
'type_id' => 1500, |
| 423 |
'desc' => esc_html__( 'Modified the item(s) in a menu', 'mainwp' ), |
| 424 |
'context' => 'menu', |
| 425 |
'action_name' => 'modified', |
| 426 |
), |
| 427 |
1505 => array( |
| 428 |
'type_id' => 1505, |
| 429 |
'desc' => esc_html__( 'Renamed a menu', 'mainwp' ), |
| 430 |
'context' => 'menu', |
| 431 |
'action_name' => 'modified', |
| 432 |
), |
| 433 |
1510 => array( |
| 434 |
'type_id' => 1510, |
| 435 |
'desc' => esc_html__( 'Changed the order of the objects in a menu.', 'mainwp' ), |
| 436 |
'context' => 'menu', |
| 437 |
'action_name' => 'modified', |
| 438 |
), |
| 439 |
1515 => array( |
| 440 |
'type_id' => 1515, |
| 441 |
'desc' => esc_html__( 'Moved an item as a sub-item in a menu', 'mainwp' ), |
| 442 |
'context' => 'menu', |
| 443 |
'action_name' => 'modified', |
| 444 |
), |
| 445 |
// Comment. |
| 446 |
1520 => array( |
| 447 |
'type_id' => 1520, |
| 448 |
'desc' => esc_html__( 'Approved a comment', 'mainwp' ), |
| 449 |
'context' => 'comment', |
| 450 |
'action_name' => 'modified', |
| 451 |
), |
| 452 |
1525 => array( |
| 453 |
'type_id' => 1525, |
| 454 |
'desc' => esc_html__( 'Unapproved a comment', 'mainwp' ), |
| 455 |
'context' => 'comment', |
| 456 |
'action_name' => 'modified', |
| 457 |
), |
| 458 |
1530 => array( |
| 459 |
'type_id' => 1530, |
| 460 |
'desc' => esc_html__( 'Replied to a comment', 'mainwp' ), |
| 461 |
'context' => 'comment', |
| 462 |
'action_name' => 'created', |
| 463 |
), |
| 464 |
1535 => array( |
| 465 |
'type_id' => 1535, |
| 466 |
'desc' => esc_html__( 'Edited a comment', 'mainwp' ), |
| 467 |
'context' => 'comment', |
| 468 |
'action_name' => 'modified', |
| 469 |
), |
| 470 |
1540 => array( |
| 471 |
'type_id' => 1540, |
| 472 |
'desc' => esc_html__( 'Marked a comment as spam', 'mainwp' ), |
| 473 |
'context' => 'comment', |
| 474 |
'action_name' => 'modified', |
| 475 |
), |
| 476 |
1545 => array( |
| 477 |
'type_id' => 1545, |
| 478 |
'desc' => esc_html__( 'Marked a comment as not spam', 'mainwp' ), |
| 479 |
'context' => 'comment', |
| 480 |
'action_name' => 'modified', |
| 481 |
), |
| 482 |
1550 => array( |
| 483 |
'type_id' => 1550, |
| 484 |
'desc' => esc_html__( 'Moved a comment to trash', 'mainwp' ), |
| 485 |
'context' => 'comment', |
| 486 |
'action_name' => 'deleted', |
| 487 |
), |
| 488 |
1555 => array( |
| 489 |
'type_id' => 1555, |
| 490 |
'desc' => esc_html__( 'Restored a comment from the trash', 'mainwp' ), |
| 491 |
'context' => 'comment', |
| 492 |
'action_name' => 'modified', |
| 493 |
), |
| 494 |
1560 => array( |
| 495 |
'type_id' => 1560, |
| 496 |
'desc' => esc_html__( 'Permanently deleted a comment', 'mainwp' ), |
| 497 |
'context' => 'comment', |
| 498 |
'action_name' => 'deleted', |
| 499 |
), |
| 500 |
1565 => array( |
| 501 |
'type_id' => 1565, |
| 502 |
'desc' => esc_html__( 'Posted a comment', 'mainwp' ), |
| 503 |
'context' => 'comment', |
| 504 |
'action_name' => 'created', |
| 505 |
), |
| 506 |
// User. |
| 507 |
1570 => array( |
| 508 |
'type_id' => 1570, |
| 509 |
'desc' => esc_html__( 'Successfully logged-in', 'mainwp' ), |
| 510 |
'context' => 'user', |
| 511 |
'action_name' => 'logged-in', |
| 512 |
), |
| 513 |
1575 => array( |
| 514 |
'type_id' => 1575, |
| 515 |
'desc' => esc_html__( 'Successfully logged out', 'mainwp' ), |
| 516 |
'context' => 'user', |
| 517 |
'action_name' => 'logged-out', |
| 518 |
), |
| 519 |
1580 => array( |
| 520 |
'type_id' => 1580, |
| 521 |
'desc' => esc_html__( 'Successful log in but other sessions exist for user', 'mainwp' ), |
| 522 |
'context' => 'user', |
| 523 |
'action_name' => 'logged-in', |
| 524 |
), |
| 525 |
1585 => array( |
| 526 |
'type_id' => 1585, |
| 527 |
'desc' => esc_html__( 'Logged out all other sessions with same user', 'mainwp' ), |
| 528 |
'context' => 'user', |
| 529 |
'action_name' => 'logged-out', |
| 530 |
), |
| 531 |
1590 => array( // ??? 11007 - Terminated a user session. |
| 532 |
'type_id' => 1590, |
| 533 |
'desc' => esc_html__( 'Terminated a user session', 'mainwp' ), |
| 534 |
'context' => 'user', |
| 535 |
'action_name' => 'logged-out', |
| 536 |
), |
| 537 |
1595 => array( |
| 538 |
'type_id' => 1595, |
| 539 |
'desc' => esc_html__( 'Switched to another user', 'mainwp' ), |
| 540 |
'context' => 'user', |
| 541 |
'action_name' => 'logged-in', |
| 542 |
), |
| 543 |
1596 => array( |
| 544 |
'type_id' => 1596, |
| 545 |
'desc' => esc_html__( 'User login from dashboard', 'mainwp' ), |
| 546 |
'context' => 'user', |
| 547 |
'action_name' => 'logged-in', |
| 548 |
), |
| 549 |
1600 => array( |
| 550 |
'type_id' => 1600, |
| 551 |
'desc' => esc_html__( 'User requested a password reset', 'mainwp' ), |
| 552 |
'context' => 'user', |
| 553 |
'action_name' => 'submitted', |
| 554 |
), |
| 555 |
1605 => array( |
| 556 |
'type_id' => 1605, |
| 557 |
'desc' => esc_html__( 'A new user was created', 'mainwp' ), |
| 558 |
'context' => 'user', |
| 559 |
'action_name' => 'created', |
| 560 |
), |
| 561 |
1610 => array( |
| 562 |
'type_id' => 1610, |
| 563 |
'desc' => esc_html__( 'User created a new user', 'mainwp' ), |
| 564 |
'context' => 'user', |
| 565 |
'action_name' => 'created', |
| 566 |
), |
| 567 |
1615 => array( |
| 568 |
'type_id' => 1615, |
| 569 |
'desc' => esc_html__( 'Change the role of a user', 'mainwp' ), |
| 570 |
'context' => 'user', |
| 571 |
'action_name' => 'modified', |
| 572 |
), |
| 573 |
1620 => array( // for BBPress users. |
| 574 |
'type_id' => 1620, |
| 575 |
'desc' => esc_html__( 'Change the role of a user', 'mainwp' ), |
| 576 |
'context' => 'user', |
| 577 |
'action_name' => 'modified', |
| 578 |
), |
| 579 |
1625 => array( |
| 580 |
'type_id' => 1625, |
| 581 |
'desc' => esc_html__( 'Changed the password', 'mainwp' ), |
| 582 |
'context' => 'user', |
| 583 |
'action_name' => 'modified', |
| 584 |
), |
| 585 |
1630 => array( |
| 586 |
'type_id' => 1630, |
| 587 |
'desc' => esc_html__( 'Changed the password of a user', 'mainwp' ), |
| 588 |
'context' => 'user', |
| 589 |
'action_name' => 'modified', |
| 590 |
), |
| 591 |
1635 => array( |
| 592 |
'type_id' => 1635, |
| 593 |
'desc' => esc_html__( 'Changed the email address', 'mainwp' ), |
| 594 |
'context' => 'user', |
| 595 |
'action_name' => 'modified', |
| 596 |
), |
| 597 |
1640 => array( |
| 598 |
'type_id' => 1640, |
| 599 |
'desc' => esc_html__( 'Changed the email address of a user', 'mainwp' ), |
| 600 |
'context' => 'user', |
| 601 |
'action_name' => 'modified', |
| 602 |
), |
| 603 |
1645 => array( |
| 604 |
'type_id' => 1645, |
| 605 |
'desc' => esc_html__( 'Deleted a user', 'mainwp' ), |
| 606 |
'context' => 'user', |
| 607 |
'action_name' => 'deleted', |
| 608 |
), |
| 609 |
1650 => array( |
| 610 |
'type_id' => 1650, |
| 611 |
'desc' => esc_html__( 'Granted super admin privileges to a user', 'mainwp' ), |
| 612 |
'context' => 'user', |
| 613 |
'action_name' => 'modified', |
| 614 |
), |
| 615 |
1655 => array( |
| 616 |
'type_id' => 1655, |
| 617 |
'desc' => esc_html__( 'Revoked super admin privileges from a user', 'mainwp' ), |
| 618 |
'context' => 'user', |
| 619 |
'action_name' => 'modified', |
| 620 |
), |
| 621 |
1660 => array( |
| 622 |
'type_id' => 1660, |
| 623 |
'desc' => esc_html__( 'Added a network user to a site', 'mainwp' ), |
| 624 |
'context' => 'user', |
| 625 |
'action_name' => 'created', |
| 626 |
), |
| 627 |
1665 => array( |
| 628 |
'type_id' => 1665, |
| 629 |
'desc' => esc_html__( 'Removed a network user from a site', 'mainwp' ), |
| 630 |
'context' => 'user', |
| 631 |
'action_name' => 'modified', |
| 632 |
), |
| 633 |
1670 => array( |
| 634 |
'type_id' => 1670, |
| 635 |
'desc' => esc_html__( 'Created a new network user', 'mainwp' ), |
| 636 |
'context' => 'user', |
| 637 |
'action_name' => 'modified', |
| 638 |
), |
| 639 |
1675 => array( |
| 640 |
'type_id' => 1675, |
| 641 |
'desc' => esc_html__( 'User has been activated on the network', 'mainwp' ), |
| 642 |
'context' => 'user', |
| 643 |
'action_name' => 'activated', |
| 644 |
), |
| 645 |
1680 => array( |
| 646 |
'type_id' => 1680, |
| 647 |
'desc' => esc_html__( 'Opened the profile page of a user', 'mainwp' ), |
| 648 |
'context' => 'user', |
| 649 |
'action_name' => 'opened', |
| 650 |
), |
| 651 |
1685 => array( |
| 652 |
'type_id' => 1685, |
| 653 |
'desc' => esc_html__( 'Changed a custom field value in user profile', 'mainwp' ), |
| 654 |
'context' => 'user', |
| 655 |
'action_name' => 'modified', |
| 656 |
), |
| 657 |
1690 => array( |
| 658 |
'type_id' => 1690, |
| 659 |
'desc' => esc_html__( 'Created a custom field in a user profile', 'mainwp' ), |
| 660 |
'context' => 'user', |
| 661 |
'action_name' => 'modified', |
| 662 |
), |
| 663 |
1695 => array( |
| 664 |
'type_id' => 1695, |
| 665 |
'desc' => esc_html__( 'Changed the first name (of a user)', 'mainwp' ), |
| 666 |
'context' => 'user', |
| 667 |
'action_name' => 'modified', |
| 668 |
), |
| 669 |
1700 => array( |
| 670 |
'type_id' => 1700, |
| 671 |
'desc' => esc_html__( 'Changed the last name (of a user)', 'mainwp' ), |
| 672 |
'context' => 'user', |
| 673 |
'action_name' => 'modified', |
| 674 |
), |
| 675 |
1705 => array( |
| 676 |
'type_id' => 1705, |
| 677 |
'desc' => esc_html__( 'Changed the nickname (of a user)', 'mainwp' ), |
| 678 |
'context' => 'user', |
| 679 |
'action_name' => 'modified', |
| 680 |
), |
| 681 |
1710 => array( |
| 682 |
'type_id' => 1710, |
| 683 |
'desc' => esc_html__( 'Changed the display name (of a user)', 'mainwp' ), |
| 684 |
'context' => 'user', |
| 685 |
'action_name' => 'modified', |
| 686 |
), |
| 687 |
1715 => array( |
| 688 |
'type_id' => 1715, |
| 689 |
'desc' => esc_html__( 'Changed the website URL of the user', 'mainwp' ), |
| 690 |
'context' => 'user', |
| 691 |
'action_name' => 'modified', |
| 692 |
), |
| 693 |
1720 => array( |
| 694 |
'type_id' => 1720, |
| 695 |
'desc' => esc_html__( 'User added application password from own profile', 'mainwp' ), |
| 696 |
'context' => 'user', |
| 697 |
'action_name' => 'modified', |
| 698 |
), |
| 699 |
1721 => array( |
| 700 |
'type_id' => 1721, |
| 701 |
'desc' => esc_html__( 'User removed application password from own profile', 'mainwp' ), |
| 702 |
'context' => 'user', |
| 703 |
'action_name' => 'modified', |
| 704 |
), |
| 705 |
1725 => array( |
| 706 |
'type_id' => 1725, |
| 707 |
'desc' => esc_html__( 'User added application password from another user’s profile', 'mainwp' ), |
| 708 |
'context' => 'user', |
| 709 |
'action_name' => 'modified', |
| 710 |
), |
| 711 |
1726 => array( |
| 712 |
'type_id' => 1726, |
| 713 |
'desc' => esc_html__( 'User removed application password from another user’s profile', 'mainwp' ), |
| 714 |
'context' => 'user', |
| 715 |
'action_name' => 'modified', |
| 716 |
), |
| 717 |
1730 => array( |
| 718 |
'type_id' => 1730, |
| 719 |
'desc' => esc_html__( 'User revoked all application passwords from own profile', 'mainwp' ), |
| 720 |
'context' => 'user', |
| 721 |
'action_name' => 'revoked', |
| 722 |
), |
| 723 |
1735 => array( |
| 724 |
'type_id' => 1735, |
| 725 |
'desc' => esc_html__( 'User revoked all application passwords from another user’s profile', 'mainwp' ), |
| 726 |
'context' => 'user', |
| 727 |
'action_name' => 'revoked', |
| 728 |
), |
| 729 |
// Database. |
| 730 |
1740 => array( |
| 731 |
'type_id' => 1740, |
| 732 |
'desc' => esc_html__( 'Plugin created database table(s)', 'mainwp' ), |
| 733 |
'context' => 'database', |
| 734 |
'action_name' => 'created', |
| 735 |
), |
| 736 |
1745 => array( |
| 737 |
'type_id' => 1745, |
| 738 |
'desc' => esc_html__( 'Plugin modified the structure of database table(s)', 'mainwp' ), |
| 739 |
'context' => 'database', |
| 740 |
'action_name' => 'modified', |
| 741 |
), |
| 742 |
1750 => array( |
| 743 |
'type_id' => 1750, |
| 744 |
'desc' => esc_html__( 'Plugin deleted database table(s)', 'mainwp' ), |
| 745 |
'context' => 'database', |
| 746 |
'action_name' => 'deleted', |
| 747 |
), |
| 748 |
1755 => array( |
| 749 |
'type_id' => 1755, |
| 750 |
'desc' => esc_html__( 'Theme created database table(s)', 'mainwp' ), |
| 751 |
'context' => 'database', |
| 752 |
'action_name' => 'created', |
| 753 |
), |
| 754 |
1760 => array( |
| 755 |
'type_id' => 1760, |
| 756 |
'desc' => esc_html__( 'Theme modified the structure of table(s) in the database', 'mainwp' ), |
| 757 |
'context' => 'database', |
| 758 |
'action_name' => 'modified', |
| 759 |
), |
| 760 |
1765 => array( |
| 761 |
'type_id' => 1765, |
| 762 |
'desc' => esc_html__( 'Theme deleted database table(s)', 'mainwp' ), |
| 763 |
'context' => 'database', |
| 764 |
'action_name' => 'deleted', |
| 765 |
), |
| 766 |
1770 => array( |
| 767 |
'type_id' => 1770, |
| 768 |
'desc' => esc_html__( 'Unknown component created database table(s)', 'mainwp' ), |
| 769 |
'context' => 'database', |
| 770 |
'action_name' => 'created', |
| 771 |
), |
| 772 |
1775 => array( |
| 773 |
'type_id' => 1775, |
| 774 |
'desc' => esc_html__( 'Unknown component modified the structure of table(s )in the database', 'mainwp' ), |
| 775 |
'context' => 'database', |
| 776 |
'action_name' => 'modified', |
| 777 |
), |
| 778 |
1780 => array( |
| 779 |
'type_id' => 1780, |
| 780 |
'desc' => esc_html__( 'Unknown component deleted database table(s)', 'mainwp' ), |
| 781 |
'context' => 'database', |
| 782 |
'action_name' => 'deleted', |
| 783 |
), |
| 784 |
// System setting. |
| 785 |
1785 => array( |
| 786 |
'type_id' => 1785, |
| 787 |
'desc' => esc_html__( 'Changed the option anyone can register', 'mainwp' ), |
| 788 |
'context' => 'system-setting', |
| 789 |
'action_name' => 'enabled', |
| 790 |
), |
| 791 |
1790 => array( |
| 792 |
'type_id' => 1790, |
| 793 |
'desc' => esc_html__( 'Changed the new user default role', 'mainwp' ), |
| 794 |
'context' => 'system-setting', |
| 795 |
'action_name' => 'modified', |
| 796 |
), |
| 797 |
1795 => array( |
| 798 |
'type_id' => 1795, |
| 799 |
'desc' => esc_html__( 'Changed the WordPress administrator notification email address', 'mainwp' ), |
| 800 |
'context' => 'system-setting', |
| 801 |
'action_name' => 'modified', |
| 802 |
), |
| 803 |
1800 => array( |
| 804 |
'type_id' => 1800, |
| 805 |
'desc' => esc_html__( 'Changed the WordPress permalinks', 'mainwp' ), |
| 806 |
'context' => 'system-setting', |
| 807 |
'action_name' => 'modified', |
| 808 |
), |
| 809 |
1805 => array( |
| 810 |
'type_id' => 1805, |
| 811 |
'desc' => esc_html__( 'Changed the setting: Discourage search engines from indexing this site', 'mainwp' ), |
| 812 |
'context' => 'system-setting', |
| 813 |
'action_name' => 'enabled', |
| 814 |
), |
| 815 |
1810 => array( |
| 816 |
'type_id' => 1810, |
| 817 |
'desc' => esc_html__( 'Changed the setting: Allow people to submit comments on new posts', 'mainwp' ), |
| 818 |
'context' => 'system-setting', |
| 819 |
'action_name' => 'enabled', |
| 820 |
), |
| 821 |
1815 => array( |
| 822 |
'type_id' => 1815, |
| 823 |
'desc' => esc_html__( 'Changed the setting: Comment author must fill out name and email', 'mainwp' ), |
| 824 |
'context' => 'system-setting', |
| 825 |
'action_name' => 'enabled', |
| 826 |
), |
| 827 |
1820 => array( |
| 828 |
'type_id' => 1820, |
| 829 |
'desc' => esc_html__( 'Changed the setting: Users must be logged in and registered to comment', 'mainwp' ), |
| 830 |
'context' => 'system-setting', |
| 831 |
'action_name' => 'enabled', |
| 832 |
), |
| 833 |
1825 => array( |
| 834 |
'type_id' => 1825, |
| 835 |
'desc' => esc_html__( 'Changed the setting: Automatically close comments after a number of days', 'mainwp' ), |
| 836 |
'context' => 'system-setting', |
| 837 |
'action_name' => 'enabled', |
| 838 |
), |
| 839 |
1830 => array( |
| 840 |
'type_id' => 1830, |
| 841 |
'desc' => esc_html__( 'Changed the value of the setting: Automatically close comments after a number of days.', 'mainwp' ), |
| 842 |
'context' => 'system-setting', |
| 843 |
'action_name' => 'modified', |
| 844 |
), |
| 845 |
1835 => array( |
| 846 |
'type_id' => 1835, |
| 847 |
'desc' => esc_html__( 'Changed the setting: Comments must be manually approved', 'mainwp' ), |
| 848 |
'context' => 'system-setting', |
| 849 |
'action_name' => 'enabled', |
| 850 |
), |
| 851 |
1840 => array( |
| 852 |
'type_id' => 1840, |
| 853 |
'desc' => esc_html__( 'Changed the setting: Author must have previously approved comments for the comments to appear', 'mainwp' ), |
| 854 |
'context' => 'system-setting', |
| 855 |
'action_name' => 'enabled', |
| 856 |
), |
| 857 |
1845 => array( |
| 858 |
'type_id' => 1845, |
| 859 |
'desc' => esc_html__( 'Changed the minimum number of links that a comment must have to be held in the queue', 'mainwp' ), |
| 860 |
'context' => 'system-setting', |
| 861 |
'action_name' => 'modified', |
| 862 |
), |
| 863 |
1850 => array( |
| 864 |
'type_id' => 1850, |
| 865 |
'desc' => esc_html__( 'Modified the list of keywords for comments moderation', 'mainwp' ), |
| 866 |
'context' => 'system-setting', |
| 867 |
'action_name' => 'modified', |
| 868 |
), |
| 869 |
1855 => array( |
| 870 |
'type_id' => 1855, |
| 871 |
'desc' => esc_html__( 'Modified the list of keywords for comments blacklisting', 'mainwp' ), |
| 872 |
'context' => 'system-setting', |
| 873 |
'action_name' => 'modified', |
| 874 |
), |
| 875 |
1860 => array( |
| 876 |
'type_id' => 1860, |
| 877 |
'desc' => esc_html__( 'Changed the WordPress address (URL)', 'mainwp' ), |
| 878 |
'context' => 'system-setting', |
| 879 |
'action_name' => 'modified', |
| 880 |
), |
| 881 |
1865 => array( |
| 882 |
'type_id' => 1865, |
| 883 |
'desc' => esc_html__( 'Changed the site address (URL)', 'mainwp' ), |
| 884 |
'context' => 'system-setting', |
| 885 |
'action_name' => 'modified', |
| 886 |
), |
| 887 |
1870 => array( |
| 888 |
'type_id' => 1870, |
| 889 |
'desc' => esc_html__( 'Changed the “Your homepage displays” WordPress setting', 'mainwp' ), |
| 890 |
'context' => 'system-setting', |
| 891 |
'action_name' => 'modified', |
| 892 |
), |
| 893 |
1875 => array( |
| 894 |
'type_id' => 1875, |
| 895 |
'desc' => esc_html__( 'Changed the homepage in the WordPress setting', 'mainwp' ), |
| 896 |
'context' => 'system-setting', |
| 897 |
'action_name' => 'modified', |
| 898 |
), |
| 899 |
1880 => array( |
| 900 |
'type_id' => 1880, |
| 901 |
'desc' => esc_html__( 'Changed the posts page in the WordPress settings', 'mainwp' ), |
| 902 |
'context' => 'system-setting', |
| 903 |
'action_name' => 'modified', |
| 904 |
), |
| 905 |
1885 => array( |
| 906 |
'type_id' => 1885, |
| 907 |
'desc' => esc_html__( 'Changed the Timezone in the WordPress settings', 'mainwp' ), |
| 908 |
'context' => 'system-setting', |
| 909 |
'action_name' => 'modified', |
| 910 |
), |
| 911 |
1890 => array( |
| 912 |
'type_id' => 1890, |
| 913 |
'desc' => esc_html__( 'Changed the Date format in the WordPress settings', 'mainwp' ), |
| 914 |
'context' => 'system-setting', |
| 915 |
'action_name' => 'modified', |
| 916 |
), |
| 917 |
1895 => array( |
| 918 |
'type_id' => 1895, |
| 919 |
'desc' => esc_html__( 'Changed the Time format in the WordPress settings', 'mainwp' ), |
| 920 |
'context' => 'system-setting', |
| 921 |
'action_name' => 'modified', |
| 922 |
), |
| 923 |
1900 => array( |
| 924 |
'type_id' => 1900, |
| 925 |
'desc' => esc_html__( 'User changed the WordPress automatic update settings', 'mainwp' ), |
| 926 |
'context' => 'system-setting', |
| 927 |
'action_name' => 'modified', |
| 928 |
), |
| 929 |
1905 => array( |
| 930 |
'type_id' => 1905, |
| 931 |
'desc' => esc_html__( 'Changed the site language', 'mainwp' ), |
| 932 |
'context' => 'system-setting', |
| 933 |
'action_name' => 'modified', |
| 934 |
), |
| 935 |
1910 => array( |
| 936 |
'type_id' => 1910, |
| 937 |
'desc' => esc_html__( 'Changed the site title', 'mainwp' ), |
| 938 |
'context' => 'system-setting', |
| 939 |
'action_name' => 'modified', |
| 940 |
), |
| 941 |
1915 => array( |
| 942 |
'type_id' => 1915, |
| 943 |
'desc' => esc_html__( 'Added site icon', 'mainwp' ), |
| 944 |
'context' => 'system-setting', |
| 945 |
'action_name' => 'added', |
| 946 |
), |
| 947 |
1920 => array( |
| 948 |
'type_id' => 1920, |
| 949 |
'desc' => esc_html__( 'Changed site icon', 'mainwp' ), |
| 950 |
'context' => 'system-setting', |
| 951 |
'action_name' => 'modified', |
| 952 |
), |
| 953 |
// WordPress Cron. |
| 954 |
1925 => array( |
| 955 |
'type_id' => 1925, |
| 956 |
'desc' => esc_html__( 'New one time task (cron job) created', 'mainwp' ), |
| 957 |
'context' => 'cron-job', |
| 958 |
'action_name' => 'created', |
| 959 |
), |
| 960 |
1930 => array( |
| 961 |
'type_id' => 1930, |
| 962 |
'desc' => esc_html__( 'New recurring task (cron job) created', 'mainwp' ), |
| 963 |
'context' => 'cron-job', |
| 964 |
'action_name' => 'created', |
| 965 |
), |
| 966 |
1935 => array( |
| 967 |
'type_id' => 1935, |
| 968 |
'desc' => esc_html__( 'New recurring task (cron job) created', 'mainwp' ), |
| 969 |
'context' => 'cron-job', |
| 970 |
'action_name' => 'created', |
| 971 |
), |
| 972 |
1940 => array( |
| 973 |
'type_id' => 1940, |
| 974 |
'desc' => esc_html__( 'One time task (cron job) executed', 'mainwp' ), |
| 975 |
'context' => 'cron-job', |
| 976 |
'action_name' => 'executed', |
| 977 |
), |
| 978 |
1945 => array( |
| 979 |
'type_id' => 1945, |
| 980 |
'desc' => esc_html__( 'Recurring task (cron job) executed', 'mainwp' ), |
| 981 |
'context' => 'cron-job', |
| 982 |
'action_name' => 'executed', |
| 983 |
), |
| 984 |
1950 => array( |
| 985 |
'type_id' => 1950, |
| 986 |
'desc' => esc_html__( 'Deleted one-time task (cron job)', 'mainwp' ), |
| 987 |
'context' => 'cron-job', |
| 988 |
'action_name' => 'deleted', |
| 989 |
), |
| 990 |
1955 => array( |
| 991 |
'type_id' => 1955, |
| 992 |
'desc' => esc_html__( 'Deleted recurring task (cron job)', 'mainwp' ), |
| 993 |
'context' => 'cron-job', |
| 994 |
'action_name' => 'deleted', |
| 995 |
), |
| 996 |
// New added. |
| 997 |
// @since 6.0.8. |
| 998 |
1960 => array( |
| 999 |
'type_id' => 1960, |
| 1000 |
'desc' => esc_html__( 'WordPress Core Updated', 'mainwp' ), |
| 1001 |
'context' => 'wordpress', //phpcs:ignore WordPress.WP.I18n.NonSingularStringLiteralText -- No need for singular/plural here. |
| 1002 |
'action_name' => 'updated', |
| 1003 |
), |
| 1004 |
1965 => array( |
| 1005 |
'type_id' => 1965, |
| 1006 |
'desc' => esc_html__( 'Plugin installed.', 'mainwp' ), |
| 1007 |
'object_msg' => esc_html__( '%plugin% plugin', 'mainwp' ), |
| 1008 |
'context' => 'plugin', |
| 1009 |
'action_name' => 'installed', |
| 1010 |
), |
| 1011 |
1970 => array( |
| 1012 |
'type_id' => 1970, |
| 1013 |
'desc' => esc_html__( 'Plugin updated.', 'mainwp' ), |
| 1014 |
'context' => 'plugin', |
| 1015 |
'action_name' => 'updated', |
| 1016 |
), |
| 1017 |
1975 => array( |
| 1018 |
'type_id' => 1975, |
| 1019 |
'desc' => esc_html__( 'Theme installed.', 'mainwp' ), |
| 1020 |
'context' => 'theme', |
| 1021 |
'action_name' => 'installed', |
| 1022 |
), |
| 1023 |
1980 => array( |
| 1024 |
'type_id' => 1980, |
| 1025 |
'desc' => esc_html__( 'Theme updated.', 'mainwp' ), |
| 1026 |
'context' => 'theme', |
| 1027 |
'action_name' => 'updated', |
| 1028 |
), |
| 1029 |
); |
| 1030 |
|