Plugin Directory

Changeset 2316988


Ignore:
Timestamp:
06/03/2020 03:03:58 AM (6 years ago)
Author:
procifer
Message:

Remove href attribute from Check for Spam link when no direct link is available

Location:
akismet/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • akismet/trunk/akismet.php

    r2314692 r2316988  
    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>. It 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: 4.1.6a4
     9Version: 4.1.6a5
    1010Author: Automattic
    1111Author URI: https://automattic.com/wordpress-plugins/
     
    3838}
    3939
    40 define( 'AKISMET_VERSION', '4.1.6a4' );
     40define( 'AKISMET_VERSION', '4.1.6a5' );
    4141define( 'AKISMET__MINIMUM_WP_VERSION', '4.0' );
    4242define( 'AKISMET__PLUGIN_DIR', plugin_dir_path( __FILE__ ) );
  • akismet/trunk/class.akismet-admin.php

    r2314692 r2316988  
    411411
    412412        echo '<a
    413                 class="' . esc_attr( implode( ' ', $classes ) ) . '"
    414                 href="' . esc_url( $link ) . '"' .
     413                class="' . esc_attr( implode( ' ', $classes ) ) . '"' .
     414                ( ! empty( $link ) ? ' href="' . esc_url( $link ) . '"' : '' ) .
    415415                /* translators: The placeholder is for showing how much of the process has completed, as a percent. e.g., "Checking for Spam (40%)" */
    416416                ' data-progress-label="' . esc_attr( __( 'Checking for Spam (%1$s%)', 'akismet' ) ) . '"
Note: See TracChangeset for help on using the changeset viewer.