WordPress Help

Official documentation, learning resources, and contributor guides collected from WordPress.org.

  • Given a WP install(ation) with Composer

    Installs WordPress with Composer. Usage Scenario: My example scenario Given a WP installation with Composer … Scenario: My other scenario Given a WP install with Composer … Behat steps documentation is generated from the WP-CLIWP-CLI WP-CLI is the Command Line Interface for WordPress, used to do administrative and development tasks in a programmatic way. The…

    Read guide

  • Given a WP install(ation) with Composer and a custom vendor directory :vendor_directory

    Installs WordPress with Composer and a custom vendor directory. Usage Scenario: My example scenario Given a WP installation with Composer and a custom vendor directory ‘vendor-custom’ … Scenario: My other scenario Given a WP install with Composer with Composer and a custom vendor directory ‘vendor-custom’ … Behat steps documentation is generated from the WP-CLIWP-CLI WP-CLI…

    Read guide

  • Given a PHP built-in web server

    Start a PHPPHP PHP (recursive acronym for PHP: Hypertext Preprocessor) is a widely-used open source general-purpose scripting language that is especially suited for web development and can be embedded into HTML. https://www.php.net/manual/en/index.php built-in web server in the current directory. Usage Scenario: My example scenario Given a WP installation And a PHP built-in web server Behat…

    Read guide

  • Given a PHP built-in web server to serve :subdir

    Start a PHPPHP PHP (recursive acronym for PHP: Hypertext Preprocessor) is a widely-used open source general-purpose scripting language that is especially suited for web development and can be embedded into HTML. https://www.php.net/manual/en/index.php built-in web server in the given subdirectory. Usage Scenario: My example scenario Given a WP installation And a PHP built-in web server to…

    Read guide

  • Given /^a new Phar with (?:the same version|version "([^"]+)")$/

    Build a new WP-CLIWP-CLI WP-CLI is the Command Line Interface for WordPress, used to do administrative and development tasks in a programmatic way. The project page is http://wp-cli.org/ https://make.wordpress.org/cli/ Phar file with a given version. Usage Scenario: My example scenario Given an empty directory And a new Phar with version “2.11.0” Behat steps documentation is…

    Read guide

  • Given a misconfigured WP_CONTENT_DIR constant directory

    Modify wp-config.php to set WP_CONTENT_DIR to an empty string. Usage Scenario: My example scenario Given a WP install And a misconfigured WP_CONTENT_DIR constant directory Behat steps documentation is generated from the WP-CLIWP-CLI WP-CLI is the Command Line Interface for WordPress, used to do administrative and development tasks in a programmatic way. The project page is…

    Read guide

  • Given /^a downloaded Phar with (?:the same version|version "([^"]+)")$/

    Download a specific WP-CLIWP-CLI WP-CLI is the Command Line Interface for WordPress, used to do administrative and development tasks in a programmatic way. The project page is http://wp-cli.org/ https://make.wordpress.org/cli/ Phar version from GitHubGitHub GitHub is a website that offers online implementation of git repositories that can easily be shared, copied and modified by other developers.…

    Read guide

  • Given a WP install(ation) in :subdir

    Installs WordPress in a given directory. Usage Scenario: My example scenario Given a WP installation in ‘foo’ … Scenario: My other scenario Given a WP install in ‘bar’ … Behat steps documentation is generated from the WP-CLIWP-CLI WP-CLI is the Command Line Interface for WordPress, used to do administrative and development tasks in a programmatic…

    Read guide

  • WP_CLIUtilsnormalize_path()

    Нормализует путь файловой системы. Использование WP_CLI\Utils\normalize_path( $path ) $path (string) Путь для нормализации. @return (string) путь. Примечания В системах Windows заменяет обратные косые черты на прямые и приводит буквы дисков к верхнему регистру. Допускает две начальные косые черты для сетевых ресурсов Windows, но гарантирует, что все остальные повторяющиеся косые черты будут заменены одной. Обеспечивает использование…

    Read guide

  • WP_CLIUtilsnormalize_path()

    Normalkan jalur sistem berkas. Penggunaan WP_CLI\Utils\normalize_path( $path ) $path (string) Jalur yang akan dinormalkan. @return (string) jalur. Catatan Pada sistem Windows, mengganti garis miring terbalik dengan garis miring biasa dan memaksa huruf drive menjadi huruf besar. Mengizinkan dua garis miring di awal untuk berbagi jaringan Windows, tetapi memastikan bahwa semua garis miring duplikat lainnya dikurangi…

    Read guide