WordPress.org

Make WordPress Core

Ticket #34360: 34360.diff

File 34360.diff, 2.8 KB (added by atomicjack, 3 years ago)

Fixed comment inconsistencies on wp-admin functions.

  • wp-admin/includes/plugin.php

    diff --git a/wp-admin/includes/plugin.php b/wp-admin/includes/plugin.php
    index 233d990..8219275 100644
    a b function add_management_page( $page_title, $menu_title, $capability, $menu_slug, 
    12101210}
    12111211
    12121212/**
    1213  * Add sub menu page to the options main menu.
     1213 * Add sub menu page to the Settings main menu.
    12141214 *
    12151215 * This function takes a capability which will be used to determine whether
    12161216 * or not a page is included in the menu.
    function add_options_page( $page_title, $menu_title, $capability, $menu_slug, $f 
    12311231}
    12321232
    12331233/**
    1234  * Add sub menu page to the themes main menu.
     1234 * Add sub menu page to the Appearance main menu.
    12351235 *
    12361236 * This function takes a capability which will be used to determine whether
    12371237 * or not a page is included in the menu.
    function add_theme_page( $page_title, $menu_title, $capability, $menu_slug, $fun 
    12521252}
    12531253
    12541254/**
    1255  * Add sub menu page to the plugins main menu.
     1255 * Add sub menu page to the Plugins main menu.
    12561256 *
    12571257 * This function takes a capability which will be used to determine whether
    12581258 * or not a page is included in the menu.
    function add_dashboard_page( $page_title, $menu_title, $capability, $menu_slug, 
    13181318}
    13191319
    13201320/**
    1321  * Add sub menu page to the posts main menu.
     1321 * Add sub menu page to the Posts main menu.
    13221322 *
    13231323 * This function takes a capability which will be used to determine whether
    13241324 * or not a page is included in the menu.
    function add_posts_page( $page_title, $menu_title, $capability, $menu_slug, $fun 
    13391339}
    13401340
    13411341/**
    1342  * Add sub menu page to the media main menu.
     1342 * Add sub menu page to the Media main menu.
    13431343 *
    13441344 * This function takes a capability which will be used to determine whether
    13451345 * or not a page is included in the menu.
    function add_media_page( $page_title, $menu_title, $capability, $menu_slug, $fun 
    13601360}
    13611361
    13621362/**
    1363  * Add sub menu page to the links main menu.
     1363 * Add sub menu page to the Links main menu.
    13641364 *
    13651365 * This function takes a capability which will be used to determine whether
    13661366 * or not a page is included in the menu.
    function add_links_page( $page_title, $menu_title, $capability, $menu_slug, $fun 
    13811381}
    13821382
    13831383/**
    1384  * Add sub menu page to the pages main menu.
     1384 * Add sub menu page to the Pages main menu.
    13851385 *
    13861386 * This function takes a capability which will be used to determine whether
    13871387 * or not a page is included in the menu.
    function add_pages_page( $page_title, $menu_title, $capability, $menu_slug, $fun 
    14021402}
    14031403
    14041404/**
    1405  * Add sub menu page to the comments main menu.
     1405 * Add sub menu page to the Comments main menu.
    14061406 *
    14071407 * This function takes a capability which will be used to determine whether
    14081408 * or not a page is included in the menu.