Making WordPress.org


Ignore:
Timestamp:
06/13/2024 07:56:08 PM (9 months ago)
Author:
coffee2code
Message:

Photo Directory, Admin: Add missing closing HTML tags to some admin notices.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/wordpress.org/public_html/wp-content/plugins/photo-directory/inc/admin.php

    r13789 r13814  
    136136        if ( $user_id = Flagged::get_unflagger( $post ) ) {
    137137            /* translators: 1: URL to the profile of the user who unflagged the photo, 2: The name of the user who unflagged the photo. */
    138             $notice = __( '<strong>This photo was unflagged by <a href="%1$s">%2$s</a> and is safe to moderate.', 'wporg-photos' );
     138            $notice = __( '<strong>This photo was unflagged by <a href="%1$s">%2$s</a> and is safe to moderate.</strong>', 'wporg-photos' );
    139139            $notice_type = 'success';
    140140        }
     
    142142            // A user can't actually flag their own submission. This results from auto-flagging.
    143143            if ( $user_id === $post->post_author ) {
    144                 $notice = __( '<strong>This photo was automatically flagged due to potential concerns after image analysis.', 'wporg-photos' );
     144                $notice = __( '<strong>This photo was automatically flagged due to potential concerns after image analysis.</strong>', 'wporg-photos' );
    145145            } else {
    146146                /* translators: 1: URL to the profile of the user who flagged the photo, 2: The name of the user who flagged the photo. */
    147                 $notice = __( '<strong>This photo was flagged by <a href="%1$s">%2$s</a>.', 'wporg-photos' );
     147                $notice = __( '<strong>This photo was flagged by <a href="%1$s">%2$s</a>.</strong>', 'wporg-photos' );
    148148            }
    149149        }
Note: See TracChangeset for help on using the changeset viewer.