Add missing doc blocks to template.php
.
See #32444. git-svn-id: https://develop.svn.wordpress.org/trunk@32628 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
be0175838b
commit
c8ec7ffffa
@ -399,6 +399,8 @@ function get_single_template() {
|
||||
*
|
||||
* @see get_query_template()
|
||||
*
|
||||
* @global array $posts
|
||||
*
|
||||
* @return string Full path to attachment template file.
|
||||
*/
|
||||
function get_attachment_template() {
|
||||
@ -488,6 +490,18 @@ function locate_template($template_names, $load = false, $require_once = true )
|
||||
*
|
||||
* @since 1.5.0
|
||||
*
|
||||
* @global array $posts
|
||||
* @global WP_Post $post
|
||||
* @global bool $wp_did_header
|
||||
* @global WP_Query $wp_query
|
||||
* @global WP_Rewrite $wp_rewrite
|
||||
* @global wpdb $wpdb
|
||||
* @global string $wp_version
|
||||
* @global WP $wp
|
||||
* @global int $id
|
||||
* @global object $comment
|
||||
* @global int $user_ID
|
||||
*
|
||||
* @param string $_template_file Path to template file.
|
||||
* @param bool $require_once Whether to require_once or require. Default true.
|
||||
*/
|
||||
|
Loading…
Reference in New Issue
Block a user