Skip to content

Conversation

@mrabbani
Copy link
Contributor

Typo in the variable name caused confusion in the documentation. Changed $result to $site_info for consistency with later usage (e.g., is_wp_error($site_info) and $site_info['name']).

Typo in the variable name caused confusion in the documentation.
Changed `$result` to `$site_info` for consistency with later usage
(e.g., is_wp_error($site_info) and $site_info["'name'"]).
@github-actions
Copy link

The following accounts have interacted with this PR and/or linked issues. I will continue to update these lists as activity occurs. You can also manually ask me to refresh this list by adding the props-bot label.

If you're merging code through a pull request on GitHub, copy and paste the following into the bottom of the merge commit message.

Co-authored-by: mrabbani <[email protected]>

To understand the WordPress project's expectations around crediting contributors, please review the Contributor Attribution page in the Core Handbook.

@codecov
Copy link

codecov bot commented Sep 30, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 85.64%. Comparing base (309f5a0) to head (e41ce66).
⚠️ Report is 1 commits behind head on trunk.

Additional details and impacted files
@@            Coverage Diff            @@
##              trunk      #92   +/-   ##
=========================================
  Coverage     85.64%   85.64%           
  Complexity      102      102           
=========================================
  Files            16       16           
  Lines           773      773           
  Branches         86       86           
=========================================
  Hits            662      662           
  Misses          111      111           
Flag Coverage Δ
javascript 92.66% <ø> (ø)
unit 82.88% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

Copy link
Member

@gziolo gziolo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good catch! Thank you for the correction.

@gziolo gziolo added the [Type] Developer Documentation Improvements or additions to documentation label Sep 30, 2025
@gziolo gziolo merged commit a33e2be into WordPress:trunk Sep 30, 2025
22 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

[Type] Developer Documentation Improvements or additions to documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants