Changeset 15924 for trunk/wp-admin/includes/list-table.php
- Timestamp:
- 10/23/2010 11:22:00 AM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/includes/list-table.php
r15904 r15924 274 274 * 275 275 * @param array $actions The list of actions 276 * @param bool $always_visible Wether the actions should be always visible 276 277 * @return string 277 278 */ 278 function row_actions( $actions ) {279 function row_actions( $actions, $always_visible = false ) { 279 280 $action_count = count( $actions ); 280 281 $i = 0; … … 283 284 return ''; 284 285 285 $out = '<div class=" row-actions">';286 $out = '<div class="' . ( $always_visible ? 'row-actions-visible' : 'row-actions' ) . '">'; 286 287 foreach ( $actions as $action => $link ) { 287 288 ++$i;
Note: See TracChangeset
for help on using the changeset viewer.