WordPress.org

Make WordPress Core

Changeset 46198


Ignore:
Timestamp:
09/20/2019 05:05:26 PM (2 months ago)
Author:
SergeyBiryukov
Message:

Docs: Add @since tag for the new $position argument added to add_submenu_page() and related functions in [46197].

See #39776.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/includes/plugin.php

    r46197 r46198  
    13211321 *
    13221322 * @since 1.5.0
     1323 * @since 5.3.0 Added the `$position` parameter.
    13231324 *
    13241325 * @global array $submenu
     
    13401341 * @param callable $function    The function to be called to output the content for this page.
    13411342 * @param int      $position    The position in the menu order this item should appear.
    1342  *
    13431343 * @return false|string The resulting page's hook_suffix, or false if the user does not have the capability required.
    13441344 */
     
    14321432 *
    14331433 * @since 1.5.0
     1434 * @since 5.3.0 Added the `$position` parameter.
    14341435 *
    14351436 * @param string   $page_title The text to be displayed in the title tags of the page when the menu is selected.
     
    14551456 *
    14561457 * @since 1.5.0
     1458 * @since 5.3.0 Added the `$position` parameter.
    14571459 *
    14581460 * @param string   $page_title The text to be displayed in the title tags of the page when the menu is selected.
     
    14781480 *
    14791481 * @since 2.0.0
     1482 * @since 5.3.0 Added the `$position` parameter.
    14801483 *
    14811484 * @param string   $page_title The text to be displayed in the title tags of the page when the menu is selected.
     
    15011504 *
    15021505 * @since 3.0.0
     1506 * @since 5.3.0 Added the `$position` parameter.
    15031507 *
    15041508 * @param string   $page_title The text to be displayed in the title tags of the page when the menu is selected.
     
    15241528 *
    15251529 * @since 2.1.3
     1530 * @since 5.3.0 Added the `$position` parameter.
    15261531 *
    15271532 * @param string   $page_title The text to be displayed in the title tags of the page when the menu is selected.
     
    15521557 *
    15531558 * @since 2.7.0
     1559 * @since 5.3.0 Added the `$position` parameter.
    15541560 *
    15551561 * @param string   $page_title The text to be displayed in the title tags of the page when the menu is selected.
     
    15751581 *
    15761582 * @since 2.7.0
     1583 * @since 5.3.0 Added the `$position` parameter.
    15771584 *
    15781585 * @param string   $page_title The text to be displayed in the title tags of the page when the menu is selected.
     
    15981605 *
    15991606 * @since 2.7.0
     1607 * @since 5.3.0 Added the `$position` parameter.
    16001608 *
    16011609 * @param string   $page_title The text to be displayed in the title tags of the page when the menu is selected.
     
    16211629 *
    16221630 * @since 2.7.0
     1631 * @since 5.3.0 Added the `$position` parameter.
    16231632 *
    16241633 * @param string   $page_title The text to be displayed in the title tags of the page when the menu is selected.
     
    16441653 *
    16451654 * @since 2.7.0
     1655 * @since 5.3.0 Added the `$position` parameter.
    16461656 *
    16471657 * @param string   $page_title The text to be displayed in the title tags of the page when the menu is selected.
     
    16671677 *
    16681678 * @since 2.7.0
     1679 * @since 5.3.0 Added the `$position` parameter.
    16691680 *
    16701681 * @param string   $page_title The text to be displayed in the title tags of the page when the menu is selected.
Note: See TracChangeset for help on using the changeset viewer.