Merge lp:~ya-bo-ng/resource-centre/fix-post-publish into lp:resource-centre

Proposed by Anthony Dillon
Status: Merged
Approved by: Peter Mahnke
Approved revision: 109
Merged at revision: 109
Proposed branch: lp:~ya-bo-ng/resource-centre/fix-post-publish
Merge into: lp:resource-centre
Diff against target: 11 lines (+1/-1)
1 file modified
functions/event-posts.php (+1/-1)
To merge this branch: bzr merge lp:~ya-bo-ng/resource-centre/fix-post-publish
Reviewer Review Type Date Requested Status
Peter Mahnke (community) Approve
Review via email: mp+347038@code.launchpad.net

Commit message

Disable the event metadata from posts

Description of the change

## Done
Disabled the event metadata from posts

## QA
- Go to https://admin.insights.ubuntu.com/wp-admin/post-new.php and check there is no event date or event location fields

To post a comment you must log in.
Revision history for this message
Peter Mahnke (peterm-ubuntu) wrote :

seems fine.

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'functions/event-posts.php'
2--- functions/event-posts.php 2018-05-25 10:42:33 +0000
3+++ functions/event-posts.php 2018-05-29 12:26:31 +0000
4@@ -128,7 +128,7 @@
5 add_meta_box( 'ept_event_venue', 'Event Venue', 'ept_event_venue', 'post', 'normal', 'default', array('id'=>'_end') );
6 add_meta_box( 'ept_event_registration', 'Event registration', 'ept_event_registration', 'post', 'normal', 'default', array('id'=>'_end') );
7 }
8-add_action( 'admin_init', 'ep_posts_metaboxes' );
9+// add_action( 'admin_init', 'ep_posts_metaboxes' );
10
11 // Metabox HTML
12

Subscribers

People subscribed via source and target branches