From 8ee0ee3c18dc24b5edb60a38705bd9be7ea3be26 Mon Sep 17 00:00:00 2001 From: Kamen Mladenov Date: Fri, 3 Jul 2020 12:18:23 +0300 Subject: Fixed the typos of the word 'Vehicle' in the cars cpt. (#58) --- wp-content/plugins/dx-cars/class.cpt.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'wp-content/plugins') diff --git a/wp-content/plugins/dx-cars/class.cpt.php b/wp-content/plugins/dx-cars/class.cpt.php index 0d0b4ab..378a082 100644 --- a/wp-content/plugins/dx-cars/class.cpt.php +++ b/wp-content/plugins/dx-cars/class.cpt.php @@ -8,16 +8,16 @@ class Vehicles { $arr = array( 'labels' => array( 'name' => __( 'Vehicles' ), - 'singular_name' => __( 'Vechicle' ) + 'singular_name' => __( 'Vehicle' ) ), 'public' => true, 'has_archive' => true, - 'rewrite' => array( 'slug' => 'vechicles' ), + 'rewrite' => array( 'slug' => 'vehicles' ), 'show_in_rest' => true, ); return $arr; } function cpt_create() { - register_post_type( 'vechicles', $this->labels() ); + register_post_type( 'vehicles', $this->labels() ); } } -- cgit v1.3.1-26-gb76a