Changeset 32628
- Timestamp:
- 05/27/2015 10:03:52 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/template.php
r32298 r32628 17 17 * @since 1.5.0 18 18 * 19 * @param string $type Filename without extension.20 * @param array $templates An optional list of template candidates19 * @param string $type Filename without extension. 20 * @param array $templates An optional list of template candidates 21 21 * @return string Full path to template file. 22 22 */ … … 400 400 * @see get_query_template() 401 401 * 402 * @global array $posts 403 * 402 404 * @return string Full path to attachment template file. 403 405 */ … … 456 458 * 457 459 * @param string|array $template_names Template file(s) to search for, in order. 458 * @param bool $loadIf true the template file will be loaded if it is found.459 * @param bool $require_onceWhether to require_once or require. Default true. Has no effect if $load is false.460 * @param bool $load If true the template file will be loaded if it is found. 461 * @param bool $require_once Whether to require_once or require. Default true. Has no effect if $load is false. 460 462 * @return string The template filename if one is located. 461 463 */ … … 489 491 * @since 1.5.0 490 492 * 493 * @global array $posts 494 * @global WP_Post $post 495 * @global bool $wp_did_header 496 * @global WP_Query $wp_query 497 * @global WP_Rewrite $wp_rewrite 498 * @global wpdb $wpdb 499 * @global string $wp_version 500 * @global WP $wp 501 * @global int $id 502 * @global object $comment 503 * @global int $user_ID 504 * 491 505 * @param string $_template_file Path to template file. 492 * @param bool $require_onceWhether to require_once or require. Default true.506 * @param bool $require_once Whether to require_once or require. Default true. 493 507 */ 494 508 function load_template( $_template_file, $require_once = true ) {
Note: See TracChangeset
for help on using the changeset viewer.