Support » Fixing WordPress » About WP-CLI Config Value Type

  • simongcc

    (@simongcc)


    Hello! I have just tried WP-CLI to set a core config like
    wp config set DISALLOW_FILE_MODS false

    However it gives the follow result
    define( 'DISALLOW_FILE_MODS', 'false' );

    Because it is a string and not false, so it actually gives the same result as true.
    Is there a way to specify the value data type as boolean in command line?

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘About WP-CLI Config Value Type’ is closed to new replies.