Changeset 32654 for trunk/src/wp-admin/includes/template.php
- Timestamp:
- 05/29/2015 08:16:22 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/template.php
r32653 r32654 439 439 * @global WP_List_Table $wp_list_table 440 440 * 441 * @param int $position442 * @param bool $checkbox441 * @param int $position 442 * @param bool $checkbox 443 443 * @param string $mode 444 * @param bool $table_row444 * @param bool $table_row 445 445 */ 446 446 function wp_comment_reply( $position = 1, $checkbox = false, $mode = 'single', $table_row = true ) { … … 1039 1039 * 1040 1040 * @staticvar bool $already_sorted 1041 * @param string|WP_Screen $screen Screen identifier1042 * @param string $context box context1043 * @param mixed $objectgets passed to the box callback function as first parameter1041 * @param string|WP_Screen $screen Screen identifier 1042 * @param string $context box context 1043 * @param mixed $object gets passed to the box callback function as first parameter 1044 1044 * @return int number of meta_boxes 1045 1045 */ … … 1108 1108 * @global array $wp_meta_boxes 1109 1109 * 1110 * @param string $idString for use in the 'id' attribute of tags.1111 * @param string|object $screen The screen on which to show the box (post, page, link).1112 * @param string $context The context within the page where the boxes should show ('normal', 'advanced').1110 * @param string $id String for use in the 'id' attribute of tags. 1111 * @param string|object $screen The screen on which to show the box (post, page, link). 1112 * @param string $context The context within the page where the boxes should show ('normal', 'advanced'). 1113 1113 */ 1114 1114 function remove_meta_box($id, $screen, $context) { … … 1144 1144 * @uses global $wp_meta_boxes Used to retrieve registered meta boxes. 1145 1145 * 1146 * @param string|object $screen The screen identifier.1147 * @param string $context The meta box context.1148 * @param mixed $objectgets passed to the section callback function as first parameter.1146 * @param string|object $screen The screen identifier. 1147 * @param string $context The meta box context. 1148 * @param mixed $object gets passed to the section callback function as first parameter. 1149 1149 * @return int number of meta boxes as accordion sections. 1150 1150 */ … … 1222 1222 * @global $wp_settings_sections Storage array of all settings sections added to admin pages 1223 1223 * 1224 * @param string $id Slug-name to identify the section. Used in the 'id' attribute of tags.1225 * @param string $title Formatted title of the section. Shown as the heading for the section.1224 * @param string $id Slug-name to identify the section. Used in the 'id' attribute of tags. 1225 * @param string $title Formatted title of the section. Shown as the heading for the section. 1226 1226 * @param string $callback Function that echos out any content at the top of the section (between heading and fields). 1227 * @param string $page The slug-name of the settings page on which to show the section. Built-in pages include 'general', 'reading', 'writing', 'discussion', 'media', etc. Create your own using add_options_page();1227 * @param string $page The slug-name of the settings page on which to show the section. Built-in pages include 'general', 'reading', 'writing', 'discussion', 'media', etc. Create your own using add_options_page(); 1228 1228 */ 1229 1229 function add_settings_section($id, $title, $callback, $page) { … … 1701 1701 } 1702 1702 1703 /** 1704 * 1705 * @param WP_Post $post 1706 */ 1703 1707 function _post_states($post) { 1704 1708 $post_states = array(); … … 1751 1755 } 1752 1756 1757 /** 1758 * 1759 * @param WP_Post $post 1760 */ 1753 1761 function _media_states( $post ) { 1754 1762 $media_states = array();
Note: See TracChangeset
for help on using the changeset viewer.