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

Probably useless call to maybe_read_meta_data() in WC_Data::get_meta() #47442

Closed
wants to merge 1 commit into from

Conversation

tivnet
Copy link
Contributor

@tivnet tivnet commented May 14, 2024

$this->maybe_read_meta_data(); already in

public function get_meta_data() {
		$this->maybe_read_meta_data();

Submission Review Guidelines:

Changes proposed in this Pull Request:

Closes # .

How to test the changes in this Pull Request:

Using the WooCommerce Testing Instructions Guide, include your detailed testing instructions:

Changelog entry

  • Automatically create a changelog entry from the details below.

Significance

  • Patch
  • Minor
  • Major

Type

  • Fix - Fixes an existing bug
  • Add - Adds functionality
  • Update - Update existing functionality
  • Dev - Development related task
  • Tweak - A minor adjustment to the codebase
  • Performance - Address performance issues
  • Enhancement - Improvement to existing functionality

Message

Comment

`$this->maybe_read_meta_data();` already in 
```
public function get_meta_data() {
		$this->maybe_read_meta_data();
```
@github-actions github-actions bot added plugin: woocommerce Issues related to the WooCommerce Core plugin. type: community contribution labels May 14, 2024
@woocommercebot woocommercebot requested review from a team and Konamiman and removed request for a team May 14, 2024 02:18
Copy link
Contributor

Hi ,

Apart from reviewing the code changes, please make sure to review the testing instructions as well.

You can follow this guide to find out what good testing instructions should look like:
https://github.com/woocommerce/woocommerce/wiki/Writing-high-quality-testing-instructions

@Konamiman
Copy link
Contributor

Hi @tivnet, thanks for your contribution. The change you suggest seems good, but we require pull requests to include testing instructions, could you please add them?

@tivnet
Copy link
Contributor Author

tivnet commented May 15, 2024

@Konamiman Hola Néstor, this is trivial and does not need any testing. Thanks!

@Konamiman
Copy link
Contributor

@tivnet Yes, I know it's a trivial change, but we really require testing instructions for any pull request that is merged into core and contains actual code changes (documentation related pull requests are different of course). We have internal processes in place for each WooCommerce release, and this includes a quality assurance process that makes use of these instructions.

It doesn't need to be anything complicated, just something that makes the code run to verify that it doesn't break. Maybe even running the method from command line.

Thanks for your understanding and patience!

@Konamiman
Copy link
Contributor

Also @tivnet there are a few CI checks failing, could you please rebase the branch from the latest trunk?

@tivnet tivnet closed this May 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
plugin: woocommerce Issues related to the WooCommerce Core plugin. type: community contribution
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants