Making WordPress.org


Ignore:
Timestamp:
04/16/2026 02:49:11 AM (3 weeks ago)
Author:
dd32
Message:

Decodes plugin titles in email subjects and bodies

Props nimeshatxecurify.
Closes https://github.com/WordPress/wordpress.org/pull/606.
Fixes #8231.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/wordpress.org/public_html/wp-content/plugins/plugin-directory/email/class-plugin-approved.php

    r14073 r14818  
    1111            /* translators: 1: Plugin Name */
    1212            __( '%s has been approved!', 'wporg-plugins' ),
    13             $this->plugin->post_title
     13            $this->plugin_title()
    1414        );
    1515    }
     
    6767        return sprintf(
    6868            $email_text,
    69             $this->plugin->post_title,
     69            $this->plugin_title(),
    7070            $this->user->user_login,
    7171            $this->plugin->post_name,
Note: See TracChangeset for help on using the changeset viewer.