Opened 4 years ago
Closed 4 years ago
#5642 closed defect (bug) (worksforme)
Error in code example in WordPress.org Theme Handbook
Reported by: | curtiskessler | Owned by: | |
---|---|---|---|
Milestone: | Priority: | lowest | |
Component: | WordPress.org Site | Keywords: | |
Cc: |
Description
There is a code example that seems to be displayed incorrectly on this page: https://developer.wordpress.org/themes/functionality/custom-logo/
The very last code example on the page does not work. I believe the error is on the 4th line of code, right after $logo variable.
I believe the text [0] is supposed to render as [0] on the page but does not.
Change History (4)
#2
@
4 years ago
- Resolution set to worksforme
- Status changed from new to closed
This seems to have been fixed. Thanks @kafleg
#3
@
4 years ago
- Priority changed from normal to lowest
- Resolution worksforme deleted
- Status changed from closed to reopened
The code box that is now on the page is not styled in the same manner as other code boxes that are featured in the Theme Handbook.
You can see an example of the preferred code styling on the same page.
Note: See
TracTickets for help on using
tickets.
@curtiskessler
I am taking care of this.
Thank you