File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -87,7 +87,7 @@ static function append_old_tags( $content ) {
87
87
* @param int $post_id The post ID that the content belongs to
88
88
* @return string The raw content, with tags appended
89
89
*/
90
- function append_old_tags_raw ( $ content , $ post_id ) {
90
+ static function append_old_tags_raw ( $ content , $ post_id ) {
91
91
$ content_tags = o2_Tags::find_tags ( $ content , true );
92
92
$ content_tags = array_map ( 'strtolower ' , $ content_tags );
93
93
$ content_tags = array_unique ( $ content_tags );
@@ -117,7 +117,7 @@ function append_old_tags_raw( $content, $post_id ) {
117
117
* @return string The fragment with any old tags appended to contentRaw
118
118
*/
119
119
function append_old_tags_to_fragment ( $ fragment ) {
120
- $ fragment ['contentRaw ' ] = $ this -> append_old_tags_raw ( $ fragment ['contentRaw ' ], $ fragment ['id ' ] );
120
+ $ fragment ['contentRaw ' ] = o2_Tags:: append_old_tags_raw ( $ fragment ['contentRaw ' ], $ fragment ['id ' ] );
121
121
return $ fragment ;
122
122
}
123
123
You can’t perform that action at this time.
0 commit comments