[wp-meta] [Making WordPress.org] #5358: Warn on plugin upload if text domain and plugin slug don't match

Making WordPress.org noreply at wordpress.org
Wed Aug 5 20:03:34 UTC 2020


#5358: Warn on plugin upload if text domain and plugin slug don't match
------------------------------+---------------------
 Reporter:  SergeyBiryukov    |       Owner:  (none)
     Type:  enhancement       |      Status:  new
 Priority:  normal            |   Milestone:
Component:  Plugin Directory  |  Resolution:
 Keywords:                    |
------------------------------+---------------------

Comment (by fierevere):

 Probably because it's no longer required as of WordPress 4.6
 load_textdomain() is not required, but mismatch between textdomain and
 plugin slug is still considered as error, which prevents translations from
 being used by plugin.

 Example:
 https://wp-info.org/tools/checkplugini18n.php?slug=cookie-notice-and-
 consent-banner
 (Author is made aware of this problem, and may fix their textdomain soon,
 but for now)


 {{{
 - Plugin Name: Cookie Notice and Consent Banner
 - Version: 1.6.1
 - Text Domain: cncb
 ERROR: Your plugin slug is cookie-notice-and-consent-banner, but your Text
 Domain is set as cncb. As the "Requires at least" is at least 4.6, you
 could remove the Text Domain tag, but you still need to modify the text
 domain in all your source files. Make sure it is equal to your plugin
 slug.

 }}}

-- 
Ticket URL: <https://meta.trac.wordpress.org/ticket/5358#comment:3>
Making WordPress.org <https://meta.trac.wordpress.org/>
Making WordPress.org


More information about the wp-meta mailing list