Changeset 30203
- Timestamp:
- 11/03/2014 07:08:16 AM (10 years ago)
- Location:
- trunk/src/wp-admin/includes
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/bookmark.php
r28475 r30203 51 51 * @since 2.0.0 52 52 * 53 * @return objectDefault link53 * @return stdClass Default link 54 54 */ 55 55 function get_default_link_to_edit() { -
trunk/src/wp-admin/includes/dashboard.php
r29787 r30203 1112 1112 * @since 3.0.0 1113 1113 * 1114 * @return bool True if not multisite, user can't upload files, or the space check option is disabled.1114 * @return bool|null True if not multisite, user can't upload files, or the space check option is disabled. 1115 1115 */ 1116 1116 function wp_dashboard_quota() { -
trunk/src/wp-admin/includes/file.php
r30105 r30203 164 164 * @param string $file file the users is attempting to edit 165 165 * @param array $allowed_files Array of allowed files to edit, $file must match an entry exactly 166 * @return null166 * @return string|null 167 167 */ 168 168 function validate_file_to_edit( $file, $allowed_files = '' ) { … … 810 810 * @param array $args (optional) Connection args, These are passed directly to the WP_Filesystem_*() classes. 811 811 * @param string $context (optional) Context for get_filesystem_method(), See function declaration for more information. 812 * @return boolean false on failure, true on success812 * @return null|boolean false on failure, true on success 813 813 */ 814 814 function WP_Filesystem( $args = false, $context = false ) { -
trunk/src/wp-admin/includes/image-edit.php
r29259 r30203 7 7 */ 8 8 9 /** 10 * @param int $post_id 11 * @param bool|object $msg 12 */ 9 13 function wp_image_editor($post_id, $msg = false) { 10 14 $nonce = wp_create_nonce("image_editor-$post_id"); … … 555 559 } 556 560 561 /** 562 * @param int $post_id 563 * @return stdClass 564 */ 557 565 function wp_restore_image($post_id) { 558 566 $meta = wp_get_attachment_metadata($post_id); -
trunk/src/wp-admin/includes/media.php
r30202 r30203 571 571 add_action( 'media_buttons', 'media_buttons' ); 572 572 573 /** 574 * 575 * @global int $post_ID 576 * @param string $type 577 * @param int $post_id 578 * @param string $tab 579 * @return string 580 */ 573 581 function get_upload_iframe_src( $type = null, $post_id = null, $tab = null ) { 574 582 global $post_ID; … … 718 726 * @since 2.5.0 719 727 * 720 * @return mixed728 * @return null|string 721 729 */ 722 730 function wp_media_upload_handler() { … … 1092 1100 * @since 2.5.0 1093 1101 * 1094 * @param WP_Post $post The WP_Post attachment object.1095 * @param array 1102 * @param array $post The WP_Post attachment object converted to an array. 1103 * @param array $attachment An array of attachment metadata. 1096 1104 * @return array Filtered attachment post object. 1097 1105 */ … … 1118 1126 * @param integer $attachment_id 1119 1127 * @param array $attachment 1120 * @return array1128 * @return string 1121 1129 */ 1122 1130 function image_media_send_to_editor($html, $attachment_id, $attachment) { … … 1142 1150 * @since 2.5.0 1143 1151 * 1144 * @param object $post1152 * @param WP_Post $post 1145 1153 * @param array $errors 1146 1154 * @return array
Note: See TracChangeset
for help on using the changeset viewer.