Changeset 3360206
- Timestamp:
- 09/12/2025 02:01:52 AM (5 months ago)
- Location:
- akismet/trunk
- Files:
-
- 9 edited
-
_inc/akismet-admin.css (modified) (1 diff)
-
_inc/akismet.css (modified) (1 diff)
-
_inc/rtl/akismet-admin-rtl.css (modified) (2 diffs)
-
_inc/rtl/akismet-rtl.css (modified) (2 diffs)
-
akismet.php (modified) (2 diffs)
-
readme.txt (modified) (1 diff)
-
views/connect-jp.php (modified) (1 diff)
-
views/setup.php (modified) (1 diff)
-
views/title.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
akismet/trunk/_inc/akismet-admin.css
r3316601 r3360206 341 341 } 342 342 343 /* Setup */ 344 .akismet-setup-instructions__heading { 345 font-size: 1.375rem; 346 font-weight: 700; 347 padding-block-end: 0; 348 } 349 350 h3.akismet-setup-instructions__subheading { 351 color: var(--akismet-color-dark-grey); 352 font-size: 1rem; 353 font-weight: 400; 354 line-height: 1.5; 355 margin: 0 0 1.25rem; 356 padding-block-start: 1rem; 357 } 358 359 .akismet-setup-instructions__feature-list { 360 list-style: none; 361 margin: 1rem 0.5rem 1.5rem; 362 max-width: 640px; 363 padding: 0 1rem; 364 } 365 366 .akismet-setup-instructions__feature { 367 align-items: start; 368 display: flex; 369 margin-block-end: 1rem; 370 text-align: left; 371 } 372 373 .akismet-setup-instructions__icon { 374 height: 20px; 375 width: 20px; 376 } 377 378 .akismet-setup-instructions__body { 379 flex: 1; 380 padding-inline-start: 0.5rem; 381 } 382 383 .akismet-setup-instructions__title { 384 color: #1d2327; 385 font-size: 1rem; 386 font-weight: 600; 387 line-height: 1.3; 388 margin: 0; 389 text-align: left; 390 } 391 392 p.akismet-setup-instructions__text { 393 color: var(--akismet-color-grey-80); 394 font-size: 0.875rem; 395 line-height: 1.5; 396 margin: 0.25rem 0 0; 397 padding: 0; 398 text-align: left; 399 } 400 401 .akismet-setup-instructions__button, 402 .akismet-setup-instructions__button:hover, 403 .akismet-setup-instructions__button:visited { 404 font-size: 1rem; 405 margin-inline-start: 1.5rem; 406 } 407 343 408 /* Setup - API key input */ 344 409 .akismet-enter-api-key-box { -
akismet/trunk/_inc/akismet.css
r3316601 r3360206 433 433 } 434 434 435 .akismet-setup-instructions {436 text-align: center;437 }438 439 435 .akismet-setup-instructions form { 440 436 padding-bottom: 1.5rem; -
akismet/trunk/_inc/rtl/akismet-admin-rtl.css
r3316601 r3360206 1 /* This file was automatically generated on Jun 19 2025 22:31:12*/1 /* This file was automatically generated on Aug 29 2025 01:35:40 */ 2 2 3 3 body { … … 343 343 } 344 344 345 /* Setup */ 346 .akismet-setup-instructions__heading { 347 font-size: 1.375rem; 348 font-weight: 700; 349 padding-block-end: 0; 350 } 351 352 h3.akismet-setup-instructions__subheading { 353 color: var(--akismet-color-dark-grey); 354 font-size: 1rem; 355 font-weight: 400; 356 line-height: 1.5; 357 margin: 0 0 1.25rem; 358 padding-block-start: 1rem; 359 } 360 361 .akismet-setup-instructions__feature-list { 362 list-style: none; 363 margin: 1rem 0.5rem 1.5rem; 364 max-width: 640px; 365 padding: 0 1rem; 366 } 367 368 .akismet-setup-instructions__feature { 369 align-items: start; 370 display: flex; 371 margin-block-end: 1rem; 372 text-align: right; 373 } 374 375 .akismet-setup-instructions__icon { 376 height: 20px; 377 width: 20px; 378 } 379 380 .akismet-setup-instructions__body { 381 flex: 1; 382 padding-inline-start: 0.5rem; 383 } 384 385 .akismet-setup-instructions__title { 386 color: #1d2327; 387 font-size: 1rem; 388 font-weight: 600; 389 line-height: 1.3; 390 margin: 0; 391 text-align: right; 392 } 393 394 p.akismet-setup-instructions__text { 395 color: var(--akismet-color-grey-80); 396 font-size: 0.875rem; 397 line-height: 1.5; 398 margin: 0.25rem 0 0; 399 padding: 0; 400 text-align: right; 401 } 402 403 .akismet-setup-instructions__button, 404 .akismet-setup-instructions__button:hover, 405 .akismet-setup-instructions__button:visited { 406 font-size: 1rem; 407 margin-inline-start: 1.5rem; 408 } 409 345 410 /* Setup - API key input */ 346 411 .akismet-enter-api-key-box { -
akismet/trunk/_inc/rtl/akismet-rtl.css
r3316601 r3360206 1 /* This file was automatically generated on Jun 19 2025 22:00:12*/1 /* This file was automatically generated on Aug 28 2025 23:50:16 */ 2 2 3 3 .wp-admin.jetpack_page_akismet-key-config, .wp-admin.settings_page_akismet-key-config { … … 435 435 } 436 436 437 .akismet-setup-instructions {438 text-align: center;439 }440 441 437 .akismet-setup-instructions form { 442 438 padding-bottom: 1.5rem; -
akismet/trunk/akismet.php
r3348405 r3360206 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.5.1a 49 Version: 5.5.1a5 10 10 Requires at least: 5.8 11 11 Requires PHP: 7.2 … … 40 40 } 41 41 42 define( 'AKISMET_VERSION', '5.5.1a 4' );42 define( 'AKISMET_VERSION', '5.5.1a5' ); 43 43 define( 'AKISMET__MINIMUM_WP_VERSION', '5.8' ); 44 44 define( 'AKISMET__PLUGIN_DIR', plugin_dir_path( __FILE__ ) ); -
akismet/trunk/readme.txt
r3346674 r3360206 37 37 38 38 * Improve caching of compatible plugins. 39 * Explain the key features of Akismet more clearly on the setup page. 39 40 40 41 = 5.5 = -
akismet/trunk/views/connect-jp.php
r3182785 r3360206 1 1 <?php 2 declare( strict_types = 1 ); 2 3 3 4 //phpcs:disable VariableAnalysis 4 5 // There are "undefined" variables here because they're defined in the code that includes this file as a template. 5 6 6 ?> 7 7 <div class="akismet-box"> -
akismet/trunk/views/setup.php
r3182785 r3360206 1 <div class="akismet-setup-instructions"> 2 <p><?php esc_html_e( 'Set up your Akismet account to enable spam filtering on this site.', 'akismet' ); ?></p> 1 <?php 2 $tick_icon = '<svg class="akismet-setup-instructions__icon" width="48" height="48" viewBox="0 0 48 48" aria-hidden="true" focusable="false" xmlns="http://www.w3.org/2000/svg"> 3 <circle cx="24" cy="24" r="22" fill="#2E7D32"/> 4 <path d="M16 24l6 6 12-14" fill="none" stroke="#FFFFFF" stroke-width="4" stroke-linecap="round" stroke-linejoin="round"/> 5 </svg>'; 6 ?> 7 <section class="akismet-setup-instructions"> 8 <h2 class="akismet-setup-instructions__heading"><?php esc_html_e( 'Eliminate spam from your site', 'akismet' ); ?></h2> 9 10 <h3 class="akismet-setup-instructions__subheading"> 11 <?php echo esc_html__( 'Protect your site from comment spam and contact form spam — automatically.', 'akismet' ); ?> 12 </h3> 13 14 <ul class="akismet-setup-instructions__feature-list"> 15 <li class="akismet-setup-instructions__feature"> 16 <?php echo $tick_icon; // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped ?> 17 <div class="akismet-setup-instructions__body"> 18 <h4 class="akismet-setup-instructions__title"> 19 <?php echo esc_html__( 'Machine learning accuracy', 'akismet' ); ?> 20 </h4> 21 <p class="akismet-setup-instructions__text"> 22 <?php echo esc_html__( 'Learns from billions of spam signals across the web to stop junk before it reaches you.', 'akismet' ); ?> 23 </p> 24 </div> 25 </li> 26 <li class="akismet-setup-instructions__feature"> 27 <?php echo $tick_icon; // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped ?> 28 <div class="akismet-setup-instructions__body"> 29 <h4 class="akismet-setup-instructions__title"> 30 <?php echo esc_html__( 'Zero effort', 'akismet' ); ?> 31 </h4> 32 <p class="akismet-setup-instructions__text"> 33 <?php echo esc_html__( 'Akismet runs quietly in the background, saving you hours of manual moderation.', 'akismet' ); ?> 34 </p> 35 </div> 36 </li> 37 <li class="akismet-setup-instructions__feature"> 38 <?php echo $tick_icon; // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped ?> 39 <div class="akismet-setup-instructions__body"> 40 <h4 class="akismet-setup-instructions__title"> 41 <?php echo esc_html__( 'Works with popular contact forms', 'akismet' ); ?> 42 </h4> 43 <p class="akismet-setup-instructions__text"> 44 <?php echo esc_html__( 'Seamlessly integrates with plugins like Elementor, Contact Form 7, Jetpack and WPForms.', 'akismet' ); ?> 45 </p> 46 </div> 47 </li> 48 <li class="akismet-setup-instructions__feature"> 49 <?php echo $tick_icon; // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped ?> 50 <div class="akismet-setup-instructions__body"> 51 <h4 class="akismet-setup-instructions__title"> 52 <?php echo esc_html__( 'Flexible pricing', 'akismet' ); ?> 53 </h4> 54 <p class="akismet-setup-instructions__text"> 55 <?php echo esc_html__( 'Name your own price for personal sites. Businesses start on a paid plan.', 'akismet' ); ?> 56 </p> 57 </div> 58 </li> 59 </ul> 60 3 61 <?php 4 62 Akismet::view( 5 63 'get', 6 64 array( 7 'text' => __( ' Choose an Akismet plan', 'akismet' ),8 'classes' => array( 'akismet-button', 'akismet-is-primary' ),65 'text' => __( 'Get started', 'akismet' ), 66 'classes' => array( 'akismet-button', 'akismet-is-primary', 'akismet-setup-instructions__button' ), 9 67 ) 10 68 ); 11 69 ?> 12 </ div>70 </section> -
akismet/trunk/views/title.php
r2177137 r3360206 1 <?php 2 declare( strict_types = 1 ); 3 ?> 1 4 <div class="centered akismet-box-header"> 2 5 <h2><?php esc_html_e( 'Eliminate spam from your site', 'akismet' ); ?></h2>
Note: See TracChangeset
for help on using the changeset viewer.