Changeset 4803
- Timestamp:
- 01/26/2017 11:29:43 PM (9 years ago)
- Location:
- sites/trunk/wordcamp.org/public_html/wp-content/plugins/wcpt/wcpt-wordcamp
- Files:
-
- 2 edited
-
wordcamp-admin.php (modified) (1 diff)
-
wordcamp-loader.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordcamp.org/public_html/wp-content/plugins/wcpt/wcpt-wordcamp/wordcamp-admin.php
r4577 r4803 729 729 } 730 730 731 // back-compat for old statuses732 if ( 'draft' == $old_status && 'pending' == $new_status ) {733 do_action( 'wcpt_added_to_planning_schedule', $post );734 } elseif ( 'pending' == $old_status && 'publish' == $new_status ) {735 do_action( 'wcpt_added_to_final_schedule', $post );736 }737 738 731 // todo add new triggers - which ones? 739 732 } -
sites/trunk/wordcamp.org/public_html/wp-content/plugins/wcpt/wcpt-wordcamp/wordcamp-loader.php
r4254 r4803 222 222 'wcpt-scheduled', 223 223 'wcpt-closed', 224 225 // back-compat226 'public',227 // todo this should be 'publish'?228 224 ); 229 225 } … … 242 238 'wcpt-needs-fill-list', 243 239 'wcpt-needs-schedule', 244 245 // back-compat246 'pending',247 240 ); 248 241 }
Note: See TracChangeset
for help on using the changeset viewer.