Changeset 5513
- Timestamp:
- 05/24/2017 11:42:00 PM (9 years ago)
- Location:
- sites/trunk/wordcamp.org/public_html/wp-content/plugins
- Files:
-
- 2 edited
-
wcpt/wcpt-wordcamp/wordcamp-admin.php (modified) (1 diff)
-
wordcamp-organizer-reminders/wcor-mailer.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordcamp.org/public_html/wp-content/plugins/wcpt/wcpt-wordcamp/wordcamp-admin.php
r5512 r5513 44 44 add_action( 'transition_post_status', array( $this, 'trigger_schedule_actions' ), 10, 3 ); 45 45 add_action( 'transition_post_status', array( $this, 'log_status_changes' ), 10, 3 ); 46 add_action( 'wcpt_a dded_to_planning_schedule',array( $this, 'add_organizer_to_central' ), 10 );47 add_action( 'wcpt_a dded_to_planning_schedule',array( $this, 'mark_date_added_to_planning_schedule' ), 10 );46 add_action( 'wcpt_approved_for_pre_planning', array( $this, 'add_organizer_to_central' ), 10 ); 47 add_action( 'wcpt_approved_for_pre_planning', array( $this, 'mark_date_added_to_planning_schedule' ), 10 ); 48 48 add_filter( 'wp_insert_post_data', array( $this, 'enforce_post_status' ), 10, 2 ); 49 49 add_filter( 'wp_insert_post_data', array( $this, 'require_complete_meta_to_publish_wordcamp' ), 11, 2 ); // after enforce_post_status -
sites/trunk/wordcamp.org/public_html/wp-content/plugins/wordcamp-organizer-reminders/wcor-mailer.php
r5512 r5513 19 19 'name' => 'wcpt_approved_for_pre_planning', 20 20 'callback' => 'send_trigger_approved_for_pre_planning', 21 'priority' => 10,22 'parameters' => 1,23 ),24 ),25 ),26 27 'wcor_added_to_pending_schedule' => array(28 'name' => 'WordCamp added to pending schedule',29 'actions' => array(30 array(31 'name' => 'wcpt_added_to_planning_schedule',32 'callback' => 'send_trigger_added_to_pending_schedule',33 21 'priority' => 10, 34 22 'parameters' => 1, … … 652 640 653 641 /** 654 * Sends e-mails hooked to the wcor_added_to_pending_schedule trigger.655 *656 * This fires when a WordCamp is added to the pending schedule.657 *658 * @param WP_Post $wordcamp659 */660 public function send_trigger_added_to_pending_schedule( $wordcamp ) {661 $this->send_triggered_emails( $wordcamp, 'wcor_added_to_pending_schedule' );662 }663 664 /**665 642 * Sends e-mails hooked to the wcor_added_to_schedule trigger. 666 643 *
Note: See TracChangeset
for help on using the changeset viewer.