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

Remove duplicated code #391

Merged
merged 1 commit into from Jan 11, 2024
Merged

Conversation

ernilambar
Copy link
Contributor

File: /src/Theme_AutoUpdates_Command.php L298

Current:

$results[] = [
    'name'   => $theme->stylesheet,
    'name
'            => $theme->stylesheet,
    'status' => $enabled ? 'enabled' : 'disabled',
];

This PR removes:

'name
'            => $theme->stylesheet,

@ernilambar ernilambar requested a review from a team as a code owner January 11, 2024 09:51
@swissspidy swissspidy merged commit 955bd94 into wp-cli:main Jan 11, 2024
36 checks passed
@swissspidy swissspidy added the bug label Jan 11, 2024
@swissspidy swissspidy added this to the 2.2.0 milestone Jan 11, 2024
@ernilambar ernilambar deleted the remove-duplicated-code branch February 5, 2024 06:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants