Changeset 46880
- Timestamp:
- 12/11/2019 10:57:44 AM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/dashboard.php
r46770 r46880 1472 1472 1473 1473 /** 1474 * Display the WordPress events and news feeds.1474 * Displays the WordPress events and news feeds. 1475 1475 * 1476 1476 * @since 3.8.0 … … 1490 1490 1491 1491 /** 1492 * Display file upload quota on dashboard.1492 * Displays file upload quota on dashboard. 1493 1493 * 1494 1494 * Runs on the {@see 'activity_box_end'} hook in wp_dashboard_right_now(). … … 1554 1554 } 1555 1555 1556 // Display Browser Nag Meta Box 1556 /** 1557 * Displays the browser update nag. 1558 * 1559 * @since 3.2.0 1560 */ 1557 1561 function wp_dashboard_browser_nag() { 1558 1562 $notice = ''; … … 1612 1616 1613 1617 /** 1618 * Adds an additional class to the browser nag if the current version is insecure. 1619 * 1614 1620 * @since 3.2.0 1615 1621 * 1616 * @param array $classes1617 * @return array1622 * @param string[] $classes Array of meta box classes. 1623 * @return string[] Modified array of meta box classes. 1618 1624 */ 1619 1625 function dashboard_browser_nag_class( $classes ) { … … 1628 1634 1629 1635 /** 1630 * Check if the user needs a browser update1636 * Checks if the user needs a browser update. 1631 1637 * 1632 1638 * @since 3.2.0 1633 1639 * 1634 * @return array|bool False on failure, array of browser data on success.1640 * @return array|bool Array of browser data on success, false on failure. 1635 1641 */ 1636 1642 function wp_check_browser_version() { … … 1732 1738 * @since 5.1.0 1733 1739 * 1734 * @param string[] $classes Array of meta box classes.1735 * @return string[] Modified array of meta box classes.1740 * @param string[] $classes Array of meta box classes. 1741 * @return string[] Modified array of meta box classes. 1736 1742 */ 1737 1743 function dashboard_php_nag_class( $classes ) { … … 1747 1753 /** 1748 1754 * Empty function usable by plugins to output empty dashboard widget (to be populated later by JS). 1755 * 1756 * @since 2.5.0 1749 1757 */ 1750 1758 function wp_dashboard_empty() {}
Note: See TracChangeset
for help on using the changeset viewer.