Changeset 12178
- Timestamp:
- 11/01/2022 07:51:18 AM (11 months ago)
- Location:
- sites/trunk/wordpress.org/public_html/wp-content/plugins/plugin-directory
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/plugins/plugin-directory/api/routes/class-plugin-release-confirmation.php
r11744 r12178 131 131 $plugin, 132 132 Tools::get_plugin_committers( $plugin->post_name ), 133 [] 133 [ 134 // Don't include the plugin reviewer who triggered this. 135 'who' => is_admin() ? 'WordPress.org' : null, 136 ] 134 137 ); 135 138 $email->send(); -
sites/trunk/wordpress.org/public_html/wp-content/plugins/plugin-directory/email/class-base.php
r11260 r12178 168 168 */ 169 169 public function user_text( $user ) { 170 // Allow passing 'who=WordPress.org' instead of a user object. 171 if ( 'WordPress.org' === $user ) { 172 return 'WordPress.org'; 173 } 174 170 175 if ( ! $user instanceof WP_User ) { 171 176 $user = new WP_User( $user ); -
sites/trunk/wordpress.org/public_html/wp-content/plugins/plugin-directory/email/class-release-confirmation-enabled.php
r10214 r12178 16 16 17 17 function body() { 18 /* translators: 1: Plugin Author, 2: Plugin Name, 3: URL to the handbook */18 /* translators: 1: Plugin Author, 2: User Name, 5: Plugin Name, 4: Plugin URL, 5: Plugin slug, 6: URL to the handbook */ 19 19 return sprintf( 20 20 __( 'Howdy %1$s, 21 21 22 Release confirmations are now enabled for %2$s. 22 %2$s has enabled release confirmations for the following plugin: 23 %3$s 24 %4$s 23 25 24 This means that each time you release a new version of %2$s you\'ll be required to confirm the release by following a link in an automated email. 26 A new email will be sent to all committers when a new pending release exists for %5$s with a link to the Release Management dashboard. 27 28 You, or another committer to the plugin, will be required to confirm the release on that dashboard before WordPress.org processes the newly committed plugin update. 25 29 26 30 For more information, please read the following handbook article: 27 % 3$s', 'wporg-plugins' ),31 %6$s', 'wporg-plugins' ), 28 32 $this->user_text( $this->user ), 33 $this->user_text( $this->who ), 29 34 $this->plugin->post_title, 30 'https://developer.wordpress.org/plugins/wordpress-org/' // TODO: Handbook page. 35 get_permalink( $this->plugin ), 36 $this->plugin->post_name, 37 'https://developer.wordpress.org/plugins/wordpress-org/release-confirmation-emails/' 31 38 ); 32 39 }
Note: See TracChangeset
for help on using the changeset viewer.