[wp-meta] [Making WordPress.org] #1855: List classes that extend the current class on the Code Reference
Making WordPress.org
noreply at wordpress.org
Mon Aug 15 17:43:19 UTC 2016
#1855: List classes that extend the current class on the Code Reference
----------------------------+--------------------------
Reporter: grapplerulrich | Owner: coffee2code
Type: enhancement | Status: closed
Priority: normal | Milestone:
Component: Developer Hub | Resolution: fixed
Keywords: |
----------------------------+--------------------------
Changes (by coffee2code):
* owner: => coffee2code
* status: new => closed
* resolution: => fixed
Comment:
In [changeset:"3809"]:
{{{
#!CommitTicketReference repository="" revision="3809"
developer.wordpress.org: For wp-parser-class, list parent class under
'Uses' and list extending classes under 'Used By'.
* Change `post_type_has_uses_info()` and `post_type_has_usage_info()` to
return true for 'wp-parser-class' post type.
* In template-related.php, check that `$uses` has a value before using it.
* In `get_uses()` and get_used_by()`, find classes related via the custom
field '_wp-parser_extends', which notes the class being extended.
Fixes #1855.
}}}
--
Ticket URL: <https://meta.trac.wordpress.org/ticket/1855#comment:3>
Making WordPress.org <https://meta.trac.wordpress.org/>
Making WordPress.org
More information about the wp-meta
mailing list