[wp-meta] [Making WordPress.org] #1794: Sponsor Info to have billing and contact emails
Making WordPress.org
noreply at wordpress.org
Fri Feb 23 09:38:40 UTC 2018
#1794: Sponsor Info to have billing and contact emails
---------------------------------------------------+-----------------------
Reporter: Kenshino | Owner: Kenshino
Type: enhancement | Status: assigned
Priority: normal | Milestone:
Component: WordCamp Site & Plugins | Resolution:
Keywords: dev-feedback good-first-bug has-patch |
---------------------------------------------------+-----------------------
Changes (by hlashbrooke):
* keywords: dev-feedback needs-patch good-first-bug => dev-feedback good-
first-bug has-patch
Comment:
I put together 1794.diff above that solves this problem. As you can see in
the screenshot above, it adds a 'Sponsor Notes' metabox to the
`wcb_sponsor` post type. I copied the code for this metabox from the notes
metabox on Reimbursement Requests, so the UI will be consistent across the
different post types, and the code will be easy to maintain as there is
nothing 'new' as such.
I had to add some very minor CSS to `wc-post-types/css/admin.css`, so I'm
not sure if that means the CSS version number needs to be bumped or not
(or is that done automatically when CSS changes merged?).
As with Reimbursement Requests, the `(visible to organizers)` string only
shows up for network admins.
I think this solves the ticket completely, but happy to rework the patch,
or add more to it if needed.
--
Ticket URL: <https://meta.trac.wordpress.org/ticket/1794#comment:4>
Making WordPress.org <https://meta.trac.wordpress.org/>
Making WordPress.org
More information about the wp-meta
mailing list