Make WordPress Core

Ticket #19249: patch

File patch, 1.9 KB (added by Blackskyliner, 13 years ago)

SVN diff patch

Line 
1Index: wp-includes/class-wp-walker.php
2===================================================================
3--- wp-includes/class-wp-walker.php     (Revision 19296)
4+++ wp-includes/class-wp-walker.php     (Arbeitskopie)
5@@ -52,7 +52,7 @@
6         *
7         * @param string $output Passed by reference. Used to append additional content.
8         */
9-       function start_lvl(&$output) {}
10+       function start_lvl(&$output, $depth, $args) {}
11
12        /**
13         * Start the element output.
14@@ -80,7 +80,7 @@
15         *
16         * @param string $output Passed by reference. Used to append additional content.
17         */
18-       function start_el(&$output)  {}
19+       function start_el(&$output, $category,$depth, $args)  {}
20
21         * Ends the element output, if needed.
22@@ -93,7 +93,7 @@
23         *
24         * @param string $output Passed by reference. Used to append additional content.
25         */
26-       function end_el(&$output)    {}
27+       function end_el(&$output, $category,$depth, $args)    {}
28
29        /**
30         * Traverse elements to create list from elements.
31@@ -396,4 +396,4 @@
32        }
33 }
34
35Index: wp-admin/includes/class-wp-list-table.php
36===================================================================
37--- wp-admin/includes/class-wp-list-table.php   (Revision 19296)
38+++ wp-admin/includes/class-wp-list-table.php   (Arbeitskopie)
39@@ -273,7 +273,7 @@
40         * @since 3.1.0
41         * @access public
42         */
43-       function bulk_actions() {
44+       function bulk_actions($which) {
45                $screen = get_current_screen();
46
47                if ( is_null( $this->_actions ) ) {
48@@ -814,7 +814,7 @@
49         *
50         * @param object $item The current item
51         */
52-       function single_row( $item ) {
53+       function single_row( $item, $data ) {
54                static $row_class = '';
55                $row_class = ( $row_class == '' ? ' class="alternate"' : '' );
56
57
58
59