Changeset 5676 for trunk/src/includes/common/template.php
- Timestamp:
- 04/15/2015 02:33:11 AM (11 years ago)
- File:
-
- 1 edited
-
trunk/src/includes/common/template.php (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/includes/common/template.php
r5563 r5676 1191 1191 * @since bbPress (r2815) 1192 1192 * 1193 * @param mixed$args This function supports these arguments:1193 * @param array $args This function supports these arguments: 1194 1194 * - action: The action being taken 1195 1195 * - context: The context the action is being taken from … … 1198 1198 * @uses apply_filters() Calls 'bbp_wp_login_action' with the url and args 1199 1199 */ 1200 function bbp_wp_login_action( $args = '') {1200 function bbp_wp_login_action( $args = array() ) { 1201 1201 1202 1202 // Parse arguments against default values … … 1363 1363 * @since bbPress (r2746) 1364 1364 * 1365 * @param mixed$args See {@link bbp_get_dropdown()} for arguments1366 */ 1367 function bbp_dropdown( $args = '') {1365 * @param array $args See {@link bbp_get_dropdown()} for arguments 1366 */ 1367 function bbp_dropdown( $args = array() ) { 1368 1368 echo bbp_get_dropdown( $args ); 1369 1369 } … … 1374 1374 * @since bbPress (r2746) 1375 1375 * 1376 * @param mixed$args The function supports these args:1376 * @param array $args The function supports these args: 1377 1377 * - post_type: Post type, defaults to bbp_get_forum_post_type() (bbp_forum) 1378 1378 * - selected: Selected ID, to not have any value as selected, pass … … 1409 1409 * @return string The dropdown 1410 1410 */ 1411 function bbp_get_dropdown( $args = '') {1411 function bbp_get_dropdown( $args = array() ) { 1412 1412 1413 1413 // Setup return value
Note: See TracChangeset
for help on using the changeset viewer.