Quantcast
Channel: WordPress.org Forums » All Topics
Viewing all articles
Browse latest Browse all 512573

Theme Check expects _n() to have at most three parameters, but it has four

$
0
0

Replies: 0

According to https://developer.wordpress.org/reference/functions/_n/ you need four parameters if specifying a textdomain. However, if _n() is used with four parameters, Theme Check throws a WARNING: Found a translation function that has an incorrect number of arguments. The same goes for _nc, __ngettext, _nx and _n_js.


Viewing all articles
Browse latest Browse all 512573

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>