Changeset 47059
- Timestamp:
- 01/11/2020 05:56:15 PM (5 years ago)
- Location:
- trunk/src/wp-admin/includes
- Files:
-
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/class-wp-comments-list-table.php
r46391 r47059 577 577 * @param string $column_name Current column name. 578 578 * @param string $primary Primary column name. 579 * @return string|void Comment row actions output. 579 * @return string Row actions output for comments. An empty string 580 * if the current column is not the primary column, 581 * or if the current user cannot edit the comment. 580 582 */ 581 583 protected function handle_row_actions( $comment, $column_name, $primary ) { … … 587 589 588 590 if ( ! $this->user_can ) { 589 return ;591 return ''; 590 592 } 591 593 -
trunk/src/wp-admin/includes/class-wp-links-list-table.php
r46316 r47059 315 315 * @param string $column_name Current column name. 316 316 * @param string $primary Primary column name. 317 * @return string Row action output for links. 317 * @return string Row actions output for links, or an empty string 318 * if the current column is not the primary column. 318 319 */ 319 320 protected function handle_row_actions( $link, $column_name, $primary ) { -
trunk/src/wp-admin/includes/class-wp-media-list-table.php
r46578 r47059 782 782 * @param string $column_name Current column name. 783 783 * @param string $primary Primary column name. 784 * @return string Row actions output for media attachments. 784 * @return string Row actions output for media attachments, or an empty string 785 * if the current column is not the primary column. 785 786 */ 786 787 protected function handle_row_actions( $post, $column_name, $primary ) { … … 790 791 791 792 $att_title = _draft_or_post_title(); 793 792 794 return $this->row_actions( $this->_get_row_actions( $post, $att_title ) ); 793 795 } -
trunk/src/wp-admin/includes/class-wp-ms-sites-list-table.php
r46441 r47059 667 667 * @param string $column_name Current column name. 668 668 * @param string $primary Primary column name. 669 * @return string Row actions output. 669 * @return string Row actions output for sites in Multisite, or an empty string 670 * if the current column is not the primary column. 670 671 */ 671 672 protected function handle_row_actions( $blog, $column_name, $primary ) { 672 673 if ( $primary !== $column_name ) { 673 return ;674 return ''; 674 675 } 675 676 … … 734 735 */ 735 736 $actions = apply_filters( 'manage_sites_action_links', array_filter( $actions ), $blog['blog_id'], $blogname ); 737 736 738 return $this->row_actions( $actions ); 737 739 } -
trunk/src/wp-admin/includes/class-wp-ms-users-list-table.php
r46596 r47059 489 489 * @param string $column_name Current column name. 490 490 * @param string $primary Primary column name. 491 * @return string Row actions output for users in Multisite. 491 * @return string Row actions output for users in Multisite, or an empty string 492 * if the current column is not the primary column. 492 493 */ 493 494 protected function handle_row_actions( $user, $column_name, $primary ) { … … 518 519 */ 519 520 $actions = apply_filters( 'ms_user_row_actions', $actions, $user ); 521 520 522 return $this->row_actions( $actions ); 521 523 } -
trunk/src/wp-admin/includes/class-wp-posts-list-table.php
r46596 r47059 1321 1321 * @param string $column_name Current column name. 1322 1322 * @param string $primary Primary column name. 1323 * @return string Row actions output for posts. 1323 * @return string Row actions output for posts, or an empty string 1324 * if the current column is not the primary column. 1324 1325 */ 1325 1326 protected function handle_row_actions( $post, $column_name, $primary ) { -
trunk/src/wp-admin/includes/class-wp-terms-list-table.php
r46685 r47059 447 447 * @param string $column_name Current column name. 448 448 * @param string $primary Primary column name. 449 * @return string Row actions output for terms. 449 * @return string Row actions output for terms, or an empty string 450 * if the current column is not the primary column. 450 451 */ 451 452 protected function handle_row_actions( $tag, $column_name, $primary ) {
Note: See TracChangeset
for help on using the changeset viewer.