Remove sample team abbreviation
This commit is contained in:
@@ -113,17 +113,14 @@ class SP_Admin_Sample_Data {
|
|||||||
$teams = array(
|
$teams = array(
|
||||||
array(
|
array(
|
||||||
'name' => 'Bluebirds',
|
'name' => 'Bluebirds',
|
||||||
'abbreviation' => 'BENT',
|
|
||||||
'url' => 'http://tboy.co/bluebirds',
|
'url' => 'http://tboy.co/bluebirds',
|
||||||
),
|
),
|
||||||
array(
|
array(
|
||||||
'name' => 'Eagles',
|
'name' => 'Eagles',
|
||||||
'abbreviation' => 'ESS',
|
|
||||||
'url' => 'http://tboy.co/eagles',
|
'url' => 'http://tboy.co/eagles',
|
||||||
),
|
),
|
||||||
array(
|
array(
|
||||||
'name' => 'Kangaroos',
|
'name' => 'Kangaroos',
|
||||||
'abbreviation' => 'KENS',
|
|
||||||
'url' => 'http://tboy.co/kangaroos',
|
'url' => 'http://tboy.co/kangaroos',
|
||||||
),
|
),
|
||||||
);
|
);
|
||||||
@@ -187,7 +184,6 @@ class SP_Admin_Sample_Data {
|
|||||||
update_post_meta( $id, '_sp_sample', 1 );
|
update_post_meta( $id, '_sp_sample', 1 );
|
||||||
|
|
||||||
// Update meta
|
// Update meta
|
||||||
update_post_meta( $id, 'sp_abbreviation', $team['abbreviation'] );
|
|
||||||
update_post_meta( $id, 'sp_url', $team['url'] );
|
update_post_meta( $id, 'sp_url', $team['url'] );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user