Changeset 28514 for trunk/src/wp-includes/comment-template.php
- Timestamp:
- 05/19/2014 05:59:07 AM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/comment-template.php
r28431 r28514 1559 1559 * @var string 1560 1560 */ 1561 var$tree_type = 'comment';1561 public $tree_type = 'comment'; 1562 1562 1563 1563 /** … … 1569 1569 * @var array 1570 1570 */ 1571 var$db_fields = array ('parent' => 'comment_parent', 'id' => 'comment_ID');1571 public $db_fields = array ('parent' => 'comment_parent', 'id' => 'comment_ID'); 1572 1572 1573 1573 /** … … 1582 1582 * @param array $args Uses 'style' argument for type of HTML list. 1583 1583 */ 1584 function start_lvl( &$output, $depth = 0, $args = array() ) {1584 public function start_lvl( &$output, $depth = 0, $args = array() ) { 1585 1585 $GLOBALS['comment_depth'] = $depth + 1; 1586 1586 … … 1609 1609 * @param array $args Will only append content if style argument value is 'ol' or 'ul'. 1610 1610 */ 1611 function end_lvl( &$output, $depth = 0, $args = array() ) {1611 public function end_lvl( &$output, $depth = 0, $args = array() ) { 1612 1612 $GLOBALS['comment_depth'] = $depth + 1; 1613 1613 … … 1657 1657 * @return null Null on failure with no changes to parameters. 1658 1658 */ 1659 function display_element( $element, &$children_elements, $max_depth, $depth, $args, &$output ) {1659 public function display_element( $element, &$children_elements, $max_depth, $depth, $args, &$output ) { 1660 1660 1661 1661 if ( !$element ) … … 1691 1691 * @param array $args An array of arguments. 1692 1692 */ 1693 function start_el( &$output, $comment, $depth = 0, $args = array(), $id = 0 ) {1693 public function start_el( &$output, $comment, $depth = 0, $args = array(), $id = 0 ) { 1694 1694 $depth++; 1695 1695 $GLOBALS['comment_depth'] = $depth; … … 1731 1731 * @param array $args An array of arguments. 1732 1732 */ 1733 function end_el( &$output, $comment, $depth = 0, $args = array() ) {1733 public function end_el( &$output, $comment, $depth = 0, $args = array() ) { 1734 1734 if ( !empty( $args['end-callback'] ) ) { 1735 1735 ob_start();
Note: See TracChangeset
for help on using the changeset viewer.