Changeset 3310 for branches/plugin/bbp-admin/bbp-forums.php
- Timestamp:
- 06/10/2011 06:24:38 AM (15 years ago)
- File:
-
- 1 edited
-
branches/plugin/bbp-admin/bbp-forums.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/plugin/bbp-admin/bbp-forums.php
r3309 r3310 226 226 */ 227 227 function attributes_metabox_save( $forum_id ) { 228 global $bbp;229 228 230 229 // Bail if doing an autosave … … 290 289 } 291 290 } 291 292 // Parent ID 293 $parent_id = ( !empty( $_POST['parent_id'] ) && is_numeric( $_POST['parent_id'] ) ) ? $_POST['parent_id'] : 0; 294 295 // Update the forum meta bidness 296 bbp_update_forum( array( 297 'forum_id' => $forum_id, 298 'post_parent' => (int) $parent_id 299 ) ); 292 300 293 301 do_action( 'bbp_forum_attributes_metabox_save', $forum_id );
Note: See TracChangeset
for help on using the changeset viewer.