• Resolved nadzthemes

    (@nadzhq)


    WARNING: Found a translation function that is missing a text-domain. Function __, with the arguments ‘»’
    WARNING: Found a translation function that is missing a text-domain. Function __, with the arguments ‘«’

    I found some warnings. but the plugin cannot tell us the actual line number of code.

    https://wordpress.org/plugins/theme-check/

Viewing 1 replies (of 1 total)
  • Plugin Author Samuel Wood (Otto)

    (@otto42)

    WordPress.org Admin

    For the translation checks, no, it cannot tell you a line number. This is because it’s not reading your code as text, instead it has PHP parse the code into “tokens” which it then scans through for what it needs. So it can’t give you a line number because it’s not seeing the lines, just the code.

    You will need to search your own files for those calls. That is why it gives you those arguments, so you know what to search for. Use your text editors functionality to find ‘»’ in your theme. Should only take a second. And you should learn how to do global searches in your editor, it’s handy.

Viewing 1 replies (of 1 total)
  • The topic ‘Themecheck plugin cannot tell us the line of code’ is closed to new replies.