Skip to content

Commit

Permalink
Docs: Fix typo in duplicate hook references for `views_{$this->screen…
Browse files Browse the repository at this point in the history
…->id}`.

Follow-up to [29218], [29625].

Props nithins53, NekoJonez, mukesh27.
Fixes #59102. See #58833.

git-svn-id: https://develop.svn.wordpress.org/trunk@56397 602fd350-edb4-49c9-b593-d223f7449a82
  • Loading branch information
SergeyBiryukov committed Aug 15, 2023
1 parent f107073 commit f6dde69
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/wp-admin/includes/class-wp-media-list-table.php
Original file line number Diff line number Diff line change
Expand Up @@ -297,7 +297,7 @@ public function views() {
<?php
$this->extra_tablenav( 'bar' );

/** This filter is documented in wp-admin/inclues/class-wp-list-table.php */
/** This filter is documented in wp-admin/includes/class-wp-list-table.php */
$views = apply_filters( "views_{$this->screen->id}", array() );

// Back compat for pre-4.0 view links.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -329,7 +329,7 @@ protected function get_views() {
public function views() {
$views = $this->get_views();

/** This filter is documented in wp-admin/inclues/class-wp-list-table.php */
/** This filter is documented in wp-admin/includes/class-wp-list-table.php */
$views = apply_filters( "views_{$this->screen->id}", $views );

$this->screen->render_screen_reader_content( 'heading_views' );
Expand Down

0 comments on commit f6dde69

Please sign in to comment.