Changeset 12687 for trunk/wp-includes/general-template.php
- Timestamp:
- 01/10/2010 03:50:17 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/general-template.php
r12598 r12687 1293 1293 * @since 1.5.0 1294 1294 * 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. 1296 1296 * @param int|object $post Optional post ID or object. Default is global $post object. 1297 1297 * @return string … … 1312 1312 * @since 2.0.0 1313 1313 * 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. 1316 1316 * @param int|object $post Optional post ID or object. Default is global $post object. 1317 1317 * @param bool $translate Whether to translate the time string or not … … 1335 1335 * @since 2.0.0 1336 1336 * 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. 1338 1338 */ 1339 1339 function the_modified_time($d = '') { … … 1346 1346 * @since 2.0.0 1347 1347 * 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. 1349 1349 * @return string 1350 1350 */ … … 1362 1362 * @since 2.0.0 1363 1363 * 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 object1367 * @param bool translateWhether to translate the result or not1364 * @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 1368 1368 * @return string Returns timestamp 1369 1369 */ … … 1402 1402 * @since 0.71 1403 1403 * 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. 1406 1406 */ 1407 1407 function the_weekday_date($before='',$after='') { … … 1443 1443 * @since 2.8.0 1444 1444 * 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. 1446 1446 */ 1447 1447 function automatic_feed_links( $add = true ) { … … 1461 1461 * @param array $args Optional arguments. 1462 1462 */ 1463 function feed_links( $args ) {1463 function feed_links( $args = array() ) { 1464 1464 $defaults = array( 1465 1465 /* translators: Separator between blog name and feed type in feed links */ … … 1484 1484 * @param array $args Optional arguments. 1485 1485 */ 1486 function feed_links_extra( $args ) {1486 function feed_links_extra( $args = array() ) { 1487 1487 $defaults = array( 1488 1488 /* translators: Separator between blog name and feed type in feed links */ … … 1644 1644 * 1645 1645 * @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. 1648 1648 * @param bool $media_buttons Optional, default is true. Whether to display media buttons. 1649 1649 * @param int $tab_index Optional, default is 2. Tabindex for textarea element. … … 1904 1904 * @param string $name The name of the theme. 1905 1905 * @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. 1907 1907 */ 1908 1908 function wp_admin_css_color($key, $name, $url, $colors = array()) {
Note: See TracChangeset
for help on using the changeset viewer.