[wp-meta] [Making WordPress.org] #3310: Cleanup of plugin-single.php and related code
Making WordPress.org
noreply at wordpress.org
Mon Dec 4 16:57:14 UTC 2017
#3310: Cleanup of plugin-single.php and related code
------------------------------+------------------------------------
Reporter: joostdevalk | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone:
Component: Plugin Directory | Keywords: has-patch dev-feedback
------------------------------+------------------------------------
The code in the partials `plugin-single.php` and `section-advanced.php` is
slightly unwieldy and not very DRY. This patch aims to fix that.
It also:
- No longer has the containing block for closed plugins' icons.
- Introduces a couple of template functions in `class-template.php` to
retrieve messages so we can maintain these in one place.
- Cleans up the code style a bit.
--
Ticket URL: <https://meta.trac.wordpress.org/ticket/3310>
Making WordPress.org <https://meta.trac.wordpress.org/>
Making WordPress.org
More information about the wp-meta
mailing list