Make WordPress Core


Ignore:
Timestamp:
01/10/2010 03:50:17 PM (15 years ago)
Author:
ryan
Message:

phpdoc updates. Props sirzooro. fixes #11853

File:
1 edited

Legend:

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

    r12598 r12687  
    12931293 * @since 1.5.0
    12941294 *
    1295  * @param string $d Either 'G', 'U', or php date format defaults to the value specified in the time_format option.
     1295 * @param string $d Optional Either 'G', 'U', or php date format defaults to the value specified in the time_format option.
    12961296 * @param int|object $post Optional post ID or object. Default is global $post object.
    12971297 * @return string
     
    13121312 * @since 2.0.0
    13131313 *
    1314  * @param string $d Either 'G', 'U', or php date format.
    1315  * @param bool $gmt Whether of not to return the gmt time.
     1314 * @param string $d Optional Either 'G', 'U', or php date format.
     1315 * @param bool $gmt Optional, default is false. Whether of not to return the gmt time.
    13161316 * @param int|object $post Optional post ID or object. Default is global $post object.
    13171317 * @param bool $translate Whether to translate the time string or not
     
    13351335 * @since 2.0.0
    13361336 *
    1337  * @param string $d Either 'G', 'U', or php date format defaults to the value specified in the time_format option.
     1337 * @param string $d Optional Either 'G', 'U', or php date format defaults to the value specified in the time_format option.
    13381338 */
    13391339function the_modified_time($d = '') {
     
    13461346 * @since 2.0.0
    13471347 *
    1348  * @param string $d Either 'G', 'U', or php date format defaults to the value specified in the time_format option.
     1348 * @param string $d Optional Either 'G', 'U', or php date format defaults to the value specified in the time_format option.
    13491349 * @return string
    13501350 */
     
    13621362 * @since 2.0.0
    13631363 *
    1364  * @param string $d Either 'G', 'U', or php date format.
    1365  * @param bool $gmt Whether of not to return the gmt time.
    1366  * @param int|object $post A post_id or post object
    1367  * @param bool translate Whether to translate the result or not
     1364 * @param string $d Optional, default is 'U'. Either 'G', 'U', or php date format.
     1365 * @param bool $gmt Optional, default is false. Whether of not to return the gmt time.
     1366 * @param int|object $post Optional, default is global post object. A post_id or post object
     1367 * @param bool $translate Optional, default is false. Whether to translate the result or not
    13681368 * @return string Returns timestamp
    13691369 */
     
    14021402 * @since 0.71
    14031403 *
    1404  * @param string $before output before the date.
    1405  * @param string $after output after the date.
     1404 * @param string $before Optional Output before the date.
     1405 * @param string $after Optional Output after the date.
    14061406  */
    14071407function the_weekday_date($before='',$after='') {
     
    14431443 * @since 2.8.0
    14441444 *
    1445  * @param boolean $add Add or remove links. Defaults to true.
     1445 * @param boolean $add Optional, default is true. Add or remove links. Defaults to true.
    14461446 */
    14471447function automatic_feed_links( $add = true ) {
     
    14611461 * @param array $args Optional arguments.
    14621462 */
    1463 function feed_links( $args ) {
     1463function feed_links( $args = array() ) {
    14641464    $defaults = array(
    14651465        /* translators: Separator between blog name and feed type in feed links */
     
    14841484 * @param array $args Optional arguments.
    14851485 */
    1486 function feed_links_extra( $args ) {
     1486function feed_links_extra( $args = array() ) {
    14871487    $defaults = array(
    14881488        /* translators: Separator between blog name and feed type in feed links */
     
    16441644 *
    16451645 * @param string $content Textarea content.
    1646  * @param string $id HTML ID attribute value.
    1647  * @param string $prev_id HTML ID name for switching back and forth between visual editors.
     1646 * @param string $id Optional, default is 'content'. HTML ID attribute value.
     1647 * @param string $prev_id Optional, default is 'title'. HTML ID name for switching back and forth between visual editors.
    16481648 * @param bool $media_buttons Optional, default is true. Whether to display media buttons.
    16491649 * @param int $tab_index Optional, default is 2. Tabindex for textarea element.
     
    19041904 * @param string $name The name of the theme.
    19051905 * @param string $url The url of the css file containing the colour scheme.
    1906  * @param array @colors An array of CSS color definitions which are used to give the user a feel for the theme.
     1906 * @param array @colors Optional An array of CSS color definitions which are used to give the user a feel for the theme.
    19071907 */
    19081908function wp_admin_css_color($key, $name, $url, $colors = array()) {
Note: See TracChangeset for help on using the changeset viewer.