Ticket #32657: 32657.2.patch
File 32657.2.patch, 1.4 KB (added by , 10 years ago) |
---|
-
src/wp-admin/css/list-tables.css
317 317 margin-left: 70px; /* 60px image + margin */ 318 318 } 319 319 320 table.media .column-title .media-info p { 321 margin-bottom: 0.2em; 322 } 323 320 324 /* @todo: pick a consistent list table selector */ 321 325 .wp-list-table a { 322 326 -webkit-transition: none; -
src/wp-admin/includes/class-wp-media-list-table.php
627 627 * @since 4.3.0 628 628 * @access protected 629 629 * 630 * @param object $ link Linkbeing acted upon.630 * @param object $post Attachment being acted upon. 631 631 * @param string $column_name Current column name. 632 632 * @param string $primary Primary column name. 633 * @return string Row action output for links.633 * @return string Row actions output for media attachments. 634 634 */ 635 protected function handle_row_actions( $ link, $column_name, $primary ) {635 protected function handle_row_actions( $post, $column_name, $primary ) { 636 636 if ( $primary === $column_name ) { 637 $att_title = _draft_or_post_title(); 637 638 return $this->row_actions( $this->_get_row_actions( $post, $att_title ) ); 638 639 } 639 640 }