Changeset 51779 for trunk/src/wp-includes/class-walker-comment.php
- Timestamp:
- 09/09/2021 12:38:36 PM (4 years ago)
- File:
-
- 1 edited
-
trunk/src/wp-includes/class-walker-comment.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/class-walker-comment.php
r51739 r51779 158 158 * 159 159 * @since 2.7.0 160 * @since 5.9.0 Renamed `$comment` to `$data_object` to match parent class for PHP 8 named parameter support. 160 * @since 5.9.0 Renamed `$comment` to `$data_object` and `$id` to `$current_object_id` 161 * to match parent class for PHP 8 named parameter support. 161 162 * 162 163 * @see Walker::start_el() … … 165 166 * @global WP_Comment $comment Global comment object. 166 167 * 167 * @param string $output Used to append additional content. Passed by reference.168 * @param WP_Comment $data_object Comment data object.169 * @param int $depth Optional. Depth of the current comment in reference to parents. Default 0.170 * @param array $args Optional. An array of arguments. Default empty array.171 * @param int $ id Optional. ID of the current comment. Default 0 (unused).172 */ 173 public function start_el( &$output, $data_object, $depth = 0, $args = array(), $ id = 0 ) {168 * @param string $output Used to append additional content. Passed by reference. 169 * @param WP_Comment $data_object Comment data object. 170 * @param int $depth Optional. Depth of the current comment in reference to parents. Default 0. 171 * @param array $args Optional. An array of arguments. Default empty array. 172 * @param int $current_object_id Optional. ID of the current comment. Default 0. 173 */ 174 public function start_el( &$output, $data_object, $depth = 0, $args = array(), $current_object_id = 0 ) { 174 175 // Restores the more descriptive, specific name for use within this method. 175 176 $comment = $data_object;
Note: See TracChangeset
for help on using the changeset viewer.