Opened 17 months ago
Closed 17 months ago
#63250 closed defect (bug) (reported-upstream)
Docs: Improve document and parameters in render_block_core_* function
| Reported by: | dilipbheda | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | Editor | Version: | |
| Severity: | normal | Keywords: | has-patch changes-requested |
| Cc: | Focuses: | docs |
Description
While reviewing the core-registered block callback functions in wp-includes/blocks/, I noticed that some inline documentation references undeclared variables. These should be corrected for clarity and accuracy.
Additionally, in the render_block_core_latest_comments function, I updated the $attributes = array() default to just $attributes since the callback already passes the value into the function. I compared this with other blocks callbacks and removed the unnecessary default assignment to maintain consistency.
Change History (5)
This ticket was mentioned in PR #8663 on WordPress/wordpress-develop by @dilipbheda.
17 months ago
#1
#3
@
17 months ago
@audrasjb Thank you for your response. I've submitted [pull request]https://github.com/WordPress/gutenberg/pull/69856 to the GitHub repository.
@wildworks commented on PR #8663:
17 months ago
#4
@dilipbheda These files are automatically synced from Gutenberg to core, so they cannot be modified in core.
Let's close this PR and move forward with the Gutenberg PR: https://github.com/WordPress/gutenberg/pull/69856
#5
@
17 months ago
- Milestone Awaiting Review
- Resolution → reported-upstream
- Status new → closed
This issue has been fixed on Gutenberg: https://github.com/WordPress/gutenberg/pull/69856
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
Hello, the files located in wp-includes/blocks can not be updated directly on core, they must be updated upstream in Gutenberg GitHub repository.