Changeset 51955
- Timestamp:
- 10/29/2021 11:11:32 PM (5 years ago)
- Location:
- trunk/src
- Files:
-
- 6 edited
-
wp-admin/includes/plugin.php (modified) (16 diffs)
-
wp-admin/includes/upgrade.php (modified) (1 diff)
-
wp-includes/cron.php (modified) (2 diffs)
-
wp-includes/formatting.php (modified) (1 diff)
-
wp-includes/theme.php (modified) (1 diff)
-
wp-login.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/plugin.php
r51266 r51955 1279 1279 1280 1280 /** 1281 * Add a top-level menu page.1281 * Adds a top-level menu page. 1282 1282 * 1283 1283 * This function takes a capability which will be used to determine whether … … 1351 1351 1352 1352 /** 1353 * Add a submenu page.1353 * Adds a submenu page. 1354 1354 * 1355 1355 * This function takes a capability which will be used to determine whether … … 1475 1475 1476 1476 /** 1477 * Add submenu page to the Tools main menu.1477 * Adds a submenu page to the Tools main menu. 1478 1478 * 1479 1479 * This function takes a capability which will be used to determine whether … … 1499 1499 1500 1500 /** 1501 * Add submenu page to the Settings main menu.1501 * Adds a submenu page to the Settings main menu. 1502 1502 * 1503 1503 * This function takes a capability which will be used to determine whether … … 1523 1523 1524 1524 /** 1525 * Add submenu page to the Appearance main menu.1525 * Adds a submenu page to the Appearance main menu. 1526 1526 * 1527 1527 * This function takes a capability which will be used to determine whether … … 1547 1547 1548 1548 /** 1549 * Add submenu page to the Plugins main menu.1549 * Adds a submenu page to the Plugins main menu. 1550 1550 * 1551 1551 * This function takes a capability which will be used to determine whether … … 1571 1571 1572 1572 /** 1573 * Add submenu page to the Users/Profile main menu.1573 * Adds a submenu page to the Users/Profile main menu. 1574 1574 * 1575 1575 * This function takes a capability which will be used to determine whether … … 1600 1600 1601 1601 /** 1602 * Add submenu page to the Dashboard main menu.1602 * Adds a submenu page to the Dashboard main menu. 1603 1603 * 1604 1604 * This function takes a capability which will be used to determine whether … … 1624 1624 1625 1625 /** 1626 * Add submenu page to the Posts main menu.1626 * Adds a submenu page to the Posts main menu. 1627 1627 * 1628 1628 * This function takes a capability which will be used to determine whether … … 1648 1648 1649 1649 /** 1650 * Add submenu page to the Media main menu.1650 * Adds a submenu page to the Media main menu. 1651 1651 * 1652 1652 * This function takes a capability which will be used to determine whether … … 1672 1672 1673 1673 /** 1674 * Add submenu page to the Links main menu.1674 * Adds a submenu page to the Links main menu. 1675 1675 * 1676 1676 * This function takes a capability which will be used to determine whether … … 1696 1696 1697 1697 /** 1698 * Add submenu page to the Pages main menu.1698 * Adds a submenu page to the Pages main menu. 1699 1699 * 1700 1700 * This function takes a capability which will be used to determine whether … … 1720 1720 1721 1721 /** 1722 * Add submenu page to the Comments main menu.1722 * Adds a submenu page to the Comments main menu. 1723 1723 * 1724 1724 * This function takes a capability which will be used to determine whether … … 1744 1744 1745 1745 /** 1746 * Remove a top-level admin menu. 1746 * Removes a top-level admin menu. 1747 * 1748 * Example usage: 1749 * 1750 * - `remove_menu_page( 'tools.php' )` 1751 * - `remove_menu_page( 'plugin_menu_slug' )` 1747 1752 * 1748 1753 * @since 3.1.0 … … 1767 1772 1768 1773 /** 1769 * Remove an admin submenu. 1774 * Removes an admin submenu. 1775 * 1776 * Example usage: 1777 * 1778 * - `remove_submenu_page( 'themes.php', 'nav-menus.php' )` 1779 * - `remove_submenu_page( 'tools.php', 'plugin_submenu_slug' )` 1780 * - `remove_submenu_page( 'plugin_menu_slug', 'plugin_submenu_slug' )` 1770 1781 * 1771 1782 * @since 3.1.0 … … 1795 1806 1796 1807 /** 1797 * Get the URL to access a particular menu page based on the slug it was registered with.1808 * Gets the URL to access a particular menu page based on the slug it was registered with. 1798 1809 * 1799 1810 * If the slug hasn't been registered properly, no URL will be returned. -
trunk/src/wp-admin/includes/upgrade.php
r51917 r51955 1879 1879 * @ignore 1880 1880 * @since 3.7.2 1881 * @since 3.8.01882 1881 * 1883 1882 * @global int $wp_current_db_version The old (current) database version. -
trunk/src/wp-includes/cron.php
r51916 r51955 1041 1041 * @since 5.4.0 The 'weekly' schedule was added. 1042 1042 * 1043 * @return array 1043 * @return array[] 1044 1044 */ 1045 1045 function wp_get_schedules() { … … 1068 1068 * @since 2.1.0 1069 1069 * 1070 * @param array $new_schedules An array of non-default cron schedules. Default empty.1070 * @param array[] $new_schedules An array of non-default cron schedule arrays. Default empty. 1071 1071 */ 1072 1072 return array_merge( apply_filters( 'cron_schedules', array() ), $schedules ); -
trunk/src/wp-includes/formatting.php
r51918 r51955 3540 3540 * Given a date in UTC or GMT timezone, returns that date in the timezone of the site. 3541 3541 * 3542 * Requires a nd returns adate in the Y-m-d H:i:s format.3543 * Return format can be overridden using the $formatparameter.3542 * Requires a date in the Y-m-d H:i:s format. 3543 * Default return format of 'Y-m-d H:i:s' can be overridden using the `$format` parameter. 3544 3544 * 3545 3545 * @since 1.2.0 -
trunk/src/wp-includes/theme.php
r51791 r51955 3074 3074 * Valid values are 'string', 'boolean', 'integer', 3075 3075 * 'number', 'array', and 'object'. Defaults to 'boolean'. 3076 * @type bool ean$variadic Does this feature utilize the variadic support3076 * @type bool $variadic Does this feature utilize the variadic support 3077 3077 * of add_theme_support(), or are all arguments specified 3078 3078 * as the second parameter. Must be used with the "array" type. -
trunk/src/wp-login.php
r51829 r51955 435 435 * Possible hook names include: 436 436 * 437 * - 'login_form_checkemail'438 * - 'login_form_confirm_admin_email'439 * - 'login_form_confirmaction'440 * - 'login_form_entered_recovery_mode'441 * - 'login_form_login'442 * - 'login_form_logout'443 * - 'login_form_lostpassword'444 * - 'login_form_postpass'445 * - 'login_form_register'446 * - 'login_form_resetpass'447 * - 'login_form_retrievepassword'448 * - 'login_form_rp'437 * - `login_form_checkemail` 438 * - `login_form_confirm_admin_email` 439 * - `login_form_confirmaction` 440 * - `login_form_entered_recovery_mode` 441 * - `login_form_login` 442 * - `login_form_logout` 443 * - `login_form_lostpassword` 444 * - `login_form_postpass` 445 * - `login_form_register` 446 * - `login_form_resetpass` 447 * - `login_form_retrievepassword` 448 * - `login_form_rp` 449 449 * 450 450 * @since 2.8.0
Note: See TracChangeset
for help on using the changeset viewer.