[wp-meta] [Making WordPress.org] #4636: Remove global sponsor details from flagship event sites
Making WordPress.org
noreply at wordpress.org
Mon Jul 29 12:21:47 UTC 2019
#4636: Remove global sponsor details from flagship event sites
-------------------------------------+-------------------------
Reporter: hlashbrooke | Owner: (none)
Type: enhancement | Status: new
Priority: normal | Milestone:
Component: WordCamp Site & Plugins | Keywords: needs-patch
-------------------------------------+-------------------------
Currently, all WordCamp sites explicitly thank all of the global sponsors
on the ticket page after purchase, as well as in the footer of all ticket
purchase emails.
According to [our global sponsorship
program](https://make.wordpress.org/community/2019-wordpress-global-
community-sponsorship-program/), however, the global sponsorship funds do
not apply to flagship events, but the thank you text is displayed for them
too.
We should remove the global sponsor text from events that don't make use
of global sponsor funds - currently, that includes WordCamp Europe, US and
Asia and they all have their "Multi-Event Sponsor Region" setting set to
"Excluded". It should be relatively straightforward to choose not to show
the global sponsor thanks based on that field.
I don't currently have a local dev environment setup, but it looks like we
should be able to do that in the `camptix-tweaks.php` file here:
https://meta.trac.wordpress.org/browser/sites/trunk/wordcamp.org/public_html
/wp-content/mu-plugins/camptix-tweaks/camptix-tweaks.php#L907
I think this should do the trick:
{{{
if( 436028 == $region_id ) {
break;
}
}}}
(`436028` is the ID for the 'Excluded' region).
Am I perhaps underestimating the amount of work here?
This change would do a lot to remove the confusion that these messages
create for attendees.
--
Ticket URL: <https://meta.trac.wordpress.org/ticket/4636>
Making WordPress.org <https://meta.trac.wordpress.org/>
Making WordPress.org
More information about the wp-meta
mailing list