我找不到关于这个问题的硬答案的参考,但它可能可以很好地处理大字符串。通过快速查看WP自己的文件,可以看到以下内容:
__(\'Your account has been activated. You may now <a href="%1$s">log in</a> to the site using your chosen username of “%2$s”. Please check your email inbox at %3$s for your password and login instructions. If you do not receive an email, please check your junk or spam folder. If you still do not receive an email within an hour, you can <a href="%4$s">reset your password</a>.\')
在采购订单中存储为多行:
#: wp-activate.php:96
msgid ""
"Your account has been activated. You may now <a href=\\"%1$s\\">log in</a> to "
"the site using your chosen username of “%2$s”. Please check your "
"email inbox at %3$s for your password and login instructions. If you do not "
"receive an email, please check your junk or spam folder. If you still do not "
"receive an email within an hour, you can <a href=\\"%4$s\\">reset your "
"password</a>."
因此,它似乎天生具有感知能力,适合处理大型字符串。