Changeset 32654
- Timestamp:
- 05/29/2015 08:16:22 PM (10 years ago)
- Location:
- trunk/src/wp-admin
- Files:
-
- 44 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/credits.php
r32277 r32654 19 19 * @since 3.2.0 20 20 * 21 * @return array| boolA list of all of the contributors, or false on error.21 * @return array|false A list of all of the contributors, or false on error. 22 22 */ 23 23 function wp_credits() { … … 56 56 * @param string $username The contributor's username. 57 57 * @param string $profiles URL to the contributor's WordPress.org profile page. 58 * @return string A contributor's display name, hyperlinked to a WordPress.org profile page.59 58 */ 60 59 function _wp_credits_add_profile_link( &$display_name, $username, $profiles ) { … … 69 68 * 70 69 * @param string &$data External library data, passed by reference. 71 * @return string Link to the external library.72 70 */ 73 71 function _wp_credits_build_object_link( &$data ) { -
trunk/src/wp-admin/custom-background.php
r32116 r32654 109 109 */ 110 110 public function take_action() { 111 112 111 if ( empty($_POST) ) 113 112 return; … … 358 357 */ 359 358 public function handle_upload() { 360 361 359 if ( empty($_FILES) ) 362 360 return; … … 435 433 * @since 3.4.0 436 434 * @deprecated 3.5.0 435 * 436 * @param array $form_fields 437 * @return $form_fields 437 438 */ 438 439 public function attachment_fields_to_edit( $form_fields ) { … … 444 445 * @since 3.4.0 445 446 * @deprecated 3.5.0 447 * 448 * @param $tabs 449 * @return $tabs 446 450 */ 447 451 public function filter_upload_tabs( $tabs ) { -
trunk/src/wp-admin/custom-header.php
r32642 r32654 318 318 } 319 319 ?> 320 321 320 <script type="text/javascript"> 322 321 (function($){ … … 926 925 * 927 926 * @since 3.4.0 927 * 928 * @param array $form_fields 929 * @return $form_fields 928 930 */ 929 931 public function attachment_fields_to_edit( $form_fields ) { … … 935 937 * 936 938 * @since 3.4.0 939 * 940 * @param array $tabs 941 * @return $tabs 937 942 */ 938 943 public function filter_upload_tabs( $tabs ) { … … 951 956 * 952 957 * @since 3.4.0 958 * 959 * @param array|object|string $choice 953 960 */ 954 961 final public function set_header_image( $choice ) { … … 1002 1009 */ 1003 1010 final public function remove_header_image() { 1004 return$this->set_header_image( 'remove-header' );1011 $this->set_header_image( 'remove-header' ); 1005 1012 } 1006 1013 … … 1016 1023 $default = get_theme_support( 'custom-header', 'default-image' ); 1017 1024 1018 if ( ! $default ) 1019 return $this->remove_header_image(); 1020 1025 if ( ! $default ) { 1026 $this->remove_header_image(); 1027 return; 1028 } 1021 1029 $default = sprintf( $default, get_template_directory_uri(), get_stylesheet_directory_uri() ); 1022 1030 … … 1036 1044 * Calculate width and height based on what the currently selected theme supports. 1037 1045 * 1046 * @param array $dimensions 1038 1047 * @return array dst_height and dst_width of header image. 1039 1048 */ … … 1085 1094 * Create an attachment 'object'. 1086 1095 * 1087 * @param string $cropped Cropped image URL.1088 * @param int $parent_attachment_id Attachment ID of parent image.1096 * @param string $cropped Cropped image URL. 1097 * @param int $parent_attachment_id Attachment ID of parent image. 1089 1098 * 1090 1099 * @return array Attachment object. … … 1113 1122 * Insert an attachment and its metadata. 1114 1123 * 1115 * @param array $objectAttachment object.1124 * @param array $object Attachment object. 1116 1125 * @param string $cropped Cropped image URL. 1117 1126 * … … 1241 1250 } 1242 1251 1252 /** 1253 * 1254 * @param WP_Customize_Manager $wp_customize 1255 */ 1243 1256 public function customize_set_last_used( $wp_customize ) { 1244 1257 $data = $wp_customize->get_setting( 'header_image_data' )->post_value(); … … 1253 1266 } 1254 1267 1268 /** 1269 * 1270 * @return array 1271 */ 1255 1272 public function get_default_header_images() { 1256 1273 $this->process_default_headers(); … … 1286 1303 1287 1304 // The rest of the set comes after. 1288 $header_images = array_merge( $header_images, $this->default_headers ); 1289 return $header_images; 1290 } 1291 1305 return array_merge( $header_images, $this->default_headers ); 1306 } 1307 1308 /** 1309 * 1310 * @return array 1311 */ 1292 1312 public function get_uploaded_header_images() { 1293 1313 $header_images = get_uploaded_header_images(); -
trunk/src/wp-admin/includes/bookmark.php
r32653 r32654 78 78 * 79 79 * @param int $link_id ID of the link to delete 80 * @return bool True80 * @return true 81 81 */ 82 82 function wp_delete_link( $link_id ) { … … 141 141 * 142 142 * @param array $linkdata Elements that make up the link to insert. 143 * @param bool $wp_error Optional. If true return WP_Error object on failure.143 * @param bool $wp_error Optional. If true return WP_Error object on failure. 144 144 * @return int|WP_Error Value 0 or WP_Error on failure. The link ID on success. 145 145 */ -
trunk/src/wp-admin/includes/class-wp-comments-list-table.php
r32651 r32654 54 54 } 55 55 56 /** 57 * @return bool 58 */ 56 59 public function ajax_user_can() { 57 60 return current_user_can('edit_posts'); … … 159 162 * @param string $comment_status The comment status name. Default 'All'. 160 163 */ 161 $comments_per_page = apply_filters( 'comments_per_page', $comments_per_page, $comment_status ); 162 return $comments_per_page; 164 return apply_filters( 'comments_per_page', $comments_per_page, $comment_status ); 163 165 } 164 166 … … 231 233 * Accepts 'All', 'Pending', 'Approved', 'Spam', and 'Trash'. 232 234 */ 233 $status_links = apply_filters( 'comment_status_links', $status_links ); 234 return $status_links; 235 return apply_filters( 'comment_status_links', $status_links ); 235 236 } 236 237 … … 238 239 * 239 240 * @global string $comment_status 241 * 242 * @return array 240 243 */ 241 244 protected function get_bulk_actions() { … … 267 270 * @global string $comment_status 268 271 * @global string $comment_type 272 * 269 273 * @param string $which 270 274 */ … … 322 326 } 323 327 328 /** 329 * @return string|false 330 */ 324 331 public function current_action() { 325 332 if ( isset( $_REQUEST['delete_all'] ) || isset( $_REQUEST['delete_all2'] ) ) … … 332 339 * 333 340 * @global int $post_id 341 * 334 342 * @return array 335 343 */ … … 351 359 } 352 360 361 /** 362 * 363 * @return array 364 */ 353 365 protected function get_sortable_columns() { 354 366 return array( … … 407 419 * @global WP_Post $post 408 420 * @global object $comment 421 * 409 422 * @param object $a_comment 410 423 */ … … 438 451 * @param string $primary Primary column name 439 452 * 440 * @return string 453 * @return string|void 441 454 */ 442 455 protected function handle_row_actions( $comment, $column_name, $primary ) { 443 456 global $comment_status; 444 457 445 458 if ( ! $this->user_can ) { 446 459 return; 447 448 460 } 449 461 … … 543 555 } 544 556 557 /** 558 * 559 * @param object $comment 560 */ 545 561 public function column_cb( $comment ) { 546 562 if ( $this->user_can ) { ?> … … 554 570 * 555 571 * @global string $comment_status 572 * 556 573 * @param object $comment 557 574 */ … … 602 619 * 603 620 * @global string $comment_status 621 * 604 622 * @param object $comment 605 623 */ … … 635 653 } 636 654 655 /** 656 * 657 * @return string 658 */ 637 659 public function column_date() { 638 660 return get_comment_date( __( 'Y/m/d \a\t g:i a' ) ); … … 667 689 } 668 690 691 /** 692 * 693 * @param object $comment 694 * @param string $column_name 695 */ 669 696 public function column_default( $comment, $column_name ) { 670 697 /** … … 692 719 class WP_Post_Comments_List_Table extends WP_Comments_List_Table { 693 720 721 /** 722 * 723 * @return array 724 */ 694 725 protected function get_column_info() { 695 726 return array( … … 704 735 } 705 736 737 /** 738 * 739 * @return array 740 */ 706 741 protected function get_table_classes() { 707 742 $classes = parent::get_table_classes(); … … 710 745 } 711 746 747 /** 748 * 749 * @param bool $output_empty 750 */ 712 751 public function display( $output_empty = false ) { 713 752 $singular = $this->_args['singular']; … … 728 767 } 729 768 769 /** 770 * 771 * @param bool $comment_status 772 * @return int 773 */ 730 774 public function get_per_page( $comment_status = false ) { 731 775 return 10; -
trunk/src/wp-admin/includes/class-wp-filesystem-base.php
r31554 r32654 172 172 */ 173 173 public function find_folder( $folder ) { 174 175 174 if ( isset( $this->cache[ $folder ] ) ) 176 175 return $this->cache[ $folder ]; -
trunk/src/wp-admin/includes/class-wp-filesystem-ftpext.php
r32650 r32654 18 18 public $link; 19 19 20 public function __construct($opt='') { 20 /** 21 * 22 * @param array $opt 23 */ 24 public function __construct( $opt = '' ) { 21 25 $this->method = 'ftpext'; 22 26 $this->errors = new WP_Error(); … … 59 63 } 60 64 65 /** 66 * 67 * @return bool 68 */ 61 69 public function connect() { 62 70 if ( isset($this->options['ssl']) && $this->options['ssl'] && function_exists('ftp_ssl_connect') ) -
trunk/src/wp-admin/includes/class-wp-filesystem-ftpsockets.php
r31815 r32654 21 21 public $ftp; 22 22 23 public function __construct($opt = '') { 23 /** 24 * 25 * @param array $opt 26 */ 27 public function __construct( $opt = '' ) { 24 28 $this->method = 'ftpsockets'; 25 29 $this->errors = new WP_Error(); … … 53 57 } 54 58 59 /** 60 * 61 * @return bool 62 */ 55 63 public function connect() { 56 64 if ( ! $this->ftp ) … … 227 235 } 228 236 /** 237 * @param string $source 238 * @param string $destination 239 * @param bool $overwrite 240 * @param int|bool $mode 241 * @return bool 242 */ 243 public function copy($source, $destination, $overwrite = false, $mode = false) { 244 if ( ! $overwrite && $this->exists($destination) ) 245 return false; 246 247 $content = $this->get_contents($source); 248 if ( false === $content ) 249 return false; 250 251 return $this->put_contents($destination, $content, $mode); 252 } 253 /** 229 254 * @param string $source 230 255 * @param string $destination 231 * @param bool $overwrite 232 * @param int|bool $mode 233 * @return bool 234 */ 235 public function copy($source, $destination, $overwrite = false, $mode = false) { 236 if ( ! $overwrite && $this->exists($destination) ) 237 return false; 238 239 $content = $this->get_contents($source); 240 if ( false === $content ) 241 return false; 242 243 return $this->put_contents($destination, $content, $mode); 244 } 245 /** 246 * @param string $source 247 * @param string $destination 248 * @param bool $overwrite 256 * @param bool $overwrite 249 257 * @return bool 250 258 */ … … 254 262 /** 255 263 * @param string $file 256 * @param bool $recursive264 * @param bool $recursive 257 265 * @param string $type 258 266 * @return bool … … 360 368 /** 361 369 * @param string $path 362 * @param mixed $chmod363 * @param mixed $chown364 * @param mixed $chgrp370 * @param mixed $chmod 371 * @param mixed $chown 372 * @param mixed $chgrp 365 373 * @return bool 366 374 */ … … 388 396 /** 389 397 * @param string $path 390 * @param bool $include_hidden391 * @param bool $recursive398 * @param bool $include_hidden 399 * @param bool $recursive 392 400 * @return bool|array 393 401 */ -
trunk/src/wp-admin/includes/class-wp-filesystem-ssh2.php
r31686 r32654 43 43 public $keys = false; 44 44 45 public function __construct($opt='') { 45 /** 46 * 47 * @param array $opt 48 */ 49 public function __construct( $opt = '' ) { 46 50 $this->method = 'ssh2'; 47 51 $this->errors = new WP_Error(); … … 90 94 $this->options['password'] = $opt['password']; 91 95 } 92 93 } 94 96 } 97 98 /** 99 * 100 * @return bool 101 */ 95 102 public function connect() { 96 103 if ( ! $this->keys ) { … … 127 134 * @return bool|string 128 135 */ 129 public function run_command( $command, $returnbool = false) { 130 136 public function run_command( $command, $returnbool = false ) { 131 137 if ( ! $this->link ) 132 138 return false; … … 167 173 168 174 /** 169 * @param string $file170 * @param string $contents175 * @param string $file 176 * @param string $contents 171 177 * @param bool|int $mode 172 178 * @return bool … … 183 189 } 184 190 191 /** 192 * 193 * @return bool 194 */ 185 195 public function cwd() { 186 196 $cwd = $this->run_command('pwd'); … … 202 212 * @param string $file 203 213 * @param string $group 204 * @param bool $recursive 214 * @param bool $recursive 215 * 216 * @return bool 205 217 */ 206 218 public function chgrp($file, $group, $recursive = false ) { … … 214 226 /** 215 227 * @param string $file 216 * @param int $mode217 * @param bool $recursive228 * @param int $mode 229 * @param bool $recursive 218 230 * @return bool|string 219 231 */ … … 290 302 291 303 /** 304 * @param string $source 305 * @param string $destination 306 * @param bool $overwrite 307 * @param int|bool $mode 308 * @return bool 309 */ 310 public function copy($source, $destination, $overwrite = false, $mode = false) { 311 if ( ! $overwrite && $this->exists($destination) ) 312 return false; 313 $content = $this->get_contents($source); 314 if ( false === $content) 315 return false; 316 return $this->put_contents($destination, $content, $mode); 317 } 318 319 /** 292 320 * @param string $source 293 321 * @param string $destination 294 * @param bool $overwrite 295 * @param int|bool $mode 296 * @return bool 297 */ 298 public function copy($source, $destination, $overwrite = false, $mode = false) { 299 if ( ! $overwrite && $this->exists($destination) ) 300 return false; 301 $content = $this->get_contents($source); 302 if ( false === $content) 303 return false; 304 return $this->put_contents($destination, $content, $mode); 305 } 306 307 /** 308 * @param string $source 309 * @param string $destination 310 * @param bool $overwrite 322 * @param bool $overwrite 311 323 * @return bool 312 324 */ … … 316 328 317 329 /** 318 * @param string $file319 * @param bool $recursive330 * @param string $file 331 * @param bool $recursive 320 332 * @param string|bool $type 321 333 * @return bool … … 404 416 /** 405 417 * @param string $file 406 * @param int $time407 * @param int $atime418 * @param int $time 419 * @param int $atime 408 420 */ 409 421 public function touch($file, $time = 0, $atime = 0) { … … 413 425 /** 414 426 * @param string $path 415 * @param mixed $chmod416 * @param mixed $chown417 * @param mixed $chgrp427 * @param mixed $chmod 428 * @param mixed $chown 429 * @param mixed $chgrp 418 430 * @return bool 419 431 */ … … 436 448 /** 437 449 * @param string $path 438 * @param bool $recursive450 * @param bool $recursive 439 451 * @return bool 440 452 */ … … 445 457 /** 446 458 * @param string $path 447 * @param bool $include_hidden448 * @param bool $recursive459 * @param bool $include_hidden 460 * @param bool $recursive 449 461 * @return bool|array 450 462 */ -
trunk/src/wp-admin/includes/class-wp-importer.php
r32642 r32654 15 15 * @global wpdb $wpdb 16 16 * 17 * @param string $importer_name 17 18 * @param string $bid 18 19 * @return array … … 54 55 * @global wpdb $wpdb 55 56 * 57 * @param string $importer_name 56 58 * @param string $bid 57 59 * @return int … … 121 123 } 122 124 125 /** 126 * 127 * @param int $blog_id 128 * @return int|void 129 */ 123 130 public function set_blog( $blog_id ) { 124 131 if ( is_numeric( $blog_id ) ) { … … 148 155 } 149 156 157 /** 158 * 159 * @param int $user_id 160 * @return int|void 161 */ 150 162 public function set_user( $user_id ) { 151 163 if ( is_numeric( $user_id ) ) { … … 180 192 * @param string $username 181 193 * @param string $password 182 * @param bool $head194 * @param bool $head 183 195 * @return array 184 196 */ … … 255 267 * 256 268 * @param string $param 257 * @param bool $required269 * @param bool $required 258 270 * @return mixed 259 271 */ -
trunk/src/wp-admin/includes/class-wp-links-list-table.php
r32644 r32654 27 27 } 28 28 29 /** 30 * 31 * @return bool 32 */ 29 33 public function ajax_user_can() { 30 34 return current_user_can( 'manage_links' ); … … 61 65 } 62 66 67 /** 68 * 69 * @return array 70 */ 63 71 protected function get_bulk_actions() { 64 72 $actions = array(); … … 100 108 } 101 109 110 /** 111 * 112 * @return array 113 */ 102 114 public function get_columns() { 103 115 return array( … … 112 124 } 113 125 126 /** 127 * 128 * @return array 129 */ 114 130 protected function get_sortable_columns() { 115 131 return array( -
trunk/src/wp-admin/includes/class-wp-list-table.php
r32650 r32654 251 251 * @param array $args An associative array with information about the pagination 252 252 * @access protected 253 * 254 * @param array|string $args 253 255 */ 254 256 protected function set_pagination_args( $args ) { … … 456 458 * @access public 457 459 * 458 * @return string| boolThe action name or False if no action was selected460 * @return string|false The action name or False if no action was selected 459 461 */ 460 462 public function current_action() { … … 977 979 978 980 $this->display_tablenav( 'top' ); 979 980 981 ?> 981 982 <table class="wp-list-table <?php echo implode( ' ', $this->get_table_classes() ); ?>"> … … 1093 1094 } 1094 1095 1096 /** 1097 * 1098 * @param object $item 1099 * @param string $column_name 1100 */ 1095 1101 protected function column_default( $item, $column_name ) {} 1096 1102 1103 /** 1104 * 1105 * @param object $item 1106 */ 1097 1107 protected function column_cb( $item ) {} 1098 1108 -
trunk/src/wp-admin/includes/class-wp-media-list-table.php
r32644 r32654 38 38 } 39 39 40 /** 41 * 42 * @return bool 43 */ 40 44 public function ajax_user_can() { 41 45 return current_user_can('upload_files'); … … 106 110 } 107 111 112 /** 113 * 114 * @return array 115 */ 108 116 protected function get_bulk_actions() { 109 117 $actions = array(); … … 152 160 } 153 161 162 /** 163 * 164 * @return string 165 */ 154 166 public function current_action() { 155 167 if ( isset( $_REQUEST['found_post_id'] ) && isset( $_REQUEST['media'] ) ) … … 165 177 } 166 178 179 /** 180 * 181 * @return bool 182 */ 167 183 public function has_items() { 168 184 return have_posts(); … … 222 238 } 223 239 240 /** 241 * 242 * @return array 243 */ 224 244 public function get_columns() { 225 245 $posts_columns = array(); … … 272 292 * to any posts. Default true. 273 293 */ 274 $posts_columns = apply_filters( 'manage_media_columns', $posts_columns, $this->detached ); 275 276 return $posts_columns; 277 } 278 294 return apply_filters( 'manage_media_columns', $posts_columns, $this->detached ); 295 } 296 297 /** 298 * 299 * @return array 300 */ 279 301 protected function get_sortable_columns() { 280 302 return array( … … 496 518 echo $this->row_actions( $this->_get_row_actions( $post, $att_title ) ); 497 519 } 498 520 499 521 echo '</td>'; 500 522 } … … 520 542 * @param WP_Post $post 521 543 * @param string $att_title 544 * 545 * @return array 522 546 */ 523 547 private function _get_row_actions( $post, $att_title ) { … … 568 592 * to any posts. Default true. 569 593 */ 570 $actions = apply_filters( 'media_row_actions', $actions, $post, $this->detached ); 571 572 return $actions; 594 return apply_filters( 'media_row_actions', $actions, $post, $this->detached ); 573 595 } 574 596 } -
trunk/src/wp-admin/includes/class-wp-ms-sites-list-table.php
r32644 r32654 27 27 } 28 28 29 /** 30 * 31 * @return bool 32 */ 29 33 public function ajax_user_can() { 30 34 return current_user_can( 'manage_sites' ); … … 143 147 } 144 148 149 /** 150 * 151 * @return array 152 */ 145 153 protected function get_bulk_actions() { 146 154 $actions = array(); … … 167 175 } 168 176 177 /** 178 * 179 * @return array 180 */ 169 181 public function get_columns() { 170 182 $blogname_columns = ( is_subdomain_install() ) ? __( 'Domain' ) : __( 'Path' ); … … 188 200 * 'blogname', 'lastupdated', 'registered', 'users'. 189 201 */ 190 $sites_columns = apply_filters( 'wpmu_blogs_columns', $sites_columns ); 191 192 return $sites_columns; 193 } 194 202 return apply_filters( 'wpmu_blogs_columns', $sites_columns ); 203 } 204 205 /** 206 * 207 * @return array 208 */ 195 209 protected function get_sortable_columns() { 196 210 return array( -
trunk/src/wp-admin/includes/class-wp-ms-themes-list-table.php
r32650 r32654 48 48 } 49 49 50 /** 51 * 52 * @return array 53 */ 50 54 protected function get_table_classes() { 51 55 // todo: remove and add CSS for .themes … … 53 57 } 54 58 59 /** 60 * 61 * @return bool 62 */ 55 63 public function ajax_user_can() { 56 64 if ( $this->is_site_themes ) … … 224 232 } 225 233 234 /** 235 * 236 * @return array 237 */ 226 238 protected function get_sortable_columns() { 227 239 return array( … … 292 304 293 305 /** 294 *295 306 * @global string $status 307 * 296 308 * @return array 297 309 */ … … 323 335 * @global string $s 324 336 * @global array $totals 337 * 325 338 * @param WP_Theme $theme 326 339 */ -
trunk/src/wp-admin/includes/class-wp-ms-users-list-table.php
r32644 r32654 9 9 */ 10 10 class WP_MS_Users_List_Table extends WP_List_Table { 11 11 /** 12 * 13 * @return bool 14 */ 12 15 public function ajax_user_can() { 13 16 return current_user_can( 'manage_network_users' ); … … 80 83 } 81 84 85 /** 86 * 87 * @return array 88 */ 82 89 protected function get_bulk_actions() { 83 90 $actions = array(); … … 128 135 } 129 136 137 /** 138 * 139 * @return array 140 */ 130 141 public function get_columns() { 131 142 $users_columns = array( … … 145 156 * 'name', 'email', 'registered', 'blogs'. 146 157 */ 147 $users_columns = apply_filters( 'wpmu_users_columns', $users_columns ); 148 149 return $users_columns; 150 } 151 158 return apply_filters( 'wpmu_users_columns', $users_columns ); 159 } 160 161 /** 162 * 163 * @return array 164 */ 152 165 protected function get_sortable_columns() { 153 166 return array( … … 209 222 } else { 210 223 echo "<td $attributes>"; 211 224 212 225 switch ( $column_name ) { 213 226 case 'username': -
trunk/src/wp-admin/includes/class-wp-plugin-install-list-table.php
r32642 r32654 16 16 private $error; 17 17 18 /** 19 * 20 * @return bool 21 */ 18 22 public function ajax_user_can() { 19 23 return current_user_can('install_plugins'); … … 29 33 * @since 4.0.0 30 34 * @access protected 35 * 36 * @return array 31 37 */ 32 38 protected function get_installed_plugin_slugs() { … … 222 228 * @global array $tabs 223 229 * @global string $tab 230 * 224 231 * @return array 225 232 */ … … 326 333 } 327 334 335 /** 336 * @return array 337 */ 328 338 protected function get_table_classes() { 329 339 return array( 'widefat', $this->_args['plural'] ); 330 340 } 331 341 342 /** 343 * @return array 344 */ 332 345 public function get_columns() { 333 346 return array(); -
trunk/src/wp-admin/includes/class-wp-plugins-list-table.php
r32650 r32654 41 41 } 42 42 43 /** 44 * @return array 45 */ 43 46 protected function get_table_classes() { 44 47 return array( 'widefat', $this->_args['plural'] ); 45 48 } 46 49 50 /** 51 * @return bool 52 */ 47 53 public function ajax_user_can() { 48 54 return current_user_can('activate_plugins'); … … 217 223 * @staticvar string $term 218 224 * @param array $plugin 219 * @return bool ean225 * @return bool 220 226 */ 221 227 public function _search_callback( $plugin ) { … … 283 289 } 284 290 291 /** 292 * @return array 293 */ 285 294 protected function get_sortable_columns() { 286 295 return array(); … … 366 375 * @global string $status 367 376 * @param string $which 368 * @return null369 377 */ 370 378 public function bulk_actions( $which = '' ) { … … 380 388 * @global string $status 381 389 * @param string $which 382 * @return null383 390 */ 384 391 protected function extra_tablenav( $which ) { … … 400 407 } 401 408 409 /** 410 * @return string 411 */ 402 412 public function current_action() { 403 413 if ( isset($_POST['clear-recent-list']) ) … … 426 436 * @global string $s 427 437 * @global array $totals 438 * 428 439 * @param array $item 429 440 */ -
trunk/src/wp-admin/includes/class-wp-posts-list-table.php
r32644 r32654 101 101 } 102 102 103 /** 104 * 105 * @return bool 106 */ 103 107 public function ajax_user_can() { 104 108 return current_user_can( get_post_type_object( $this->screen->post_type )->cap->edit_posts ); … … 148 152 } 149 153 154 /** 155 * 156 * @return bool 157 */ 150 158 public function has_items() { 151 159 return have_posts(); … … 164 172 * @since 4.2.0 165 173 * 166 * @return bool Whether the current ivew is the "All" view.174 * @return bool Whether the current view is the "All" view. 167 175 */ 168 176 protected function is_base_request() { … … 255 263 } 256 264 265 /** 266 * 267 * @return array 268 */ 257 269 protected function get_bulk_actions() { 258 270 $actions = array(); … … 324 336 } 325 337 338 /** 339 * 340 * @return string 341 */ 326 342 public function current_action() { 327 343 if ( isset( $_REQUEST['delete_all'] ) || isset( $_REQUEST['delete_all2'] ) ) … … 344 360 } 345 361 362 /** 363 * 364 * @return array 365 */ 346 366 protected function get_table_classes() { 347 367 return array( 'widefat', 'fixed', 'striped', is_post_type_hierarchical( $this->screen->post_type ) ? 'pages' : 'posts' ); 348 368 } 349 369 370 /** 371 * 372 * @return array 373 */ 350 374 public function get_columns() { 351 375 $post_type = $this->screen->post_type; … … 428 452 * @param array $post_columns An array of column names. 429 453 */ 430 $posts_columns = apply_filters( "manage_{$post_type}_posts_columns", $posts_columns ); 431 432 return $posts_columns; 433 } 434 454 return apply_filters( "manage_{$post_type}_posts_columns", $posts_columns ); 455 } 456 457 /** 458 * 459 * @return array 460 */ 435 461 protected function get_sortable_columns() { 436 462 return array( … … 489 515 * @param int $pagenum 490 516 * @param int $per_page 491 * @return false|null492 517 */ 493 518 private function _display_rows_hierarchical( $pages, $pagenum = 1, $per_page = 20 ) { … … 500 525 501 526 if ( ! $pages ) 502 return false;527 return; 503 528 } 504 529 … … 597 622 */ 598 623 private function _page_rows( &$children_pages, &$count, $parent, $level, $pagenum, $per_page, &$to_display ) { 599 600 624 if ( ! isset( $children_pages[$parent] ) ) 601 625 return; … … 605 629 606 630 foreach ( $children_pages[$parent] as $page ) { 607 608 631 if ( $count >= $end ) 609 632 break; -
trunk/src/wp-admin/includes/class-wp-terms-list-table.php
r32644 r32654 56 56 } 57 57 58 /** 59 * 60 * @return bool 61 */ 58 62 public function ajax_user_can() { 59 63 return current_user_can( get_taxonomy( $this->screen->taxonomy )->cap->manage_terms ); … … 115 119 } 116 120 121 /** 122 * 123 * @return bool 124 */ 117 125 public function has_items() { 118 126 // todo: populate $this->items in prepare_items() … … 124 132 } 125 133 134 /** 135 * 136 * @return array 137 */ 126 138 protected function get_bulk_actions() { 127 139 $actions = array(); … … 131 143 } 132 144 145 /** 146 * 147 * @return string 148 */ 133 149 public function current_action() { 134 150 if ( isset( $_REQUEST['action'] ) && isset( $_REQUEST['delete_tags'] ) && ( 'delete' == $_REQUEST['action'] || 'delete' == $_REQUEST['action2'] ) ) … … 138 154 } 139 155 156 /** 157 * 158 * @return array 159 */ 140 160 public function get_columns() { 141 161 $columns = array( … … 155 175 } 156 176 177 /** 178 * 179 * @return array 180 */ 157 181 protected function get_sortable_columns() { 158 182 return array( … … 218 242 * @param array $terms 219 243 * @param array $children 220 * @param int $start221 * @param int $per_page222 * @param int $count223 * @param int $parent224 * @param int $level244 * @param int $start 245 * @param int $per_page 246 * @param int $count 247 * @param int $parent 248 * @param int $level 225 249 */ 226 250 private function _rows( $taxonomy, $terms, &$children, $start, $per_page, &$count, $parent = 0, $level = 0 ) { -
trunk/src/wp-admin/includes/class-wp-theme-install-list-table.php
r32642 r32654 12 12 public $features = array(); 13 13 14 /** 15 * 16 * @return bool 17 */ 14 18 public function ajax_user_can() { 15 19 return current_user_can( 'install_themes' ); … … 417 421 * @global string $tab Current tab within Themes->Install screen 418 422 * @global string $type Type of search. 423 * 424 * @param array $extra_args Unused. 419 425 */ 420 426 public function _js_vars( $extra_args = array() ) { -
trunk/src/wp-admin/includes/class-wp-themes-list-table.php
r32116 r32654 30 30 } 31 31 32 /** 33 * 34 * @return bool 35 */ 32 36 public function ajax_user_can() { 33 37 // Do not check edit_theme_options here. AJAX calls for available themes require switch_themes. … … 98 102 /** 99 103 * @param string $which 100 * @return null101 104 */ 102 105 public function tablenav( $which = 'top' ) { … … 125 128 } 126 129 130 /** 131 * 132 * @return array 133 */ 127 134 public function get_columns() { 128 135 return array(); -
trunk/src/wp-admin/includes/class-wp-users-list-table.php
r32644 r32654 57 57 * @since 3.1.0 58 58 * @access public 59 * 60 * @return bool 59 61 */ 60 62 public function ajax_user_can() { -
trunk/src/wp-admin/includes/comment.php
r32642 r32654 21 21 global $wpdb; 22 22 23 $comment_author = stripslashes($comment_author);24 $comment_date = stripslashes($comment_date);25 26 23 return $wpdb->get_var( $wpdb->prepare("SELECT comment_post_ID FROM $wpdb->comments 27 WHERE comment_author = %s AND comment_date = %s", $comment_author, $comment_date) ); 24 WHERE comment_author = %s AND comment_date = %s", 25 stripslashes( $comment_author ), 26 stripslashes( $comment_date ) 27 ) ); 28 28 } 29 29 … … 34 34 */ 35 35 function edit_comment() { 36 37 36 if ( ! current_user_can( 'edit_comment', (int) $_POST['comment_ID'] ) ) 38 37 wp_die ( __( 'You are not allowed to edit comments on this post.' ) ); … … 81 80 * 82 81 * @param int $id ID of comment to retrieve. 83 * @return bool|objectComment if found. False on failure.82 * @return object|false Comment if found. False on failure. 84 83 */ 85 84 function get_comment_to_edit( $id ) { … … 157 156 * 158 157 * @since 2.5.0 159 * 158 * 160 159 * @global object $comment 161 160 * -
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(); -
trunk/src/wp-admin/includes/theme-install.php
r32653 r32654 51 51 * 52 52 * @since 2.8.0 53 * 54 * @param bool $type_selector 53 55 */ 54 56 function install_theme_search_form( $type_selector = true ) { … … 151 153 * 152 154 * @global WP_Theme_Install_List_Table $wp_list_table 155 * 156 * @param object $theme 153 157 */ 154 158 function display_theme( $theme ) { -
trunk/src/wp-admin/includes/theme.php
r32653 r32654 16 16 * @param string $stylesheet Stylesheet of the theme to delete 17 17 * @param string $redirect Redirect to page when complete. 18 * @return mixed18 * @return void|bool|WP_Error When void, echoes content. 19 19 */ 20 20 function delete_theme($stylesheet, $redirect = '') { … … 124 124 * @see get_theme_update_available() 125 125 * 126 * @param object$theme Theme data object.126 * @param WP_Theme $theme Theme data object. 127 127 */ 128 128 function theme_update_available( $theme ) { -
trunk/src/wp-admin/includes/update-core.php
r32653 r32654 778 778 * 779 779 * @param string $from New release unzipped path. 780 * @param string $to Path to old WordPress installation.780 * @param string $to Path to old WordPress installation. 781 781 * @return WP_Error|null WP_Error on failure, null on success. 782 782 */ … … 1119 1119 * @global WP_Filesystem_Base $wp_filesystem 1120 1120 * 1121 * @param string $from source directory1122 * @param string $to destination directory1121 * @param string $from source directory 1122 * @param string $to destination directory 1123 1123 * @param array $skip_list a list of files/folders to skip copying 1124 1124 * @return mixed WP_Error on failure, True on success. … … 1177 1177 * @global string $pagenow 1178 1178 * @global string $action 1179 * 1180 * @param string $new_version 1179 1181 */ 1180 1182 function _redirect_to_about_wordpress( $new_version ) { -
trunk/src/wp-admin/includes/update.php
r32653 r32654 10 10 * Selects the first update version from the update_core option. 11 11 * 12 * @return bool|objectThe response from the API on success, false on failure.12 * @return object|array|false The response from the API on success, false on failure. 13 13 */ 14 14 function get_preferred_from_update_core() { … … 25 25 * 26 26 * @param array $options Set $options['dismissed'] to true to show dismissed upgrades too, 27 * set $options['available'] to false to skip not-dismissed updates.28 * @return bool|arrayArray of the update objects on success, false on failure.27 * set $options['available'] to false to skip not-dismissed updates. 28 * @return array|false Array of the update objects on success, false on failure. 29 29 */ 30 30 function get_core_updates( $options = array() ) { … … 68 68 * @since 3.7.0 69 69 * 70 * @return bool|arrayFalse on failure, otherwise the core update offering.70 * @return array|false False on failure, otherwise the core update offering. 71 71 */ 72 72 function find_core_auto_update() { … … 129 129 } 130 130 131 /** 132 * 133 * @param object $update 134 * @return bool 135 */ 131 136 function dismiss_core_update( $update ) { 132 137 $dismissed = get_site_option( 'dismissed_update_core' ); … … 135 140 } 136 141 142 /** 143 * 144 * @param string $version 145 * @param string $locale 146 * @return bool 147 */ 137 148 function undismiss_core_update( $version, $locale ) { 138 149 $dismissed = get_site_option( 'dismissed_update_core' ); … … 146 157 } 147 158 159 /** 160 * 161 * @param string $version 162 * @param string $locale 163 * @return object|false 164 */ 148 165 function find_core_update( $version, $locale ) { 149 166 $from_api = get_site_transient( 'update_core' ); … … 160 177 } 161 178 179 /** 180 * 181 * @param string $msg 182 * @return string 183 */ 162 184 function core_update_footer( $msg = '' ) { 163 185 if ( !current_user_can('update_core') ) … … 265 287 } 266 288 289 /** 290 * 291 * @param string $file 292 * @param array $plugin_data 293 * @return false|void 294 */ 267 295 function wp_plugin_update_row( $file, $plugin_data ) { 268 296 $current = get_site_transient( 'update_plugins' ); … … 331 359 } 332 360 361 /** 362 * 363 * @return array 364 */ 333 365 function get_theme_updates() { 334 366 $current = get_site_transient('update_themes'); … … 360 392 } 361 393 394 /** 395 * 396 * @param string $theme_key 397 * @param WP_Theme $theme 398 * @return false|void 399 */ 362 400 function wp_theme_update_row( $theme_key, $theme ) { 363 401 $current = get_site_transient( 'update_themes' ); -
trunk/src/wp-admin/includes/upgrade.php
r32643 r32654 166 166 167 167 $wpdb->insert( $wpdb->posts, array( 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 168 'post_author' => $user_id, 169 'post_date' => $now, 170 'post_date_gmt' => $now_gmt, 171 'post_content' => $first_post, 172 'post_excerpt' => '', 173 'post_title' => __('Hello world!'), 174 /* translators: Default post slug */ 175 'post_name' => sanitize_title( _x('hello-world', 'Default post slug') ), 176 'post_modified' => $now, 177 'post_modified_gmt' => $now_gmt, 178 'guid' => $first_post_guid, 179 'comment_count' => 1, 180 'to_ping' => '', 181 'pinged' => '', 182 'post_content_filtered' => '' 183 )); 184 184 $wpdb->insert( $wpdb->term_relationships, array('term_taxonomy_id' => $cat_tt_id, 'object_id' => 1) ); 185 185 … … 195 195 } 196 196 $wpdb->insert( $wpdb->comments, array( 197 198 199 200 201 202 203 204 197 'comment_post_ID' => 1, 198 'comment_author' => $first_comment_author, 199 'comment_author_email' => '', 200 'comment_author_url' => $first_comment_url, 201 'comment_date' => $now, 202 'comment_date_gmt' => $now_gmt, 203 'comment_content' => $first_comment 204 )); 205 205 206 206 // First Page … … 218 218 $first_post_guid = get_option('home') . '/?page_id=2'; 219 219 $wpdb->insert( $wpdb->posts, array( 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 220 'post_author' => $user_id, 221 'post_date' => $now, 222 'post_date_gmt' => $now_gmt, 223 'post_content' => $first_page, 224 'post_excerpt' => '', 225 'post_title' => __( 'Sample Page' ), 226 /* translators: Default page slug */ 227 'post_name' => __( 'sample-page' ), 228 'post_modified' => $now, 229 'post_modified_gmt' => $now_gmt, 230 'guid' => $first_post_guid, 231 'post_type' => 'page', 232 'to_ping' => '', 233 'pinged' => '', 234 'post_content_filtered' => '' 235 )); 236 236 $wpdb->insert( $wpdb->postmeta, array( 'post_id' => 2, 'meta_key' => '_wp_page_template', 'meta_value' => 'default' ) ); 237 237 … … 393 393 * @global int $wp_db_version 394 394 * @global wpdb $wpdb 395 *396 * @return null If no update is necessary or site isn't completely installed, null.397 395 */ 398 396 function wp_upgrade() { … … 446 444 * @global int $wp_current_db_version 447 445 * @global int $wp_db_version 448 *449 * @return null If no update is necessary, null.450 446 */ 451 447 function upgrade_all() { … … 1748 1744 * @param string $table Database table name. 1749 1745 * @param string $index Index name to drop. 1750 * @return boolTrue, when finished.1746 * @return true True, when finished. 1751 1747 */ 1752 1748 function drop_index($table, $index) { … … 1771 1767 * @param string $table Database table name. 1772 1768 * @param string $index Database table index column. 1773 * @return boolTrue, when done with execution.1769 * @return true True, when done with execution. 1774 1770 */ 1775 1771 function add_clean_index($table, $index) { … … 1790 1786 * @param string $column_name The column name to add to the table. 1791 1787 * @param string $create_ddl The SQL statement used to add the column. 1792 * @return True if already exists or on successful completion, false on error.1788 * @return bool True if already exists or on successful completion, false on error. 1793 1789 */ 1794 1790 function maybe_add_column($table_name, $column_name, $create_ddl) { … … 2279 2275 // Don't copy anything. 2280 2276 continue; 2281 2277 } 2282 2278 } 2283 2279 … … 2332 2328 * @param string $theme_name The name of the theme. 2333 2329 * @param string $template The directory name of the theme. 2334 * @return null|false2330 * @return false|void 2335 2331 */ 2336 2332 function make_site_theme_from_default($theme_name, $template) { -
trunk/src/wp-admin/includes/user.php
r32653 r32654 12 12 * @since 2.0.0 13 13 * 14 * @return null|WP_Error|int Null when adding user, WP_Error or User ID integer when no parameters.14 * @return int|WP_Error WP_Error or User ID. 15 15 */ 16 16 function add_user() { … … 26 26 * 27 27 * @param int $user_id Optional. User ID. 28 * @return int user id of the updated user28 * @return int|WP_Error user id of the updated user 29 29 */ 30 30 function edit_user( $user_id = 0 ) { … … 411 411 /** 412 412 * @since 2.8.0 413 * 414 * @param int $user_ID 415 * @param object $old_data 413 416 */ 414 417 function default_password_nag_edit_user($user_ID, $old_data) { -
trunk/src/wp-admin/includes/widgets.php
r32650 r32654 55 55 * @since 3.1.0 56 56 * @access private 57 * 58 * @return int 57 59 */ 58 60 function _sort_name_callback( $a, $b ) { -
trunk/src/wp-admin/install-helper.php
r32642 r32654 158 158 * 159 159 * @param string $table_name Table name 160 * @param string $col_name Column name161 * @param string $col_type Column type162 * @param bool $is_nullOptional. Check is null.163 * @param mixed $keyOptional. Key info.164 * @param mixed $defaultOptional. Default value.165 * @param mixed $extraOptional. Extra value.160 * @param string $col_name Column name 161 * @param string $col_type Column type 162 * @param bool $is_null Optional. Check is null. 163 * @param mixed $key Optional. Key info. 164 * @param mixed $default Optional. Default value. 165 * @param mixed $extra Optional. Extra value. 166 166 * @return bool True, if matches. False, if not matching. 167 167 */ -
trunk/src/wp-admin/install.php
r32642 r32654 53 53 * 54 54 * @since 2.5.0 55 * 56 * @param string $body_classes 55 57 */ 56 58 function display_header( $body_classes = '' ) { … … 83 85 * 84 86 * @since 2.8.0 87 * 88 * @param string|null $error 85 89 */ 86 90 function display_setup_form( $error = null ) { -
trunk/src/wp-admin/load-styles.php
r28978 r32654 82 82 function wp_guess_url() {} 83 83 84 /** 85 * 86 * @param string $path 87 * @return string 88 */ 84 89 function get_file($path) { 85 90 -
trunk/src/wp-admin/menu.php
r32643 r32654 171 171 172 172 // Add 'Editor' to the bottom of the Appearance menu. 173 if ( ! is_multisite() ) 173 if ( ! is_multisite() ) { 174 174 add_action('admin_menu', '_add_themes_utility_last', 101); 175 } 176 /** 177 * 178 */ 175 179 function _add_themes_utility_last() { 176 180 // Must use API on the admin_menu hook, direct modification is only possible on/before the _admin_menu hook -
trunk/src/wp-admin/network.php
r32642 r32654 158 158 * 159 159 * @global bool $is_apache 160 * 161 * @param WP_Error $errors 160 162 */ 161 163 function network_step1( $errors = false ) { … … 337 339 * 338 340 * @global wpdb $wpdb 341 * 342 * @param WP_Error $errors 339 343 */ 340 344 function network_step2( $errors = false ) { -
trunk/src/wp-admin/network/users.php
r32333 r32654 17 17 wp_die( __( 'You do not have permission to access this page.' ), 403 ); 18 18 19 /** 20 * 21 * @param array $users 22 */ 19 23 function confirm_delete_users( $users ) { 20 24 $current_user = wp_get_current_user(); -
trunk/src/wp-admin/plugins.php
r32116 r32654 149 149 @ini_set('display_errors', true); //Ensure that Fatal errors are displayed. 150 150 // Go back to "sandbox" scope so we get the same errors as before 151 /** 152 * @param string $plugin 153 */ 151 154 function plugin_sandbox_scrape( $plugin ) { 152 155 wp_register_plugin_realpath( WP_PLUGIN_DIR . '/' . $plugin ); -
trunk/src/wp-admin/post.php
r32642 r32654 60 60 } 61 61 } else { 62 62 $message = 'draft' == $status ? 10 : 1; 63 63 } 64 64 -
trunk/src/wp-admin/setup-config.php
r32642 r32654 65 65 * @since 2.3.0 66 66 * 67 * @global string $wp_version68 67 * @global string $wp_local_package 69 68 * @global WP_Locale $wp_locale 69 * 70 * @param string|array $body_classes 70 71 */ 71 72 function setup_config_display_header( $body_classes = array() ) { 72 global $wp_version;73 73 $body_classes = (array) $body_classes; 74 74 $body_classes[] = 'wp-core-ui'; -
trunk/src/wp-admin/update-core.php
r32642 r32654 315 315 316 316 $form_action = 'update-core.php?action=do-theme-upgrade'; 317 318 317 ?> 319 318 <h3><?php _e( 'Themes' ); ?></h3> … … 382 381 * 383 382 * @global WP_Filesystem_Base $wp_filesystem Subclass 383 * 384 * @param bool $reinstall 384 385 */ 385 386 function do_core_upgrade( $reinstall = false ) { -
trunk/src/wp-admin/user-new.php
r32116 r32654 18 18 19 19 if ( is_multisite() ) { 20 /** 21 * 22 * @param string $text 23 * @return string 24 */ 20 25 function admin_created_user_email( $text ) { 21 26 $roles = get_editable_roles(); -
trunk/src/wp-admin/widgets.php
r32116 r32654 22 22 } 23 23 24 /** 25 * 26 * @param string $classes 27 * @return string 28 */ 24 29 function wp_widgets_access_body_class($classes) { 25 30 return "$classes widgets_access ";
Note: See TracChangeset
for help on using the changeset viewer.