Make WordPress Core


Ignore:
Timestamp:
10/23/2015 12:01:11 PM (9 years ago)
Author:
SergeyBiryukov
Message:

Docs: Use consistent naming and capitalization of menu names in add_submenu_page() wrappers.

Props atomicjack, Mckilem.
Fixes #34360.

File:
1 edited

Legend:

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

    r35094 r35373  
    11971197
    11981198/**
    1199  * Add sub menu page to the tools main menu.
     1199 * Add sub menu page to the Tools main menu.
    12001200 *
    12011201 * This function takes a capability which will be used to determine whether
     
    12181218
    12191219/**
    1220  * Add sub menu page to the options main menu.
     1220 * Add sub menu page to the Settings main menu.
    12211221 *
    12221222 * This function takes a capability which will be used to determine whether
     
    12391239
    12401240/**
    1241  * Add sub menu page to the themes main menu.
     1241 * Add sub menu page to the Appearance main menu.
    12421242 *
    12431243 * This function takes a capability which will be used to determine whether
     
    12601260
    12611261/**
    1262  * Add sub menu page to the plugins main menu.
     1262 * Add sub menu page to the Plugins main menu.
    12631263 *
    12641264 * This function takes a capability which will be used to determine whether
     
    13261326
    13271327/**
    1328  * Add sub menu page to the posts main menu.
     1328 * Add sub menu page to the Posts main menu.
    13291329 *
    13301330 * This function takes a capability which will be used to determine whether
     
    13471347
    13481348/**
    1349  * Add sub menu page to the media main menu.
     1349 * Add sub menu page to the Media main menu.
    13501350 *
    13511351 * This function takes a capability which will be used to determine whether
     
    13681368
    13691369/**
    1370  * Add sub menu page to the links main menu.
     1370 * Add sub menu page to the Links main menu.
    13711371 *
    13721372 * This function takes a capability which will be used to determine whether
     
    13891389
    13901390/**
    1391  * Add sub menu page to the pages main menu.
     1391 * Add sub menu page to the Pages main menu.
    13921392 *
    13931393 * This function takes a capability which will be used to determine whether
     
    14101410
    14111411/**
    1412  * Add sub menu page to the comments main menu.
     1412 * Add sub menu page to the Comments main menu.
    14131413 *
    14141414 * This function takes a capability which will be used to determine whether
Note: See TracChangeset for help on using the changeset viewer.