Changeset 11979
- Timestamp:
- 09/27/2009 06:54:17 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/upload.php
r11971 r11979 395 395 $actions['view'] = '<a href="' . get_permalink($post->ID) . '" title="' . esc_attr(sprintf(__('View “%s”'), $title)) . '" rel="permalink">' . __('View') . '</a>'; 396 396 if ( current_user_can('edit_post', $post->ID) ) 397 $actions['attach'] = '<a href="#the-list" onclick="findPosts.open(\'media[]\',\''.$post->ID.'\');return false;" >'.__('Attach').'</a>';397 $actions['attach'] = '<a href="#the-list" onclick="findPosts.open(\'media[]\',\''.$post->ID.'\');return false;" class="hide-if-no-js">'.__('Attach').'</a>'; 398 398 $actions = apply_filters( 'media_row_actions', $actions, $post ); 399 399 $action_count = count($actions);
Note: See TracChangeset
for help on using the changeset viewer.