File tree Expand file tree Collapse file tree 2 files changed +4
-7
lines changed Expand file tree Collapse file tree 2 files changed +4
-7
lines changed Original file line number Diff line number Diff line change 11name : Popular Articles
22slug : popular-articles
33type : plugin
4- version : 1.0.0
4+ version : 1.0.1
55description : Display a list of the most popular articles from a blog
66icon : star
77author :
@@ -14,8 +14,8 @@ docs: https://github.com/tanguy-dechiron/grav-plugin-popular-articles/blob/devel
1414license : MIT
1515
1616dependencies :
17- - { name: grav, version: '>=1.6 .0' }
18- - { name: admin, version: '>=1.0 .0' }
17+ - { name: grav, version: '>=1.7 .0' }
18+ - { name: admin, version: '>=1.10 .0' }
1919
2020form :
2121 validation : loose
Original file line number Diff line number Diff line change @@ -24,10 +24,7 @@ class PopularArticlesPlugin extends Plugin
2424 public static function getSubscribedEvents (): array
2525 {
2626 return [
27- 'onPluginsInitialized ' => [
28- ['autoload ' , 100000 ], // TODO: Remove when plugin requires Grav >=1.7
29- ['onPluginsInitialized ' , 0 ]
30- ]
27+ 'onPluginsInitialized ' => ['onPluginsInitialized ' , 0 ],
3128 ];
3229 }
3330
You can’t perform that action at this time.
0 commit comments