Make WordPress Core


Ignore:
Timestamp:
10/07/2010 10:58:45 PM (14 years ago)
Author:
scribu
Message:

Revert part of [15753]. See [12914]. See #14666

File:
1 edited

Legend:

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

    r15753 r15754  
    853853 * Add a top level menu page in the 'objects' section
    854854 *
     855 * This function takes a capability which will be used to determine whether
     856 * or not a page is included in the menu.
     857 *
     858 * The function which is hooked in to handle the output of the page must check
     859 * that the user has the required capability as well.
     860 *
    855861 * @param string $page_title The text to be displayed in the title tags of the page when the menu is selected
    856862 * @param string $menu_title The text to be used for the menu
     
    871877 * Add a top level menu page in the 'utility' section
    872878 *
     879 * This function takes a capability which will be used to determine whether
     880 * or not a page is included in the menu.
     881 *
     882 * The function which is hooked in to handle the output of the page must check
     883 * that the user has the required capability as well.
     884 *
    873885 * @param string $page_title The text to be displayed in the title tags of the page when the menu is selected
    874886 * @param string $menu_title The text to be used for the menu
     
    888900/**
    889901 * Add a sub menu page
     902 *
     903 * This function takes a capability which will be used to determine whether
     904 * or not a page is included in the menu.
     905 *
     906 * The function which is hooked in to handle the output of the page must check
     907 * that the user has the required capability as well.
    890908 *
    891909 * @param string $parent_slug The slug name for the parent menu (or the file name of a standard WordPress admin page)
     
    945963/**
    946964 * Add sub menu page to the tools main menu.
     965*
     966 * This function takes a capability which will be used to determine whether
     967 * or not a page is included in the menu.
     968 *
     969 * The function which is hooked in to handle the output of the page must check
     970 * that the user has the required capability as well.
    947971 *
    948972 * @param string $page_title The text to be displayed in the title tags of the page when the menu is selected
     
    958982/**
    959983 * Add sub menu page to the options main menu.
     984*
     985 * This function takes a capability which will be used to determine whether
     986 * or not a page is included in the menu.
     987 *
     988 * The function which is hooked in to handle the output of the page must check
     989 * that the user has the required capability as well.
    960990 *
    961991 * @param string $page_title The text to be displayed in the title tags of the page when the menu is selected
     
    9711001/**
    9721002 * Add sub menu page to the themes main menu.
     1003*
     1004 * This function takes a capability which will be used to determine whether
     1005 * or not a page is included in the menu.
     1006 *
     1007 * The function which is hooked in to handle the output of the page must check
     1008 * that the user has the required capability as well.
    9731009 *
    9741010 * @param string $page_title The text to be displayed in the title tags of the page when the menu is selected
     
    9841020/**
    9851021 * Add sub menu page to the plugins main menu.
     1022*
     1023 * This function takes a capability which will be used to determine whether
     1024 * or not a page is included in the menu.
     1025 *
     1026 * The function which is hooked in to handle the output of the page must check
     1027 * that the user has the required capability as well.
    9861028 *
    9871029 * @param string $page_title The text to be displayed in the title tags of the page when the menu is selected
     
    9971039/**
    9981040 * Add sub menu page to the Users/Profile main menu.
     1041*
     1042 * This function takes a capability which will be used to determine whether
     1043 * or not a page is included in the menu.
     1044 *
     1045 * The function which is hooked in to handle the output of the page must check
     1046 * that the user has the required capability as well.
    9991047 *
    10001048 * @param string $page_title The text to be displayed in the title tags of the page when the menu is selected
     
    10131061/**
    10141062 * Add sub menu page to the Dashboard main menu.
     1063*
     1064 * This function takes a capability which will be used to determine whether
     1065 * or not a page is included in the menu.
     1066 *
     1067 * The function which is hooked in to handle the output of the page must check
     1068 * that the user has the required capability as well.
    10151069 *
    10161070 * @param string $page_title The text to be displayed in the title tags of the page when the menu is selected
     
    10261080/**
    10271081 * Add sub menu page to the posts main menu.
     1082*
     1083 * This function takes a capability which will be used to determine whether
     1084 * or not a page is included in the menu.
     1085 *
     1086 * The function which is hooked in to handle the output of the page must check
     1087 * that the user has the required capability as well.
    10281088 *
    10291089 * @param string $page_title The text to be displayed in the title tags of the page when the menu is selected
     
    10391099/**
    10401100 * Add sub menu page to the media main menu.
     1101*
     1102 * This function takes a capability which will be used to determine whether
     1103 * or not a page is included in the menu.
     1104 *
     1105 * The function which is hooked in to handle the output of the page must check
     1106 * that the user has the required capability as well.
    10411107 *
    10421108 * @param string $page_title The text to be displayed in the title tags of the page when the menu is selected
     
    10521118/**
    10531119 * Add sub menu page to the links main menu.
     1120*
     1121 * This function takes a capability which will be used to determine whether
     1122 * or not a page is included in the menu.
     1123 *
     1124 * The function which is hooked in to handle the output of the page must check
     1125 * that the user has the required capability as well.
    10541126 *
    10551127 * @param string $page_title The text to be displayed in the title tags of the page when the menu is selected
     
    10651137/**
    10661138 * Add sub menu page to the pages main menu.
     1139*
     1140 * This function takes a capability which will be used to determine whether
     1141 * or not a page is included in the menu.
     1142 *
     1143 * The function which is hooked in to handle the output of the page must check
     1144 * that the user has the required capability as well.
    10671145 *
    10681146 * @param string $page_title The text to be displayed in the title tags of the page when the menu is selected
     
    10781156/**
    10791157 * Add sub menu page to the comments main menu.
     1158*
     1159 * This function takes a capability which will be used to determine whether
     1160 * or not a page is included in the menu.
     1161 *
     1162 * The function which is hooked in to handle the output of the page must check
     1163 * that the user has the required capability as well.
    10801164 *
    10811165 * @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.