Skip to content

Remove duplicated code#391

Merged
swissspidy merged 1 commit intowp-cli:mainfrom
ernilambar:remove-duplicated-code
Jan 11, 2024
Merged

Remove duplicated code#391
swissspidy merged 1 commit intowp-cli:mainfrom
ernilambar:remove-duplicated-code

Conversation

@ernilambar
Copy link
Copy Markdown
Member

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
@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

2 participants