Make WordPress Core

Changeset 30227


Ignore:
Timestamp:
11/04/2014 04:04:37 PM (10 years ago)
Author:
DrewAPicture
Message:

Fix a couple of typos in the hook documentation for the $option filter in wp-admin/includes/class-wp-list-table.php.

Props bobbingwide.
Fixes #30229.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/includes/class-wp-list-table.php

    r30225 r30227  
    612612         * Filter the number of items to be displayed on each page of the list table.
    613613         *
    614          * The dynamic hook name, $option, refers to the per page option depending
    615          * on the type of list table in use. Possible values may include:
    616          * 'edit_comments_per_page', 'sites_network_per_page', 'site_themes_network_per_page',
    617          * 'themes_netework_per_page', 'users_network_per_page', 'edit_{$post_type}', etc.
     614         * The dynamic hook name, $option, refers to the `per_page` option depending
     615         * on the type of list table in use. Possible values include: 'edit_comments_per_page',
     616         * 'sites_network_per_page', 'site_themes_network_per_page', 'themes_network_per_page',
     617         * 'users_network_per_page', 'edit_post_per_page', 'edit_page_per_page',
     618         * 'edit_{$post_type}_per_page', etc.
    618619         *
    619620         * @since 2.9.0
Note: See TracChangeset for help on using the changeset viewer.