Remove duplicate editor in team edit screen

This commit is contained in:
Brian Miyaji
2014-05-18 20:13:12 +10:00
parent d7946985c0
commit e2c84466ea
3 changed files with 9 additions and 6 deletions

View File

@@ -417,7 +417,7 @@ class SP_Post_types {
'exclude_from_search' => false,
'hierarchical' => true,
'rewrite' => array( 'slug' => get_option( 'sportspress_team_slug', 'team' ) ),
'supports' => array( 'title', 'editor', 'author', 'thumbnail', 'page-attributes', 'excerpt' ),
'supports' => array( 'title', 'author', 'thumbnail', 'page-attributes', 'excerpt' ),
'has_archive' => true,
'show_in_nav_menus' => true,
'menu_icon' => 'dashicons-shield-alt',

View File

@@ -4,7 +4,7 @@ Tags: sport, sports, sports journalism, teams, team management, fixtures, result
Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_xclick&business=support@themeboy.com&item_name=Donation+for+SportsPress
Requires at least: 3.8
Tested up to: 3.9
Stable tag: 0.9.1
Stable tag: 0.9.2
License: GPLv3
License URI: http://www.gnu.org/licenses/gpl-3.0.html
@@ -117,7 +117,10 @@ SportsPress is currently in beta and is undergoing testing. We are still activel
Yes, CSV importers are included with the plugin. Go to Tools > Import and choose from one of the SportsPress CSV importers. When importing events, be sure to use the date format yyyy/mm/dd.
== Changelog ==
== Changelog ===
= 0.9.2 =
* Fix - Duplicate editor fields in team edit screen.
= 0.9.1 =
* Tweak - Add text domain to configure descriptions.

View File

@@ -3,7 +3,7 @@
* Plugin Name: SportsPress
* Plugin URI: http://wordpress.org/plugins/sportspress
* Description: Manage your club and its players, staff, events, league tables, and player lists.
* Version: 0.9.1
* Version: 0.9.2
* Author: ThemeBoy
* Author URI: http://themeboy.com
* Requires at least: 3.8
@@ -26,14 +26,14 @@ if ( ! class_exists( 'SportsPress' ) ) :
* Main SportsPress Class
*
* @class SportsPress
* @version 0.9.1
* @version 0.9.2
*/
final class SportsPress {
/**
* @var string
*/
public $version = '0.9.1';
public $version = '0.9.2';
/**
* @var SporsPress The single instance of the class