diff --git a/admin/class-admin-notices.php b/admin/class-admin-notices.php index ca9e313b4..b65b6e746 100644 --- a/admin/class-admin-notices.php +++ b/admin/class-admin-notices.php @@ -139,7 +139,7 @@ public function edac_get_black_friday_message() { // Construct the promotional message. $message = '
'; $message .= '

' . esc_html__( '🎉 Black Friday special! 🎉', 'accessibility-checker' ) . '
'; - $message .= esc_html__( 'Upgrade to a paid version of Accessibility Checker from November 24th to December 3rd and get 30% off! Full site scanning, site-wide open issues report, ignore logs, and more.', 'accessibility-checker' ) . '
'; + $message .= esc_html__( 'Upgrade to a paid version of Accessibility Checker from November 24th to December 3rd and get 30% off! Full site scanning, site-wide open issues report, dismissal logs, and more.', 'accessibility-checker' ) . '
'; $message .= '' . esc_html__( 'Ask a Pre-Sale Question', 'accessibility-checker' ) . ' '; $message .= '' . esc_html__( 'Upgrade Now', 'accessibility-checker' ) . '

'; $message .= '
'; diff --git a/admin/class-ajax.php b/admin/class-ajax.php index 736ebfc22..b5bbf7d94 100644 --- a/admin/class-ajax.php +++ b/admin/class-ajax.php @@ -837,7 +837,7 @@ function ( $value ) { $valid_table = edac_get_valid_table_name( $table_name ); if ( ! $first_id || ! $valid_table ) { - wp_send_json_error( new \WP_Error( '-2', __( 'No ignore data to return', 'accessibility-checker' ) ) ); + wp_send_json_error( new \WP_Error( '-2', __( 'No dismissal data to return', 'accessibility-checker' ) ) ); } if ( isset( $_REQUEST['largeBatch'] ) && 'true' === $_REQUEST['largeBatch'] ) { @@ -846,7 +846,7 @@ function ( $value ) { // phpcs:ignore WordPress.DB.DirectDatabaseQuery.DirectQuery, WordPress.DB.DirectDatabaseQuery.NoCaching -- Permission check requires direct lookup. $batch_object = $wpdb->get_var( $wpdb->prepare( 'SELECT object FROM %i WHERE id = %d', $valid_table, $first_id ) ); if ( ! $batch_object ) { - wp_send_json_error( new \WP_Error( '-2', __( 'No ignore data to return', 'accessibility-checker' ) ) ); + wp_send_json_error( new \WP_Error( '-2', __( 'No dismissal data to return', 'accessibility-checker' ) ) ); } // phpcs:ignore WordPress.DB.DirectDatabaseQuery.DirectQuery, WordPress.DB.DirectDatabaseQuery.NoCaching -- Permission check requires direct lookup. $affected_post_ids = $wpdb->get_col( $wpdb->prepare( 'SELECT DISTINCT postid FROM %i WHERE siteid = %d AND object = %s', $valid_table, $siteid, $batch_object ) ); @@ -858,7 +858,7 @@ function ( $value ) { } if ( empty( $affected_post_ids ) ) { - wp_send_json_error( new \WP_Error( '-2', __( 'No ignore data to return', 'accessibility-checker' ) ) ); + wp_send_json_error( new \WP_Error( '-2', __( 'No dismissal data to return', 'accessibility-checker' ) ) ); } foreach ( $affected_post_ids as $affected_post_id ) { @@ -902,7 +902,7 @@ function ( $value ) { ]; if ( ! $data ) { - wp_send_json_error( new \WP_Error( '-2', __( 'No ignore data to return', 'accessibility-checker' ) ) ); + wp_send_json_error( new \WP_Error( '-2', __( 'No dismissal data to return', 'accessibility-checker' ) ) ); } wp_send_json_success( wp_json_encode( $data ) ); } diff --git a/admin/site-health/class-pro.php b/admin/site-health/class-pro.php index 0e1dc217f..d126c9869 100644 --- a/admin/site-health/class-pro.php +++ b/admin/site-health/class-pro.php @@ -71,11 +71,11 @@ function ( $fix ) { 'value' => esc_html( get_option( 'edacp_simplified_summary_heading' ) ), ], 'ignore_permissions' => [ - 'label' => __( 'Ignore Permissions', 'accessibility-checker' ), + 'label' => __( 'Dismiss Permissions', 'accessibility-checker' ), 'value' => esc_html( get_option( 'edacp_ignore_user_roles' ) ? implode( ', ', get_option( 'edacp_ignore_user_roles' ) ) : __( 'None', 'accessibility-checker' ) ), ], 'ignores_db_table_count' => [ - 'label' => __( 'Ignores DB Table Count', 'accessibility-checker' ), + 'label' => __( 'Dismissals DB Table Count', 'accessibility-checker' ), 'value' => absint( edac_database_table_count( 'accessibility_checker_global_ignores' ) ), ], 'fixes' => [ diff --git a/includes/options-page.php b/includes/options-page.php index 964ad5a70..a0ac85a33 100644 --- a/includes/options-page.php +++ b/includes/options-page.php @@ -191,7 +191,7 @@ function edac_register_setting() { add_settings_field( 'edacp_ignore_user_roles', - __( 'Ignore Permissions', 'accessibility-checker' ), + __( 'Dismiss Permissions', 'accessibility-checker' ), 'edac_ignore_user_roles_cb', 'edac_settings', 'edac_permissions', @@ -682,7 +682,7 @@ function edac_post_types_cb() {

- +

${ typeIconUri ? `` : '' } - ${ { error: __( 'Problem', 'accessibility-checker' ), warning: __( 'Needs Review', 'accessibility-checker' ), ignored: __( 'Ignored', 'accessibility-checker' ) }[ matchingObj.rule_type ] ?? matchingObj.rule_type } + ${ { error: __( 'Problem', 'accessibility-checker' ), warning: __( 'Needs Review', 'accessibility-checker' ), ignored: __( 'Dismissed', 'accessibility-checker' ) }[ matchingObj.rule_type ] ?? matchingObj.rule_type } `; content += ``; @@ -1619,8 +1619,8 @@ class AccessibilityCheckerHighlight { const breakdownParts = [ problemsLabel, reviewLabel ]; if ( ignoredCount > 0 ) { breakdownParts.push( sprintf( - // translators: %d is the number of ignored issues. - _n( '%d Ignored', '%d Ignored', ignoredCount, 'accessibility-checker' ), + // translators: %d is the number of dismissed issues. + _n( '%d Dismissed', '%d Dismissed', ignoredCount, 'accessibility-checker' ), ignoredCount ) ); }