diff --git a/admin/post-types/list.php b/admin/post-types/list.php index e01f7752..4ba6d324 100644 --- a/admin/post-types/list.php +++ b/admin/post-types/list.php @@ -19,7 +19,7 @@ function sportspress_list_post_init() { 'hierarchical' => false, 'supports' => array( 'title', 'author', 'thumbnail' ), 'register_meta_box_cb' => 'sportspress_list_meta_init', - 'rewrite' => array( 'slug' => get_option( 'sp_list_slug', 'lists' ) ), + 'rewrite' => array( 'slug' => get_option( 'sp_list_slug', 'list' ) ), 'show_in_menu' => 'edit.php?post_type=sp_player', 'show_in_admin_bar' => true, 'capability_type' => 'sp_list' diff --git a/admin/post-types/table.php b/admin/post-types/table.php index f5df0475..41cfdce4 100644 --- a/admin/post-types/table.php +++ b/admin/post-types/table.php @@ -19,7 +19,7 @@ function sportspress_table_post_init() { 'hierarchical' => false, 'supports' => array( 'title', 'author', 'thumbnail' ), 'register_meta_box_cb' => 'sportspress_table_meta_init', - 'rewrite' => array( 'slug' => get_option( 'sp_table_slug', 'tables' ) ), + 'rewrite' => array( 'slug' => get_option( 'sp_table_slug', 'table' ) ), 'show_in_menu' => 'edit.php?post_type=sp_team', 'show_in_admin_bar' => true, 'capability_type' => 'sp_table'