Changeset 3840 for branches/plugin/bbp-includes/bbp-reply-template.php
- Timestamp:
- 04/15/2012 01:49:07 AM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/plugin/bbp-includes/bbp-reply-template.php
r3824 r3840 117 117 $default = array_merge( $parent_args, $default ); 118 118 119 // Filter the default arguments120 $args = apply_filters( 'bbp_pre_has_replies_query', $args );121 122 119 // Set up topic variables 123 $bbp_r = wp_parse_args( $args, $default ); 124 125 // Filter the replies query to allow just-in-time modifications 126 $bbp_r = apply_filters( 'bbp_has_replies_query', $bbp_r ); 120 $bbp_r = bbp_parse_args( $args, $default, 'has_replies' ); 127 121 128 122 // Extract the query variables … … 984 978 'sep' => ' ' 985 979 ); 986 $r = wp_parse_args( $args, $defaults);980 $r = bbp_parse_args( $args, $defaults, 'get_reply_author_link' ); 987 981 extract( $r ); 988 982 … … 1363 1357 'links' => array() 1364 1358 ); 1365 $r = wp_parse_args( $args, $defaults);1359 $r = bbp_parse_args( $args, $defaults, 'get_reply_admin_links' ); 1366 1360 1367 1361 $r['id'] = bbp_get_reply_id( (int) $r['id'] ); … … 1456 1450 'edit_text' => __( 'Edit', 'bbpress' ) 1457 1451 ); 1458 $r = wp_parse_args( $args, $defaults);1452 $r = bbp_parse_args( $args, $defaults, 'get_reply_edit_link' ); 1459 1453 extract( $r ); 1460 1454 … … 1578 1572 'delete_text' => __( 'Delete', 'bbpress' ) 1579 1573 ); 1580 $r = wp_parse_args( $args, $defaults);1574 $r = bbp_parse_args( $args, $defaults, 'get_reply_trash_link' ); 1581 1575 extract( $r ); 1582 1576 … … 1648 1642 'unspam_text' => __( 'Unspam', 'bbpress' ) 1649 1643 ); 1650 $r = wp_parse_args( $args, $defaults);1644 $r = bbp_parse_args( $args, $defaults, 'get_reply_spam_link' ); 1651 1645 extract( $r ); 1652 1646 … … 1712 1706 'split_title' => __( 'Split the topic from this reply', 'bbpress' ) 1713 1707 ); 1714 $r = wp_parse_args( $args, $defaults);1708 $r = bbp_parse_args( $args, $defaults, 'get_topic_split_link' ); 1715 1709 extract( $r ); 1716 1710
Note: See TracChangeset
for help on using the changeset viewer.