diff --git a/functions.php b/functions.php
index 1fc56e4b..dccc87d1 100644
--- a/functions.php
+++ b/functions.php
@@ -312,8 +312,8 @@ if ( !function_exists( 'sportspress_dropdown_pages' ) ) {
'numberposts' => -1,
'posts_per_page' => -1,
'child_of' => 0,
- 'sort_order' => 'ASC',
- 'sort_column' => 'post_title',
+ 'order' => 'ASC',
+ 'orderby' => 'title',
'hierarchical' => 1,
'exclude' => null,
'include' => null,
@@ -367,7 +367,7 @@ if ( !function_exists( 'sportspress_dropdown_pages' ) ) {
printf( '', $args['option_all_value'], selected( $selected, $args['option_all_value'], false ), $args['show_option_all'] );
endif;
if ( $args['show_option_none'] ):
- printf( '', $args['option_none_value'], selected( $selected, $args['option_none_value'], false ), $args['show_option_none'] );
+ printf( '', $args['option_none_value'], selected( $selected, $args['option_none_value'], false ), ( $args['show_option_none'] === true ? '' : $args['show_option_none'] ) );
endif;
if ( $args['prepend_options'] && is_array( $args['prepend_options'] ) ):
foreach( $args['prepend_options'] as $slug => $label ):
@@ -760,7 +760,7 @@ if ( !function_exists( 'sportspress_edit_league_table' ) ) {
function sportspress_edit_league_table( $columns = array(), $data = array(), $placeholders = array() ) {
?>
-
+
|
@@ -1093,7 +1093,7 @@ if ( !function_exists( 'sportspress_edit_event_players_table' ) ) {
function sportspress_edit_event_players_table( $columns = array(), $data = array(), $team_id ) {
?>