Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • P puppet-wordpress
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 7
    • Issues 7
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Container Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • AdullactAdullact
  • puppet-wordpress
  • Issues
  • #25
Closed
Open
Issue created Jul 08, 2018 by Fabien Combernous@fcombernousOwner

wp core config is deprecated

The command wp core config have to be changed by wp config.

https://github.com/wp-cli/wp-cli/issues/3728

https://developer.wordpress.org/cli/commands/config/

So wp core config becomes wp config creates to create the first wp-config.php file.

New commands are available :

  • wp config get.
  • wp config has.
  • wp config set.

So, instead of using file_line resource, we can use exec with this new set of commands to manage the wp-config.php file.

Edited Jul 28, 2018 by Fabien Combernous
Assignee
Assign to
Time tracking