• Resolved jim5471

    (@jim5471)


    Hi there,

    I have a question about the 1.7.0 update which is listing a number of new errors (below) referring to “theme/plugin prefix”.

    Can’t seem to find anywhere that has a specific answer and haven’t been able to work it out !

    What would be the “plugin prefix” for a plugin named “My Plugin” ?
    Do I need a line of code to set the “plugin prefix” ?
    It would be useful if PCP stated what the “theme/plugin prefix” was so you can work out what is wrong.

    ERRORS:
    WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedClassFound
    Classes declared by a theme/plugin should start with the theme/plugin prefix.

    WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound
    Global variables defined by a theme/plugin should start with the theme/plugin prefix.

Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)

You must be logged in to reply to this topic.