mirror of
https://github.com/moodle/moodle.git
synced 2025-04-13 04:22:07 +02:00
MDL-61378 forum: Upgrade notes
Tell developers to correctly nest calls to forum_print_post
This commit is contained in:
parent
1bf3a76a59
commit
2015327b28
@ -3191,6 +3191,10 @@ function forum_print_post_end($post, $return = false) {
|
||||
|
||||
/**
|
||||
* Print a forum post
|
||||
* This function should always be surrounded with calls to forum_print_post_start
|
||||
* and forum_print_post_end to create the surrounding container for the post.
|
||||
* Replies can be nested before forum_print_post_end and should reflect the structure of
|
||||
* thread.
|
||||
*
|
||||
* @global object
|
||||
* @global object
|
||||
|
@ -1,6 +1,9 @@
|
||||
This files describes API changes in /mod/forum/*,
|
||||
information provided here is intended especially for developers.
|
||||
|
||||
=== 3.6 ===
|
||||
* forum_print_post should be surrounded with calls to forum_print_post_start and forum_print_post_end to create the proper HTML structure for the post.
|
||||
|
||||
=== 3.4 ===
|
||||
* External function get_forum_discussion_posts now returns an additional field "ratinginfo" containing rating information.
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user