Notice generated in get_category_link function with a category id that does not exist
|Reported by:||kapilchugh||Owned by:|
Today i was using get_category_link() function which gives category link corresponding to a category id.By mistake i took such category id that was not there in my categories list.
So I was getting one error
Notice: Trying to get property of non-object in C:\xampp\htdocs\wordpress\wp-includes\category-template.php on line 28