The [block] command STILL does not actually exist
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 2/5
- Tiempo estimado
- 1-3 horas
- Aptitud para principiantes
- 68/100
- Tipo de issue
- Documentación
- Claridad
- Bien especificado
- Estado de actividad
- Activo
- Stack tecnológico
- cli
- Área
- cli, documentation
Línea de trabajo
Comienza con el código fuente del índice de comandos y la página de documentación de block enlazada en el informe, comprobando cómo se seleccionan los comandos disponibles para la versión activa de WP-CLI. El trabajo estará terminado cuando la documentación activa ya no presente block como un comando disponible, o lo marque claramente como alpha/beta, y el índice de comandos coincida.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
Bug Report
- Yes, I reviewed the contribution guidelines.
- Yes, more specifically, I reviewed the guidelines on how to write clear bug reports.
Describe the current, buggy behavior
The block command still enumerated in the online docs despite not being available in the live build of the CLI. I reported this on the 28th of April (see #1002) and was told at the time that the new release was, "around the corner". It has been 4.5 months. The documentation that incorrectly asserts that the block command is available has been live since mid December of 2025 (roughly nine months ago).
Describe how other contributors can replicate this bug
- Go to https://developer.wordpress.org/cli/commands/block/
- Observe that the page you went to is live
- https://developer.wordpress.org/cli/commands/
- Observe that it provides a link to that page in the third row of the table enumerating available commands
Describe what you would expect as the correct outcome
I expect the documentation to enumerate the available commands in the currently-live version of the CLI.
Let us know what environment you are running this on
OS: Linux 4.14.318-241.531.amzn2.x86_64 #1 SMP Tue Jun 27 21:49:00 UTC 2023 x86_64
Shell: /bin/bash
PHP binary: /usr/local/bin/php
PHP version: 8.5.6
php.ini used: /usr/local/etc/php/php.ini
MySQL binary: /usr/bin/mariadb
MySQL version: mariadb from 11.8.6-MariaDB, client 15.2 for debian-linux-gnu (x86_64) using EditLine wrapper
SQL modes:
WP-CLI root dir: phar://wp-cli.phar/vendor/wp-cli/wp-cli
WP-CLI vendor dir: phar://wp-cli.phar/vendor
WP_CLI phar path: phar:///usr/local/bin/wp
WP-CLI packages dir:
WP-CLI cache dir: /home/joshualip/.wp-cli/cache
WP-CLI global config:
WP-CLI project config:
WP-CLI version: 2.12.0
Provide a possible solution
I would recommend that the documentation be updated to not list alpha/beta commands or, if that is not an option, to at least mark the listed alpha/beta commands as available only in the alpha/beta.
- Lenguaje dominante
- Gherkin
- Estrellas
- 90
- Forks
- 34
- Merge medio
- 3 h 19 min
- PR fusionados (30 d)
- 18
Guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de wp-cli/wp-cli-bundle
-
scope:distribution
Dificultad 3/5 1-2 días Aptitud para principiantes 38/100
wp-cli/wp-cli-bundle#593 ·
-
scope:distribution
Dificultad 4/5 3-5 días Aptitud para principiantes 35/100
wp-cli/wp-cli-bundle#134 · 7 comentarios · 1 reacción ·
Todos los issues de wp-cli/wp-cli-bundle
Issues similares
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 88/100
-
area:tools bug good first issue help wanted priority:P2
Dificultad 2/5 1-3 horas Aptitud para principiantes 90/100
TaewoooPark/Motifcode#14 ·
-
bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 84/100
newrelic-experimental/preflight#793 · 1 comentario ·
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 88/100
caddyserver/caddy#8046 ·
-
P3 tool/tts type/bug
Dificultad 1/5 Menos de una hora Aptitud para principiantes 90/100
NousResearch/hermes-agent#117794 ·