[wp-meta] [Making WordPress.org] #3740: WordCamp.org: cancelled camps visible with URL

Making WordPress.org noreply at wordpress.org
Sat Jan 5 15:01:55 UTC 2019


#3740: WordCamp.org: cancelled camps visible with URL
-------------------------------------------------+-------------------------
 Reporter:  sippis                               |       Owner:  sippis
     Type:  defect                               |      Status:  assigned
 Priority:  normal                               |   Milestone:
Component:  WordCamp Site & Plugins              |  Resolution:
 Keywords:  good-first-bug has-patch needs-      |
  testing                                        |
-------------------------------------------------+-------------------------
Changes (by sippis):

 * keywords:  needs-patch good-first-bug => good-first-bug has-patch needs-
     testing


Comment:

 This was a somewhat larger issue than I expected. Looks like you can
 access to every WordCamp info page on central.wordcamp.org regardless of
 its status.

 Does every old WordCamp have a status? In WME WC's didn't have any status
 so also valid old camps did start giving a 404. A quick look on the
 production version WC list gives a feeling that every camp has a status,
 but this needs to be double-checked before applying the patch to
 production.

 Patch extends existing `query_public_statuses_on_archives` function in
 `wcpt` plugin to limit singular WordCamp views on
 central.wordcamp.org/wordcamps/* to view only camps with public status. I
 extended the existing function to check also singular views, because it
 made more sense than adding a new check to new function.

-- 
Ticket URL: <https://meta.trac.wordpress.org/ticket/3740#comment:4>
Making WordPress.org <https://meta.trac.wordpress.org/>
Making WordPress.org


More information about the wp-meta mailing list