Changeset 3840 for branches/plugin/bbp-includes/bbp-topic-functions.php
- Timestamp:
- 04/15/2012 01:49:07 AM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/plugin/bbp-includes/bbp-topic-functions.php
r3826 r3840 19 19 * @since bbPress (r3349) 20 20 * 21 * @uses wp_parse_args()21 * @uses bbp_parse_args() 22 22 * @uses bbp_get_topic_post_type() 23 23 * @uses wp_insert_post() … … 43 43 44 44 // Parse args 45 $topic_data = wp_parse_args( $topic_data, $default_topic);45 $topic_data = bbp_parse_args( $topic_data, $default_topic, 'insert_topic' ); 46 46 47 47 // Insert topic … … 66 66 67 67 // Parse args 68 $topic_meta = wp_parse_args( $topic_meta, $default_meta);68 $topic_meta = bbp_parse_args( $topic_meta, $default_meta, 'insert_topic_meta' ); 69 69 70 70 // Insert topic meta … … 740 740 'bbp_anonymous_website' => '', 741 741 ); 742 $r = wp_parse_args( $anonymous_data, $defaults);742 $r = bbp_parse_args( $anonymous_data, $defaults, 'update_topic' ); 743 743 744 744 // Update all anonymous metas … … 2444 2444 'revision_id' => 0 2445 2445 ); 2446 2447 $r = wp_parse_args( $args, $defaults ); 2446 $r = bbp_parse_args( $args, $defaults, 'update_topic_revision_log' ); 2448 2447 extract( $r ); 2449 2448
Note: See TracChangeset
for help on using the changeset viewer.