Changeset 44643
- Timestamp:
- 01/18/2019 01:02:11 AM (6 years ago)
- Location:
- trunk/src/wp-admin/includes
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/template.php
r44280 r44643 871 871 * @param int|WP_Post $post Post ID or WP_Post object. 872 872 * 873 * @return null|false Boolean False if page has no children, otherwise print out html elements 873 * @return null|false Boolean False if page has no children, otherwise print out html elements. 874 874 */ 875 875 function parent_dropdown( $default = 0, $parent = 0, $level = 0, $post = null ) { … … 1371 1371 1372 1372 /** 1373 * Meta Box Accordion Template Function 1373 * Meta Box Accordion Template Function. 1374 1374 * 1375 1375 * Largely made up of abstracted code from do_meta_boxes(), this … … 1451 1451 * Part of the Settings API. Use this to define new settings sections for an admin page. 1452 1452 * Show settings sections in your admin page callback function with do_settings_sections(). 1453 * Add settings fields to your section with add_settings_field() 1453 * Add settings fields to your section with add_settings_field(). 1454 1454 * 1455 1455 * The $callback argument should be the name of a function that echoes out any … … 1459 1459 * @since 2.7.0 1460 1460 * 1461 * @global $wp_settings_sections Storage array of all settings sections added to admin pages 1461 * @global $wp_settings_sections Storage array of all settings sections added to admin pages. 1462 1462 * 1463 1463 * @param string $id Slug-name to identify the section. Used in the 'id' attribute of tags. … … 1505 1505 1506 1506 /** 1507 * Add a new field to a section of a settings page 1507 * Add a new field to a section of a settings page. 1508 1508 * 1509 1509 * Part of the Settings API. Use this to define a settings field that will show … … 1518 1518 * @since 4.2.0 The `$class` argument was added. 1519 1519 * 1520 * @global $wp_settings_fields Storage array of settings fields and info about their pages/sections 1520 * @global $wp_settings_fields Storage array of settings fields and info about their pages/sections. 1521 1521 * 1522 1522 * @param string $id Slug-name to identify the field. Used in the 'id' attribute of tags. … … 1583 1583 * add_settings_section() and add_settings_field() 1584 1584 * 1585 * @global $wp_settings_sections Storage array of all settings sections added to admin pages 1586 * @global $wp_settings_fields Storage array of settings fields and info about their pages/sections 1585 * @global $wp_settings_sections Storage array of all settings sections added to admin pages. 1586 * @global $wp_settings_fields Storage array of settings fields and info about their pages/sections. 1587 1587 * @since 2.7.0 1588 1588 * 1589 * @param string $page The slug name of the page whose settings sections you want to output 1589 * @param string $page The slug name of the page whose settings sections you want to output. 1590 1590 */ 1591 1591 function do_settings_sections( $page ) { … … 1615 1615 1616 1616 /** 1617 * Print out the settings fields for a particular settings section 1617 * Print out the settings fields for a particular settings section. 1618 1618 * 1619 1619 * Part of the Settings API. Use this in a settings page to output … … 1621 1621 * rather than directly. 1622 1622 * 1623 * @global $wp_settings_fields Storage array of settings fields and their pages/sections 1623 * @global $wp_settings_fields Storage array of settings fields and their pages/sections. 1624 1624 * 1625 1625 * @since 2.7.0 … … 1658 1658 1659 1659 /** 1660 * Register a settings error to be displayed to the user 1660 * Register a settings error to be displayed to the user. 1661 1661 * 1662 1662 * Part of the Settings API. Use this to show messages to users about settings validation … … 1674 1674 * @global array $wp_settings_errors Storage array of errors registered during this pageload 1675 1675 * 1676 * @param string $setting Slug title of the setting to which this error applies 1676 * @param string $setting Slug title of the setting to which this error applies. 1677 1677 * @param string $code Slug-name to identify the error. Used as part of 'id' attribute in HTML output. 1678 1678 * @param string $message The formatted message text to display to the user (will be shown inside styled … … 1693 1693 1694 1694 /** 1695 * Fetch settings errors registered by add_settings_error() 1695 * Fetch settings errors registered by add_settings_error(). 1696 1696 * 1697 1697 * Checks the $wp_settings_errors array for any errors declared during the current … … 1713 1713 * @param string $setting Optional slug title of a specific setting whose errors you want. 1714 1714 * @param boolean $sanitize Whether to re-sanitize the setting value before returning errors. 1715 * @return array Array of settings errors 1715 * @return array Array of settings errors. 1716 1716 */ 1717 1717 function get_settings_errors( $setting = '', $sanitize = false ) { … … 2240 2240 * used as the button's id. 2241 2241 * @param bool $wrap True if the output button should be wrapped in a paragraph tag, 2242 * false otherwise. Defaults to true 2242 * false otherwise. Defaults to true. 2243 2243 * @param array|string $other_attributes Other attributes that should be output with the button, mapping 2244 2244 * attributes to their values, such as setting tabindex to 1, etc. -
trunk/src/wp-admin/includes/theme-install.php
r43571 r44643 52 52 53 53 /** 54 * Retrieve list of WordPress theme features (aka theme tags) 54 * Retrieve list of WordPress theme features (aka theme tags). 55 55 * 56 56 * @since 2.8.0 -
trunk/src/wp-admin/includes/theme.php
r44524 r44643 244 244 245 245 /** 246 * Retrieve list of WordPress theme features (aka theme tags) 246 * Retrieve list of WordPress theme features (aka theme tags). 247 247 * 248 248 * @since 3.1.0 -
trunk/src/wp-admin/includes/user.php
r44628 r44643 26 26 * 27 27 * @param int $user_id Optional. User ID. 28 * @return int|WP_Error user id of the updated user 28 * @return int|WP_Error user id of the updated user. 29 29 */ 30 30 function edit_user( $user_id = 0 ) { … … 548 548 * @since 2.7.0 549 549 * 550 * @param object $user User data object 550 * @param object $user User data object. 551 551 */ 552 552 function use_ssl_preference( $user ) {
Note: See TracChangeset
for help on using the changeset viewer.