Making WordPress.org

Changeset 9097


Ignore:
Timestamp:
08/09/2019 02:53:57 PM (5 years ago)
Author:
SergeyBiryukov
Message:

Plugin Directory: Fix typo in plugin upload error message if plugin name is too short.

Props tobifjellner.
Fixes #4664.

File:
1 edited

Legend:

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

    r9096 r9097  
    160160            return new \WP_Error( 'trademarked_name', $error . ' ' . sprintf(
    161161                /* translators: 1: plugin slug, 2: 'Plugin Name:' */
    162                 __( 'Your chosen plugin name - %1$s - is not permitted becuase it is too short. Please change the %2$s line in your main plugin file and readme and upload it again.', 'wporg-plugins' ),
     162                __( 'Your chosen plugin name - %1$s - is not permitted because it is too short. Please change the %2$s line in your main plugin file and readme and upload it again.', 'wporg-plugins' ),
    163163                '<code>' . $this->plugin_slug . '</code>',
    164164                '<code>Plugin Name:</code>'
Note: See TracChangeset for help on using the changeset viewer.