Plugin Directory

Changeset 3286590


Ignore:
Timestamp:
05/02/2025 11:43:49 PM (9 months ago)
Author:
andyperdomo
Message:

Akismet: pluralizes compatible plugin card intro.

Location:
akismet/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • akismet/trunk/akismet.php

    r3282153 r3286590  
    77Plugin URI: https://akismet.com/
    88Description: 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.4.0a23
     9Version: 5.4.0a24
    1010Requires at least: 5.8
    1111Requires PHP: 7.2
     
    4040}
    4141
    42 define( 'AKISMET_VERSION', '5.4.0a23' );
     42define( 'AKISMET_VERSION', '5.4.0a24' );
    4343define( 'AKISMET__MINIMUM_WP_VERSION', '5.8' );
    4444define( 'AKISMET__PLUGIN_DIR', plugin_dir_path( __FILE__ ) );
  • akismet/trunk/views/compatible-plugins.php

    r3265352 r3286590  
    1818            <p class="akismet-card__intro">
    1919                <?php
    20                 if ( $compatible_plugin_count === 0 ) {
     20                if ( 0 === $compatible_plugin_count ) {
    2121                    esc_html_e( 'Akismet works with other plugins to keep spam away.', 'akismet' );
    2222
     
    2828                    );
    2929                } else {
    30                     esc_html_e( 'These plugins you\'ve installed can be protected from spam by Akismet:', 'akismet' );
     30                    printf(
     31                        '<p>%s</p>',
     32                        esc_html__( 'Akismet works with other plugins to keep spam away.', 'akismet' )
     33                    );
     34
     35                    printf(
     36                        '%s. %s.',
     37                        1 === $compatible_plugin_count
     38                            ? esc_html__( 'The plugin you\'ve installed is compatible', 'akismet' )
     39                            : esc_html__( 'The plugins you\'ve installed are compatible', 'akismet' ),
     40                        1 === $compatible_plugin_count
     41                            ? esc_html__( 'Follow the documentation link to get started', 'akismet' )
     42                            : esc_html__( 'Follow the documentation links to get started', 'akismet' )
     43                    );
    3144                }
    3245                ?>
Note: See TracChangeset for help on using the changeset viewer.