Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update WP_CLI::line() to WP_CLI::log() #699

Merged
merged 1 commit into from
Dec 18, 2024
Merged

Update WP_CLI::line() to WP_CLI::log() #699

merged 1 commit into from
Dec 18, 2024

Conversation

raamdev
Copy link
Member

@raamdev raamdev commented Dec 14, 2024

The docs for WP_CLI::line() recommend using WP_CLI::log():

WP_CLI::log() is typically recommended and WP_CLI::line() is included only for historical compat.

https://make.wordpress.org/cli/handbook/references/internal-api/wp-cli-line/

This PR updates references to WP_CLI::line() to use WP_CLI::log() instead.

@raamdev raamdev added this to the 1.next milestone Dec 14, 2024
@raamdev raamdev requested a review from GaryJones December 14, 2024 04:20
@raamdev raamdev self-assigned this Dec 14, 2024
@GaryJones
Copy link
Contributor

The CI workflows are out of date, but this change is safe anyway, so we can tackle that separately.

@raamdev raamdev merged commit 2b089c6 into master Dec 18, 2024
8 of 60 checks passed
@raamdev raamdev deleted the update/wp-cli-log branch December 18, 2024 00:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants