Making WordPress.org

Ticket #3702: 3702.2.diff

File 3702.2.diff, 4.8 KB (added by Ipstenu, 6 years ago)

Uploaded the wrong file.

  • trunk/wordpress.org/public_html/wp-content/plugins/plugin-directory/shortcodes/class-upload-handler.php

     
    133133
    134134                        return new \WP_Error( 'already_submitted', $error . ' ' . sprintf(
    135135                                /* translators: 1: plugin slug, 2: plugins@wordpress.org */
    136                                 __( 'You have already submitted a plugin called %1$s. Please be patient and wait for a review. If you have made a mistake, please email <a href="mailto:%2$s">%2$s</a> and let us know.', 'wporg-plugins' ),
     136                                __( 'You have already submitted a plugin called %1$s. Please be patient and wait for a review. If you have made a mistake, email <a href="mailto:%2$s">%2$s</a> and let us know.', 'wporg-plugins' ),
    137137                                '<code>' . $this->plugin_slug . '</code>',
    138138                                'plugins@wordpress.org'
    139139                        ) );
     
    143143                        $error = __( 'Error: The plugin has no description.', 'wporg-plugins' );
    144144
    145145                        return new \WP_Error( 'no_description', $error . ' ' . sprintf(
    146                                 /* translators: 1: plugin header line, 2: Codex URL */
     146                                /* translators: 1: plugin header line, 2: Documentation URL */
    147147                                __( 'Add a %1$s line to your main plugin file and upload the plugin again. <a href="%2$s">Plugin Headers</a>', 'wporg-plugins' ),
    148148                                '<code>Description:</code>',
    149                                 __( 'https://codex.wordpress.org/File_Header', 'wporg-plugins' )
     149                                __( 'https://developer.wordpress.org/plugins/the-basics/header-requirements/', 'wporg-plugins' )
    150150                        ) );
    151151                }
    152152
     
    154154                        $error = __( 'Error: The plugin has no version.', 'wporg-plugins' );
    155155
    156156                        return new \WP_Error( 'no_version', $error . ' ' . sprintf(
    157                                 /* translators: 1: plugin header line, 2: Codex URL */
     157                                /* translators: 1: plugin header line, 2: Documentation URL */
    158158                                __( 'Add a %1$s line to your main plugin file and upload the plugin again. <a href="%2$s">Plugin Headers</a>', 'wporg-plugins' ),
    159159                                '<code>Version:</code>',
    160                                 __( 'https://codex.wordpress.org/File_Header', 'wporg-plugins' )
     160                                __( 'https://developer.wordpress.org/plugins/the-basics/header-requirements/', 'wporg-plugins' )
    161161                        ) );
    162162                }
    163163
     
    289289                        'plugins@wordpress.org'
    290290                ) . '</p><p>';
    291291
    292                 $message .= __( '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' );
     292                $message .= __( 'If there is any error in your submission, please email us as we can correct many issues before approval.', 'wporg-plugins' ) . '</p><p>';
    293293
     294                /* translators: 1: https://developer.wordpress.org/plugins/wordpress-org/detailed-plugin-guidelines/, 2: https://developer.wordpress.org/plugins/wordpress-org/plugin-developer-faq/ */
     295                $message .= sprintf(
     296                        __( 'While you&rsquo;re waiting on your review, please take the time to read the developer guidelines - %1$s - and the developer FAQ - %2$s - as they will address most questions.' ),
     297                        'https://developer.wordpress.org/plugins/wordpress-org/detailed-plugin-guidelines/',
     298                        'https://developer.wordpress.org/plugins/wordpress-org/plugin-developer-faq/'
     299                );
     300
    294301                // Success!
    295302                return $message;
    296303        }
     
    408415
    409416Your plugin has been given the initial slug of %2$s, however this is subject to change based on the results of your review.
    410417
    411 If 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.
     418If there is any problem with this submission, please reply to this email and let us know right away. In most cases, we can correct errors as long as the plugin has not yet been approved. For situations like an incorrect plugin slug, we are unable to change that post approval, so if you do not let us know of your requirements now, we will be unable to honor them later.
    412419
    413 Remember to read the developer guidelines: https://developer.wordpress.org/plugins/wordpress-org/detailed-plugin-guidelines/
     420We recommend you review the following links to understand the
    414421
    415 Please make sure to follow our official blog: https://make.wordpress.org/plugins/
     422Guidelines: https://developer.wordpress.org/plugins/wordpress-org/detailed-plugin-guidelines/
    416423
     424Frequently Asked Questions: https://developer.wordpress.org/plugins/wordpress-org/plugin-developer-faq/
     425
     426Also, make sure to follow our official blog: https://make.wordpress.org/plugins/
     427
    417428--
    418429The WordPress Plugin Directory Team
    419430https://make.wordpress.org/plugins', 'wporg-plugins'