Skip to content

Commit

Permalink
Update deprecated messaging.
Browse files Browse the repository at this point in the history
  • Loading branch information
thijsoo committed Dec 10, 2024
1 parent 65167cc commit a67113f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion config/dependency-injection/deprecated-classes.php
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@
->setAutowired( true )
->setAutoconfigured( true )
->setPublic( true )
->setDeprecated( true, "%service_id% is deprecated since version $version!" );
->setDeprecated( $original_class, $version, "%service_id% is deprecated since version $version!" );
}

// If the DI container is built by Composer these WordPress functions will not exist.
Expand Down

0 comments on commit a67113f

Please sign in to comment.