From dd32e8788459f6e441bec26848498d712840c1aa Mon Sep 17 00:00:00 2001 From: Guy Sartorelli Date: Mon, 9 Dec 2024 12:49:45 +1300 Subject: [PATCH] API Deprecate API that's changing in CMS 6 --- src/Model/Blog.php | 5 ++++- src/Model/BlogPost.php | 1 + 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/src/Model/Blog.php b/src/Model/Blog.php index 27f16099..3df9906d 100644 --- a/src/Model/Blog.php +++ b/src/Model/Blog.php @@ -131,12 +131,15 @@ class Blog extends Page implements PermissionProvider /** * @var string - * @deprecated 5.4.0 use class_description instead. + * @deprecated 4.4.0 use class_description instead. */ private static $description = 'Adds a blog to your website.'; private static $class_description = 'Adds a blog to your website.'; + /** + * @deprecated 4.4.0 Will be renamed to cms_icon_class + */ private static $icon_class = 'font-icon-p-posts'; /** diff --git a/src/Model/BlogPost.php b/src/Model/BlogPost.php index a14824b0..14b0d5e6 100644 --- a/src/Model/BlogPost.php +++ b/src/Model/BlogPost.php @@ -58,6 +58,7 @@ class BlogPost extends Page /** * @var string + * @deprecated 4.4.0 Will be renamed to cms_icon_class */ private static $icon_class = 'font-icon-p-post';