Index: trunk/phase3/includes/api/ApiQueryBlocks.php |
— | — | @@ -112,15 +112,13 @@ |
113 | 113 | $block = array(); |
114 | 114 | if($fld_id) |
115 | 115 | $block['id'] = $row->ipb_id; |
116 | | - if($fld_user) |
| 116 | + if($fld_user && !$row->ipb_auto) |
117 | 117 | { |
118 | 118 | $block['user'] = $row->ipb_address; |
119 | | - $block['userid'] = $row->ipb_user; |
120 | 119 | } |
121 | 120 | if($fld_by) |
122 | 121 | { |
123 | 122 | $block['by'] = $row->user_name; |
124 | | - $block['byuserid'] = $row->ipb_by; |
125 | 123 | } |
126 | 124 | if($fld_timestamp) |
127 | 125 | $block['timestamp'] = wfTimestamp(TS_ISO_8601, $row->ipb_timestamp); |
Index: trunk/phase3/RELEASE-NOTES |
— | — | @@ -360,6 +360,7 @@ |
361 | 361 | * Standardized limits. Revisions and Deletedrevisions formerly using 200 / 10000, |
362 | 362 | now 500 / 5000, in line with other modules. |
363 | 363 | * Added list=allcategories module |
| 364 | +* (bug 12321) API list=blocks reveals private data |
364 | 365 | |
365 | 366 | === Languages updated in 1.12 === |
366 | 367 | |