Ticket #3702: 3702.3.diff
File 3702.3.diff, 4.9 KB (added by , 6 years ago) |
---|
-
trunk/wordpress.org/public_html/wp-content/plugins/plugin-directory/shortcodes/class-upload-handler.php
133 133 134 134 return new \WP_Error( 'already_submitted', $error . ' ' . sprintf( 135 135 /* 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, pleaseemail <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' ), 137 137 '<code>' . $this->plugin_slug . '</code>', 138 138 'plugins@wordpress.org' 139 139 ) ); … … 143 143 $error = __( 'Error: The plugin has no description.', 'wporg-plugins' ); 144 144 145 145 return new \WP_Error( 'no_description', $error . ' ' . sprintf( 146 /* translators: 1: plugin header line, 2: CodexURL */146 /* translators: 1: plugin header line, 2: Documentation URL */ 147 147 __( 'Add a %1$s line to your main plugin file and upload the plugin again. <a href="%2$s">Plugin Headers</a>', 'wporg-plugins' ), 148 148 '<code>Description:</code>', 149 __( 'https:// codex.wordpress.org/File_Header', 'wporg-plugins' )149 __( 'https://developer.wordpress.org/plugins/the-basics/header-requirements/', 'wporg-plugins' ) 150 150 ) ); 151 151 } 152 152 … … 154 154 $error = __( 'Error: The plugin has no version.', 'wporg-plugins' ); 155 155 156 156 return new \WP_Error( 'no_version', $error . ' ' . sprintf( 157 /* translators: 1: plugin header line, 2: CodexURL */157 /* translators: 1: plugin header line, 2: Documentation URL */ 158 158 __( 'Add a %1$s line to your main plugin file and upload the plugin again. <a href="%2$s">Plugin Headers</a>', 'wporg-plugins' ), 159 159 '<code>Version:</code>', 160 __( 'https:// codex.wordpress.org/File_Header', 'wporg-plugins' )160 __( 'https://developer.wordpress.org/plugins/the-basics/header-requirements/', 'wporg-plugins' ) 161 161 ) ); 162 162 } 163 163 … … 289 289 'plugins@wordpress.org' 290 290 ) . '</p><p>'; 291 291 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>'; 293 293 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’re waiting on your review, please take the time to read the <a href="%1$s">developer guidelines</a> and the <a href="%2$s">developer FAQ</a> 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 294 301 // Success! 295 302 return $message; 296 303 } … … 408 415 409 416 Your plugin has been given the initial slug of %2$s, however this is subject to change based on the results of your review. 410 417 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.418 If 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. 412 419 413 Remember to read the developer guidelines: https://developer.wordpress.org/plugins/wordpress-org/detailed-plugin-guidelines/ 420 We recommend you review the following links to understand the 414 421 415 Please make sure to follow our official blog: https://make.wordpress.org/plugins/422 Guidelines: https://developer.wordpress.org/plugins/wordpress-org/detailed-plugin-guidelines/ 416 423 424 Frequently Asked Questions: https://developer.wordpress.org/plugins/wordpress-org/plugin-developer-faq/ 425 426 Also, make sure to follow our official blog: https://make.wordpress.org/plugins/ 427 417 428 -- 418 429 The WordPress Plugin Directory Team 419 430 https://make.wordpress.org/plugins', 'wporg-plugins'