Make WordPress Core


Ignore:
Timestamp:
09/10/2012 08:04:33 PM (12 years ago)
Author:
ryan
Message:

phpdoc fixes and additions for post-template.php. Props c3mdigital. fixes #21220

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/post-template.php

    r21767 r21799  
    234234 * @access private
    235235 * @param array $match Match array from preg_replace_callback
    236  * @returns string
     236 * @return string
    237237 */
    238238function _convert_urlencoded_to_entities( $match ) {
     
    870870 *
    871871 * @param array|string $args
     872 * @return string html menu
    872873 */
    873874function wp_page_menu( $args = array() ) {
     
    983984     * @param string $output Passed by reference. Used to append additional content.
    984985     * @param int $depth Depth of page. Used for padding.
     986     * @param array $args
    985987     */
    986988    function start_lvl( &$output, $depth = 0, $args = array() ) {
     
    995997     * @param string $output Passed by reference. Used to append additional content.
    996998     * @param int $depth Depth of page. Used for padding.
     999     * @param array $args
    9971000     */
    9981001    function end_lvl( &$output, $depth = 0, $args = array() ) {
     
    10521055     * @param object $page Page data object. Not used.
    10531056     * @param int $depth Depth of page. Not Used.
     1057     * @param array $args
    10541058     */
    10551059    function end_el( &$output, $page, $depth = 0, $args = array() ) {
     
    10901094     * @param int $depth Depth of page in reference to parent pages. Used for padding.
    10911095     * @param array $args Uses 'selected' argument for selected page to set selected HTML attribute for option element.
     1096     * @param int $id
    10921097     */
    10931098    function start_el(&$output, $page, $depth, $args, $id = 0) {
     
    11381143 * @param bool $permalink Optional, default is false. Whether to add permalink to image.
    11391144 * @param bool $icon Optional, default is false. Whether to include icon.
    1140  * @param string $text Optional, default is false. If string, then will be link text.
     1145 * @param string|bool $text Optional, default is false. If string, then will be link text.
    11411146 * @return string HTML content.
    11421147 */
     
    12491254 * @since 3.4.0
    12501255 *
    1251  * @param int $id The page ID to check. Defaults to the current post, when used in the loop.
     1256 * @param int $post_id The page ID to check. Defaults to the current post, when used in the loop.
    12521257 * @return string|bool Page template filename. Returns an empty string when the default page template
    12531258 *  is in use. Returns false if the post is not a page.
Note: See TracChangeset for help on using the changeset viewer.