WordPress.org

Making WordPress.org

Ticket #2830: 2830.2.diff

File 2830.2.diff, 3.0 KB (added by SergeyBiryukov, 2 years ago)
  • sites/trunk/wordpress.org/public_html/wp-content/plugins/plugin-directory/shortcodes/class-upload-handler.php

     
    249250                do_action( 'plugin_upload', $this->plugin, $plugin_post );
    250251
    251252                // Success!
    252                 /* translators: 1: plugin name */
    253                 return sprintf( __( 'Thank you for uploading %1$s to the WordPress Plugin Directory. We’ve sent you an email verifying this submission. Please make sure to whitelist our email address - plugins@wordpress.org - to ensure you receive all our communications.', 'wporg-plugins' ),
    254                         esc_html( $this->plugin['Name'] )
     253                /* translators: 1: plugin name, 2: plugin slug, 3: plugins@wordpress.org */
     254                return sprintf( __( 'Thank you for uploading %1$s to the WordPress Plugin Directory. It has been given the initial plugin slug of %2$s, however that is subject to change based on the results of your code review. We’ve sent you an email verifying this submission. Please make sure to whitelist our email address - %3$s - to ensure you receive all our communications. If there is an error in your submission, such as you require a specific plugin slug or need a different user account to own the plugin, please email us as we can correct many issues before approval.', 'wporg-plugins' ),
     255                        esc_html( $this->plugin['Name'] ),
     256                        '<code>' . $this->plugin_slug . '</code>',
     257                        'plugins@wordpress.org'
    255258                );
    256259        }
    257260
     
    359362                        $this->plugin['Name']
    360363                );
    361364
    362                 /* translators: 1: plugin name, 2: Trac ticket URL */
    363                 $email_content = sprintf( __( 'Thank you for uploading %1$s to the WordPress Plugin Directory. If your plugin is selected to be part of the directory we\'ll send a follow up email. If there is a problem with your plugin submission, such as an incorrect display name or slug, please reply to this email and let us know.
     365                /* translators: 1: plugin name, 2: plugin slug */
     366                $email_content = sprintf( __( 'Thank you for uploading %1$s to the WordPress Plugin Directory. We will review your submission as soon as possible and send you a follow up email with the results.
    364367
     368Your plugin has been given the initial slug of %2$s, however this is subject to change based on the results of your review.
     369
     370If there is a problem with this submission, such as an incorrect display name or slug, please reply to this email and let us know. In most cases, we can correct errors as long as the plugin has not yet been approved. Please do not submit your plugin multiple times in an attempt to correct the issue, just email us.
     371
    365372--
    366373The WordPress Plugin Directory Team
    367374https://make.wordpress.org/plugins', 'wporg-plugins' ),
    368                         $this->plugin['Name']
     375                        $this->plugin['Name'],
     376                        $this->plugin_slug
    369377                );
    370378
    371379                $user_email = wp_get_current_user()->user_email;