Changeset 9119
- Timestamp:
- 10/10/2008 06:21:16 PM (16 years ago)
- Location:
- trunk/wp-admin
- Files:
-
- 17 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/edit-form-advanced.php
r9103 r9119 56 56 57 57 // All meta boxes should be defined and added before the first do_meta_boxes() call (or potentially during the do_meta_boxes action). 58 59 /** 60 * Display post submit form fields. 61 * 62 * @since 2.7.0 63 * 64 * @param object $post 65 */ 58 66 function post_submit_meta_box($post) { 59 67 global $action; … … 187 195 add_meta_box('submitdiv', __('Publish'), 'post_submit_meta_box', 'post', 'side', 'core'); 188 196 197 /** 198 * Display post tags form fields. 199 * 200 * @since 2.6.0 201 * 202 * @param object $post 203 */ 189 204 function post_tags_meta_box($post) { 190 205 ?> … … 196 211 add_meta_box('tagsdiv', __('Tags'), 'post_tags_meta_box', 'post', 'side', 'core'); 197 212 213 /** 214 * Display add post media and current post media form fields and images. 215 * 216 * @todo Complete. 217 * @since 2.7.0 218 * 219 * @param object $post 220 */ 198 221 function post_media_meta_box($post) { 199 222 echo "<p><small><em>This feature isn't fully functional in this prototype.</em></small></p>"; … … 232 255 add_meta_box( 'mediadiv', __('Media' ), 'post_media_meta_box', 'post', 'side', 'core' ); 233 256 257 /** 258 * Display post categories form fields. 259 * 260 * @since 2.6.0 261 * 262 * @param object $post 263 */ 234 264 function post_categories_meta_box($post) { 235 265 ?> … … 266 296 add_meta_box('categorydiv', __('Categories'), 'post_categories_meta_box', 'post', 'side', 'core'); 267 297 298 /** 299 * Display post excerpt form fields. 300 * 301 * @since 2.6.0 302 * 303 * @param object $post 304 */ 268 305 function post_excerpt_meta_box($post) { 269 306 ?> … … 274 311 add_meta_box('postexcerpt', __('Excerpt'), 'post_excerpt_meta_box', 'post', 'normal', 'core'); 275 312 313 /** 314 * Display trackback links form fields. 315 * 316 * @since 2.6.0 317 * 318 * @param object $post 319 */ 276 320 function post_trackback_meta_box($post) { 277 321 $form_trackback = '<input type="text" name="trackback_url" id="trackback_url" tabindex="7" value="'. attribute_escape( str_replace("\n", ' ', $post->to_ping) ) .'" />'; … … 297 341 add_meta_box('trackbacksdiv', __('Trackbacks and Pings'), 'post_trackback_meta_box', 'post', 'normal', 'core'); 298 342 343 /** 344 * Display custom fields for the post form fields. 345 * 346 * @since 2.6.0 347 * 348 * @param object $post 349 */ 299 350 function post_custom_meta_box($post) { 300 351 ?> … … 319 370 do_action('dbx_post_advanced'); 320 371 372 /** 373 * Display comment status for post form fields. 374 * 375 * @since 2.6.0 376 * 377 * @param object $post 378 */ 321 379 function post_comment_status_meta_box($post) { 322 380 global $wpdb, $post_ID; … … 358 416 add_meta_box('commentstatusdiv', __('Comments on this Post'), 'post_comment_status_meta_box', 'post', 'normal', 'core'); 359 417 418 /** 419 * Display post password form fields. 420 * 421 * @since 2.6.0 422 * 423 * @param object $post 424 */ 360 425 function post_password_meta_box($post) { 361 426 ?> … … 370 435 add_meta_box('passworddiv', __('Privacy Options'), 'post_password_meta_box', 'post', 'normal', 'core'); 371 436 437 /** 438 * Display post slug form fields. 439 * 440 * @since 2.6.0 441 * 442 * @param object $post 443 */ 372 444 function post_slug_meta_box($post) { 373 445 ?> … … 382 454 $authors[] = $post->post_author; 383 455 if ( $authors && count( $authors ) > 1 ) : 456 /** 457 * Display form field with list of authors. 458 * 459 * @since 2.6.0 460 * 461 * @param object $post 462 */ 384 463 function post_author_meta_box($post) { 385 464 global $current_user, $user_ID; … … 395 474 396 475 if ( 0 < $post_ID && wp_get_post_revisions( $post_ID ) ) : 476 /** 477 * Display list of post revisions. 478 * 479 * @since 2.6.0 480 * 481 * @param object $post 482 */ 397 483 function post_revisions_meta_box($post) { 398 484 wp_list_post_revisions(); -
trunk/wp-admin/edit-form-comment.php
r9103 r9119 26 26 // All meta boxes should be defined and added before the first do_meta_boxes() call (or potentially during the do_meta_boxes action). 27 27 28 function comment_submit_meta_box($comment) { // not used, but keeping for a bit longer in case it's needed 28 /** 29 * Display comment edit meta box. 30 * 31 * Not used, but keeping for a bit longer in case it's needed. 32 * 33 * @since 2.7.0 34 * 35 * @param object $comment Comment data. 36 */ 37 function comment_submit_meta_box($comment) { 29 38 ?> 30 39 <div class="submitbox" id="submitcomment"> -
trunk/wp-admin/edit-link-form.php
r9103 r9119 19 19 } 20 20 21 /** 22 * Display checked checkboxes attribute for xfn microformat options. 23 * 24 * @since 1.0.1 25 * 26 * @param string $class 27 * @param string $value 28 * @param mixed $deprecated Not used. 29 */ 21 30 function xfn_check($class, $value = '', $deprecated = '') { 22 31 global $link; … … 38 47 ?> 39 48 40 <?php function link_submit_meta_box($link) { ?> 49 <?php 50 /** 51 * Display link create form fields. 52 * 53 * @since 2.7.0 54 * 55 * @param object $link 56 */ 57 function link_submit_meta_box($link) { 58 ?> 41 59 <div class="submitbox" id="submitlink"> 42 60 … … 64 82 add_meta_box('linksubmitdiv', __('Save'), 'link_submit_meta_box', 'link', 'side', 'core'); 65 83 84 /** 85 * Display link categories form fields. 86 * 87 * @since 2.6.0 88 * 89 * @param object $link 90 */ 66 91 function link_categories_meta_box($link) { ?> 67 92 <div id="category-adder" class="wp-hidden-children"> … … 101 126 add_meta_box('linkcategorydiv', __('Categories'), 'link_categories_meta_box', 'link', 'normal', 'core'); 102 127 128 /** 129 * Display form fields for changing link target. 130 * 131 * @since 2.6.0 132 * 133 * @param object $link 134 */ 103 135 function link_target_meta_box($link) { ?> 104 136 <fieldset><legend class="hidden"><?php _e('Target') ?></legend> … … 118 150 add_meta_box('linktargetdiv', __('Target'), 'link_target_meta_box', 'link', 'normal', 'core'); 119 151 152 /** 153 * Display xfn form fields. 154 * 155 * @since 2.6.0 156 * 157 * @param object $link 158 */ 120 159 function link_xfn_meta_box($link) { 121 160 ?> … … 231 270 add_meta_box('linkxfndiv', __('Link Relationship (XFN)'), 'link_xfn_meta_box', 'link', 'normal', 'core'); 232 271 272 /** 273 * Display advanced link options form fields. 274 * 275 * @since 2.6.0 276 * 277 * @param object $link 278 */ 233 279 function link_advanced_meta_box($link) { 234 280 ?> -
trunk/wp-admin/edit-page-form.php
r9103 r9119 8 8 9 9 /** 10 * Post ID global 10 * Post ID global. 11 11 * @name $post_ID 12 12 * @var int … … 48 48 49 49 <?php 50 /** 51 * Display submit form fields. 52 * 53 * @since 2.7.0 54 * 55 * @param object $post 56 */ 50 57 function page_submit_meta_box($post) { 51 58 global $action; … … 173 180 add_meta_box('pagesubmitdiv', __('Publish'), 'page_submit_meta_box', 'page', 'side', 'core'); 174 181 182 /** 183 * Display custom field for page form fields. 184 * 185 * @since 2.6.0 186 * 187 * @param object $post 188 */ 175 189 function page_custom_meta_box($post){ 176 190 ?> … … 193 207 add_meta_box('pagecustomdiv', __('Custom Fields'), 'page_custom_meta_box', 'page', 'normal', 'core'); 194 208 209 /** 210 * Display comments status form fields. 211 * 212 * @since 2.6.0 213 * 214 * @param object $post 215 */ 195 216 function page_comments_status_meta_box($post){ 196 217 ?> … … 205 226 add_meta_box('pagecommentstatusdiv', __('Comments & Pings'), 'page_comments_status_meta_box', 'page', 'normal', 'core'); 206 227 228 /** 229 * Display page password form fields. 230 * 231 * @since 2.6.0 232 * 233 * @param object $post 234 */ 207 235 function page_password_meta_box($post){ 208 236 ?> … … 215 243 add_meta_box('pagepassworddiv', __('Privacy Options'), 'page_password_meta_box', 'page', 'normal', 'core'); 216 244 245 /** 246 * Display page slug form fields. 247 * 248 * @since 2.6.0 249 * 250 * @param object $post 251 */ 217 252 function page_slug_meta_box($post){ 218 253 ?> … … 222 257 add_meta_box('pageslugdiv', __('Page Slug'), 'page_slug_meta_box', 'page', 'normal', 'core'); 223 258 259 /** 260 * Display page parent form fields. 261 * 262 * @since 2.6.0 263 * 264 * @param object $post 265 */ 224 266 function page_parent_meta_box($post){ 225 267 ?> … … 232 274 233 275 if ( 0 != count( get_page_templates() ) ) { 276 /** 277 * Display page template form fields. 278 * 279 * @since 2.6.0 280 * 281 * @param object $post 282 */ 234 283 function page_template_meta_box($post){ 235 284 ?> … … 244 293 } 245 294 295 /** 296 * Display page order form fields. 297 * 298 * @since 2.6.0 299 * 300 * @param object $post 301 */ 246 302 function page_order_meta_box($post){ 247 303 ?> … … 257 313 $authors[] = $post->post_author; 258 314 if ( $authors && count( $authors ) > 1 ) { 315 /** 316 * Display page author form fields, when more than one author exists. 317 * 318 * @since 2.6.0 319 * 320 * @param object $post 321 */ 259 322 function page_author_meta_box($post){ 260 323 global $current_user, $user_ID; … … 271 334 272 335 if ( 0 < $post_ID && wp_get_post_revisions( $post_ID ) ) : 336 /** 337 * Display list of page revisions. 338 * 339 * @since 2.6.0 340 * 341 * @param object $post 342 */ 273 343 function page_revisions_meta_box($post) { 274 344 wp_list_post_revisions(); -
trunk/wp-admin/includes/comment.php
r9005 r9119 1 1 <?php 2 2 /** 3 * WordPress Comment Administration API 3 * WordPress Comment Administration API. 4 4 * 5 5 * @package WordPress -
trunk/wp-admin/includes/image.php
r9053 r9119 14 14 * thumbnail will be created as a jpeg. 15 15 * 16 * @since unknown16 * @since 1.2.0 17 17 * 18 18 * @param mixed $file Filename of the original image, Or attachment id. … … 28 28 * Crop an Image to a given size. 29 29 * 30 * @internal Missing Long Description 31 * 32 * @since unknown 33 * 34 * @param string|int $src_file The source file or Attachment ID 30 * @since 2.1.0 31 * 32 * @param string|int $src_file The source file or Attachment ID. 35 33 * @param int $src_x The start x position to crop from. 36 34 * @param int $src_y The start y position to crop from. … … 78 76 79 77 /** 80 * Generate post Image attachment Metadata. 81 * 82 * @internal Missing Long Description 83 * 84 * @since unknown 85 * 86 * @param int $attachment_id Attachment Id to process 87 * @param string $file Filepath of the Attached image 88 * @return mixed Metadata for attachment 78 * Generate post image attachment meta data. 79 * 80 * @since 2.1.0 81 * 82 * @param int $attachment_id Attachment Id to process. 83 * @param string $file Filepath of the Attached image. 84 * @return mixed Metadata for attachment. 89 85 */ 90 86 function wp_generate_attachment_metadata( $attachment_id, $file ) { … … 130 126 131 127 /** 132 * Load an image which PHP Supports. 133 * 134 * @internal Missing Long Description 135 * 136 * @since unknown 128 * Load an image from a string, if PHP supports it. 129 * 130 * @since 2.1.0 137 131 * 138 132 * @param string $file Filename of the image to load. … … 160 154 161 155 /** 162 * Calculated the new dimentions for downsampled images.163 * 164 * @since unknown156 * Calculated the new dimentions for a downsampled image. 157 * 158 * @since 2.0.0 165 159 * @see wp_shrink_dimensions() 166 160 * … … 168 162 * @param int $height Current height of the image 169 163 * @return mixed Array(height,width) of shrunk dimensions. 170 *171 164 */ 172 165 function get_udims( $width, $height) { … … 177 170 * Calculates the new dimentions for a downsampled image. 178 171 * 179 * @since unknown172 * @since 2.0.0 180 173 * @see wp_constrain_dimensions() 181 174 * … … 185 178 * @param int $hmax Maximum wanted height 186 179 * @return mixed Array(height,width) of shrunk dimensions. 187 *188 180 */ 189 181 function wp_shrink_dimensions( $width, $height, $wmax = 128, $hmax = 96 ) { … … 194 186 * Convert a fraction string to a decimal. 195 187 * 196 * @since unknown188 * @since 2.5.0 197 189 * 198 190 * @param string $str … … 209 201 * Convert the exif date format to a unix timestamp. 210 202 * 211 * @since unknown203 * @since 2.5.0 212 204 * 213 205 * @param string $str … … 224 216 * Get extended image metadata, exif or iptc as available. 225 217 * 226 * @since unknown 218 * Retrieves the EXIF metadata aperture, credit, camera, caption, copyright, iso 219 * created_timestamp, focal_length, shutter_speed, and title. 220 * 221 * The IPTC metadata that is retrieved is APP13, credit, byline, created date 222 * and time, caption, copyright, and title. Also includes FNumber, Model, 223 * DateTimeDigitized, FocalLength, ISOSpeedRatings, and ExposureTime. 224 * 225 * @todo Try other exif libraries if available. 226 * @since 2.5.0 227 227 * 228 228 * @param string $file … … 289 289 $meta['shutter_speed'] = wp_exif_frac2dec( $exif['ExposureTime'] ); 290 290 } 291 /** @todo FIXME: try other exif libraries if available */292 291 293 292 return apply_filters( 'wp_read_image_metadata', $meta, $file, $sourceImageType ); … … 298 297 * Validate that file is an image. 299 298 * 300 * @since unknown299 * @since 2.5.0 301 300 * 302 301 * @param string $path File path to test if valid image. … … 311 310 * Validate that file is suitable for displaying within a web page. 312 311 * 313 * @since unknown312 * @since 2.5.0 314 313 * @uses apply_filters() Calls 'file_is_displayable_image' on $result and $path. 315 314 * -
trunk/wp-admin/includes/import.php
r9053 r9119 8 8 9 9 /** 10 * {@internal Missing Short Description}}10 * Retrieve list of importers. 11 11 * 12 * @since unknown12 * @since 2.0.0 13 13 * 14 * @return unknown14 * @return array 15 15 */ 16 16 function get_importers() { … … 22 22 23 23 /** 24 * {@internal Missing Short Description}}24 * Register importer for WordPress. 25 25 * 26 * @since unknown26 * @since 2.0.0 27 27 * 28 * @param unknown_type $id29 * @param unknown_type $name30 * @param unknown_type $description31 * @param unknown_type $callback32 * @return unknown28 * @param string $id Importer tag. Used to uniquely identify importer. 29 * @param string $name Importer name and title. 30 * @param string $description Importer description. 31 * @param callback $callback Callback to run. 32 * @return WP_Error Returns WP_Error when $callback is WP_Error. 33 33 */ 34 34 function register_importer( $id, $name, $description, $callback ) { … … 40 40 41 41 /** 42 * {@internal Missing Short Description}}42 * Cleanup importer. 43 43 * 44 * @since unknown44 * Removes attachment based on ID. 45 45 * 46 * @param unknown_type $id 46 * @since 2.0.0 47 * 48 * @param string $id Importer ID. 47 49 */ 48 50 function wp_import_cleanup( $id ) { … … 51 53 52 54 /** 53 * {@internal Missing Short Description}}55 * Handle importer uploading and add attachment. 54 56 * 55 * @since unknown57 * @since 2.0.0 56 58 * 57 * @return unknown59 * @return array 58 60 */ 59 61 function wp_import_handle_upload() { -
trunk/wp-admin/includes/plugin-install.php
r9028 r9119 20 20 * 21 21 * The second filter, 'plugins_api', is the result that would be returned. 22 * 23 * @since 2.7.0 22 24 * 23 25 * @param string $action … … 45 47 46 48 /** 47 * 48 * 49 * @param unknown_type $args 50 * @return unknown 49 * Retrieve popular WordPress plugin tags. 50 * 51 * @since 2.7.0 52 * 53 * @param array $args 54 * @return array 51 55 */ 52 56 function install_popular_tags( $args = array() ) { … … 68 72 69 73 add_action('install_plugins_search', 'install_search', 10, 1); 74 75 /** 76 * Display search results and display as tag cloud. 77 * 78 * @since 2.7.0 79 * 80 * @param string $page 81 */ 70 82 function install_search($page) { 71 83 $type = isset($_REQUEST['type']) ? $_REQUEST['type'] : ''; … … 112 124 <?php 113 125 114 $api_tags = install_popular_tags(); 115 116 //Set up the tags in a way which can be interprated by wp_generate_tag_cloud() 117 $tags = array(); 118 foreach ( (array)$api_tags as $tag ) 119 $tags[ $tag['name'] ] = (object) array( 120 'link' => clean_url( admin_url('plugin-install.php?tab=search&type=tag&s=' . urlencode($tag['name'])) ), 121 'name' => $tag['name'], 122 'count' => $tag['count'] ); 123 echo wp_generate_tag_cloud($tags, array( 'single_text' => __('%d plugin'), 'multiple_text' => __('%d plugins') ) ); 124 } 125 126 $api_tags = install_popular_tags(); 127 128 //Set up the tags in a way which can be interprated by wp_generate_tag_cloud() 129 $tags = array(); 130 foreach ( (array)$api_tags as $tag ) 131 $tags[ $tag['name'] ] = (object) array( 132 'link' => clean_url( admin_url('plugin-install.php?tab=search&type=tag&s=' . urlencode($tag['name'])) ), 133 'name' => $tag['name'], 134 'count' => $tag['count'] ); 135 echo wp_generate_tag_cloud($tags, array( 'single_text' => __('%d plugin'), 'multiple_text' => __('%d plugins') ) ); 136 } 137 138 /** 139 * Display search form for searching plugins. 140 * 141 * @since 2.7.0 142 */ 126 143 function install_search_form(){ 127 144 $type = isset($_REQUEST['type']) ? $_REQUEST['type'] : ''; … … 140 157 141 158 add_action('install_plugins_featured', 'install_featured', 10, 1); 159 160 /** 161 * Display featured plugins. 162 * 163 * @since 2.7.0 164 * 165 * @param string $page 166 */ 142 167 function install_featured($page){ 143 168 $args = array('browse' => 'featured', 'page' => $page); … … 146 171 } 147 172 add_action('install_plugins_popular', 'install_popular', 10, 1); 173 174 /** 175 * Display popular plugins. 176 * 177 * @since 2.7.0 178 * 179 * @param string $page 180 */ 148 181 function install_popular($page){ 149 182 $args = array('browse' => 'popular', 'page' => $page); … … 152 185 } 153 186 add_action('install_plugins_new', 'install_new', 10, 1); 187 188 /** 189 * Display new plugins. 190 * 191 * @since 2.7.0 192 * 193 * @param string $page 194 */ 154 195 function install_new($page){ 155 196 $args = array('browse' => 'new', 'page' => $page); … … 158 199 } 159 200 add_action('install_plugins_updated', 'install_updated', 10, 1); 201 202 /** 203 * Display recently updated plugins. 204 * 205 * @since 2.7.0 206 * 207 * @param string $page 208 */ 160 209 function install_updated($page){ 161 210 $args = array('browse' => 'updated', 'page' => $page); … … 164 213 } 165 214 add_action('install_plugins_upload', 'install_upload_custom', 10, 1); 215 216 /** 217 * Display upload plugin form for adding plugins by uploading them manually. 218 * 219 * @since 2.7.0 220 * 221 * @param string $page 222 */ 166 223 function install_upload_custom($page){ 167 224 //$args = array('browse' => 'updated', 'page' => $page); … … 171 228 } 172 229 230 /** 231 * Display plugin content based on plugin list. 232 * 233 * @since 2.7.0 234 * 235 * @param array $plugins List of plugins. 236 * @param string $page 237 * @param int $totalpages Number of pages. 238 */ 173 239 function display_plugins_table($plugins, $page = 1, $totalpages = 1){ 174 240 global $tab; … … 286 352 } 287 353 354 /** 355 * Display iframe header. 356 * 357 * @since 2.7.0 358 * 359 * @param string $title Title for iframe. 360 */ 288 361 function install_iframe_header($title = '') { 289 362 if( empty($title) ) … … 318 391 } 319 392 393 /** 394 * Display iframe footer. 395 * 396 * @since 2.7.0 397 */ 320 398 function install_iframe_footer() { 321 399 echo ' … … 325 403 326 404 add_action('install_plugins_pre_plugin-information', 'install_plugin_information'); 405 406 /** 407 * Display plugin information in dialog box form. 408 * 409 * @since 2.7.0 410 */ 327 411 function install_plugin_information() { 328 412 global $tab; … … 448 532 449 533 add_action('install_plugins_pre_install', 'install_plugin'); 534 535 /** 536 * Display plugin link and execute install. 537 * 538 * @since 2.7.0 539 */ 450 540 function install_plugin() { 451 541 … … 466 556 exit; 467 557 } 468 function do_plugin_install($download_url = '', $plugin_information = NULL) { 558 559 /** 560 * Retrieve plugin and install. 561 * 562 * @since 2.7.0 563 * 564 * @param string $download_url Optional. Download URL. 565 * @param object $plugin_information Optional. Plugin information 566 */ 567 function do_plugin_install($download_url = '', $plugin_information = null) { 469 568 global $wp_filesystem; 470 569 … … 513 612 } 514 613 614 /** 615 * Install plugin. 616 * 617 * @since 2.7.0 618 * 619 * @param string $package 620 * @param string $feedback Optional. 621 * @return mixed. 622 */ 515 623 function wp_install_plugin($package, $feedback = '') { 516 624 global $wp_filesystem; -
trunk/wp-admin/includes/post.php
r9116 r9119 468 468 469 469 /** 470 * {@internal Missing Short Description}}470 * Calls wp_write_post() and handles the errors. 471 471 * 472 472 * @since unknown -
trunk/wp-admin/includes/schema.php
r9053 r9119 1 1 <?php 2 2 /** 3 * WordPress Schema for installation and upgrading.3 * WordPress Administration Scheme API 4 4 * 5 5 * Here we keep the DB structure and option values. … … 9 9 */ 10 10 11 /** WordPress Database collate charset */ 11 /** 12 * The database character collate. 13 * @var string 14 * @global string 15 * @name $charset_collate 16 */ 12 17 $charset_collate = ''; 13 18 … … 165 170 * Create WordPress options and set the default values. 166 171 * 167 * @since unknown172 * @since 1.5.0 168 173 * @uses $wpdb 169 174 * @uses $wp_db_version … … 300 305 * Execute WordPress role creation for the various WordPress versions. 301 306 * 302 * @since unknown (2.0.0)307 * @since 2.0.0 303 308 */ 304 309 function populate_roles() { -
trunk/wp-admin/includes/update.php
r8989 r9119 1 1 <?php 2 /** 3 * WordPress Administration Update API 4 * 5 * @package WordPress 6 * @subpackage Admin 7 */ 2 8 3 9 // The admin side of our 1.1 update system -
trunk/wp-admin/menu-header.php
r9070 r9119 21 21 get_admin_page_parent(); 22 22 23 /** 24 * Display menu. 25 * 26 * @access private 27 * @since 2.7.0 28 * 29 * @param array $menu 30 * @param array $submenu 31 * @param bool $submenu_as_parent 32 */ 23 33 function _wp_menu_output( &$menu, &$submenu, $submenu_as_parent = true ) { 24 34 global $self, $parent_file, $submenu_file, $plugin_page, $pagenow; -
trunk/wp-admin/plugins.php
r9073 r9119 267 267 268 268 <?php 269 /** 270 * @ignore 271 * 272 * @param array $plugins 273 * @param string $context 274 */ 269 275 function print_plugins_table($plugins, $context = '') { 270 276 ?> -
trunk/wp-admin/press-this.php
r9115 r9119 17 17 * @package WordPress 18 18 * @subpackage Press_This 19 * @since unknown19 * @since 2.6.0 20 20 * 21 21 * @param string $string … … 31 31 * @package WordPress 32 32 * @subpackage Press_This 33 * @since unknown33 * @since 2.6.0 34 34 * 35 35 * @param string $text … … 48 48 * @package WordPress 49 49 * @subpackage Press_This 50 * @since unknown50 * @since 2.6.0 51 51 * 52 52 * @return int Post ID … … 174 174 <?php break; 175 175 case 'photo_images': 176 /** 177 * Retrieve all image URLs from given URI. 178 * 179 * @package WordPress 180 * @subpackage Press_This 181 * @since 2.6.0 182 * 183 * @param string $uri 184 * @return string 185 */ 176 186 function get_images_from_uri($uri) { 177 187 if( preg_match('/\.(jpg|jpe|jpeg|png|gif)$/', $uri) && !strpos($uri,'blogger.com') ) -
trunk/wp-admin/setup-config.php
r9067 r9119 13 13 * We are installing. 14 14 * 15 * @since unknown16 15 * @package WordPress 17 16 */ … … 50 49 * Display setup wp-config.php file header. 51 50 * 52 * @since unknown 51 * @ignore 52 * @since 2.3.0 53 53 * @package WordPress 54 54 * @subpackage Installer_WP_Config -
trunk/wp-admin/themes.php
r8989 r9119 60 60 $themes = array_slice( $themes, $start, $per_page ); 61 61 62 /** 63 * Check if there is an update for a theme available. 64 * 65 * Will display link, if there is an update available. 66 * 67 * @since 2.7.0 68 * 69 * @param object $theme Theme data object. 70 * @return bool False if no valid info was passed. 71 */ 62 72 function theme_update_available( $theme ) { 63 73 static $themes_update; -
trunk/wp-admin/user-edit.php
r9072 r9119 18 18 * Display JavaScript for profile page. 19 19 * 20 * @package WordPress 21 * @subpackage Administration 20 * @since 2.5.0 22 21 */ 23 22 function profile_js ( ) { … … 102 101 } 103 102 104 // Optional SSL preference that can be turned on by hooking to the 'personal_options' action 103 /** 104 * Optional SSL preference that can be turned on by hooking to the 'personal_options' action. 105 * 106 * @since 2.7.0 107 * 108 * @param object $user User data object 109 */ 105 110 function use_ssl_preference($user) { 106 111 ?>
Note: See TracChangeset
for help on using the changeset viewer.