Changeset 14818
- Timestamp:
- 04/16/2026 02:49:11 AM (6 months ago)
- Location:
- sites/trunk/wordpress.org/public_html/wp-content/plugins/plugin-directory/email
- Files:
-
- 10 edited
-
class-base.php (modified) (1 diff)
-
class-committer-added.php (modified) (2 diffs)
-
class-generic-to-committers.php (modified) (1 diff)
-
class-plugin-approved.php (modified) (2 diffs)
-
class-plugin-rejected.php (modified) (2 diffs)
-
class-plugin-submission.php (modified) (2 diffs)
-
class-plugin-transferred.php (modified) (2 diffs)
-
class-release-confirmation-enabled.php (modified) (2 diffs)
-
class-release-confirmation.php (modified) (1 diff)
-
class-support-rep-added.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/plugins/plugin-directory/email/class-base.php
r14413 r14818 164 164 165 165 /** 166 * Return the plugin's title with HTML entities decoded for plain-text use (e.g., email subjects). 167 */ 168 protected function plugin_title() { 169 return html_entity_decode( $this->plugin->post_title, ENT_QUOTES | ENT_HTML5, 'UTF-8' ); 170 } 171 172 /** 166 173 * A simple way to convert a WP_User object to a displayable username. 167 174 * This shouldn't be needed, but unfortunately often is on WordPress.org. -
sites/trunk/wordpress.org/public_html/wp-content/plugins/plugin-directory/email/class-committer-added.php
r14718 r14818 23 23 /* translators: 1: Plugin Name */ 24 24 __( 'New committer added to %s', 'wporg-plugins' ), 25 $this->plugin ->post_title25 $this->plugin_title() 26 26 ); 27 27 } … … 53 53 $this->user_text( $this->user ), 54 54 $this->user_text( $this->args['committer'] ), 55 $this->plugin ->post_title,55 $this->plugin_title(), 56 56 $this->user_text( $this->who ), 57 57 $committer_list, -
sites/trunk/wordpress.org/public_html/wp-content/plugins/plugin-directory/email/class-generic-to-committers.php
r10727 r14818 49 49 private function replace_placeholders( $text ) { 50 50 $items = [ 51 '###PLUGIN###' => $this->plugin ->post_title,51 '###PLUGIN###' => $this->plugin_title(), 52 52 '###URL###' => get_permalink( $this->plugin ), 53 53 '###SLUG###' => $this->plugin->post_name, -
sites/trunk/wordpress.org/public_html/wp-content/plugins/plugin-directory/email/class-plugin-approved.php
r14073 r14818 11 11 /* translators: 1: Plugin Name */ 12 12 __( '%s has been approved!', 'wporg-plugins' ), 13 $this->plugin ->post_title13 $this->plugin_title() 14 14 ); 15 15 } … … 67 67 return sprintf( 68 68 $email_text, 69 $this->plugin ->post_title,69 $this->plugin_title(), 70 70 $this->user->user_login, 71 71 $this->plugin->post_name, -
sites/trunk/wordpress.org/public_html/wp-content/plugins/plugin-directory/email/class-plugin-rejected.php
r14746 r14818 13 13 /* translators: 1: Plugin Name */ 14 14 __( '%s has been rejected', 'wporg-plugins' ), 15 $this->plugin ->post_title15 $this->plugin_title() 16 16 ); 17 17 } … … 21 21 // Should be first, to allow placeholders in the rejection reasons too. 22 22 '###REASON###' => $this->get_rejection_reason(), 23 '###NAME###' => $this->plugin ->post_title,23 '###NAME###' => $this->plugin_title(), 24 24 '###SLUG###' => ( $this->args['slug'] ?? '' ) ?: $this->plugin->post_name, 25 25 '###SUBMISSION_DATE###' => $this->args['submission_date'], -
sites/trunk/wordpress.org/public_html/wp-content/plugins/plugin-directory/email/class-plugin-submission.php
r13131 r14818 10 10 /* translators: 1: Plugin Name */ 11 11 __( 'Successful Plugin Submission - %s', 'wporg-plugins' ), 12 $this->plugin ->post_title12 $this->plugin_title() 13 13 ); 14 14 } … … 20 20 21 21 $placeholders = [ 22 '###NAME###' => $this->plugin ->post_title,22 '###NAME###' => $this->plugin_title(), 23 23 '###SLUG###' => $this->plugin->post_name, 24 24 ]; -
sites/trunk/wordpress.org/public_html/wp-content/plugins/plugin-directory/email/class-plugin-transferred.php
r10125 r14818 11 11 /* translators: 1: Plugin Name */ 12 12 __( '%s has been transferred', 'wporg-plugins' ), 13 $this->plugin ->post_title13 $this->plugin_title() 14 14 ); 15 15 } … … 25 25 $this->user_text( wp_get_current_user() ), 26 26 gmdate( 'Y-m-d H:i:s \G\M\T' ), 27 $this->plugin ->post_title,27 $this->plugin_title(), 28 28 $this->user_text( $this->args['owner'] ) . ' (' . $this->args['owner']->user_login . ')', 29 29 PLUGIN_TEAM_EMAIL -
sites/trunk/wordpress.org/public_html/wp-content/plugins/plugin-directory/email/class-release-confirmation-enabled.php
r12178 r14818 11 11 /* translators: 1: Plugin Name */ 12 12 __( 'Release confirmation now required for %s', 'wporg-plugins' ), 13 $this->plugin ->post_title13 $this->plugin_title() 14 14 ); 15 15 } … … 32 32 $this->user_text( $this->user ), 33 33 $this->user_text( $this->who ), 34 $this->plugin ->post_title,34 $this->plugin_title(), 35 35 get_permalink( $this->plugin ), 36 36 $this->plugin->post_name, -
sites/trunk/wordpress.org/public_html/wp-content/plugins/plugin-directory/email/class-release-confirmation.php
r13889 r14818 16 16 /* translators: 1: Plugin Name */ 17 17 __( 'Pending release for %s', 'wporg-plugins' ), 18 $this->plugin ->post_title18 $this->plugin_title() 19 19 ); 20 20 } -
sites/trunk/wordpress.org/public_html/wp-content/plugins/plugin-directory/email/class-support-rep-added.php
r10127 r14818 11 11 /* translators: 1: Plugin Name */ 12 12 __( 'New support rep added to %s', 'wporg-plugins' ), 13 $this->plugin ->post_title13 $this->plugin_title() 14 14 ); 15 15 } … … 41 41 $this->user_text( $this->user ), 42 42 $this->user_text( $this->args['rep'] ), 43 $this->plugin ->post_title,43 $this->plugin_title(), 44 44 $this->user_text( $this->who ), 45 45 $rep_list,
Note:
See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)