Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

API Deprecate API that's changing in CMS 6 #799

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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.
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixing version number

*/
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
Loading