Changeset 48943
- Timestamp:
- 09/05/2020 12:31:03 AM (5 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/class-wp-comments-list-table.php
r48941 r48943 397 397 ob_start(); 398 398 399 $this->comment_ status_dropdown( $comment_type );399 $this->comment_type_dropdown( $comment_type ); 400 400 401 401 /** … … 476 476 * 477 477 * @since 5.5.0 478 * @since 5.6.0 Renamed from `comment_status_dropdown()` to `comment_type_dropdown()`. 478 479 * 479 480 * @param string $comment_type The current comment type slug. 480 481 */ 481 protected function comment_ status_dropdown( $comment_type ) {482 protected function comment_type_dropdown( $comment_type ) { 482 483 /** 483 484 * Filters the comment types shown in the drop-down menu on the Comments list table. -
trunk/tests/phpunit/tests/admin/includesListTable.php
r48521 r48943 320 320 * @ticket 40188 321 321 */ 322 public function test_filter_comment_ status_dropdown_should_be_shown_if_there_are_comments() {322 public function test_filter_comment_type_dropdown_should_be_shown_if_there_are_comments() { 323 323 $post_id = self::factory()->post->create(); 324 324 $comment_id = self::factory()->comment->create(
Note: See TracChangeset
for help on using the changeset viewer.