Skip to content

Commit

Permalink
API Deprecate API that's changing in CMS 6 (#799)
Browse files Browse the repository at this point in the history
  • Loading branch information
GuySartorelli authored Dec 10, 2024
1 parent 16beb8c commit dbd9d79
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/Model/Blog.php
Original file line number Diff line number Diff line change
Expand Up @@ -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';

/**
Expand Down
1 change: 1 addition & 0 deletions src/Model/BlogPost.php
Original file line number Diff line number Diff line change
Expand Up @@ -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';

Expand Down

0 comments on commit dbd9d79

Please sign in to comment.