Changeset 27473 for trunk/src/wp-includes/post-template.php
- Timestamp:
- 03/08/2014 07:31:51 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/post-template.php
r27429 r27473 97 97 * @since 0.71 98 98 * 99 * @param int| object $post Optional. Post ID orobject.99 * @param int|WP_Post $post Optional. Post ID or post object. 100 100 * @return string 101 101 */ … … 130 130 * @since 1.5.0 131 131 * 132 * @param int $id Optional. Post ID.132 * @param int|WP_Post $id Optional. Post ID or post object. 133 133 */ 134 134 function the_guid( $id = 0 ) { … … 145 145 * @since 1.5.0 146 146 * 147 * @param int $id Optional. Post ID.147 * @param int|WP_Post $id Optional. Post ID or post object. 148 148 * @return string 149 149 */ … … 281 281 * @since 2.3.0 282 282 * 283 * @param int $id Optional. Post ID.283 * @param int|WP_Post $id Optional. Post ID or post object. 284 284 * @return bool 285 285 */ … … 295 295 * 296 296 * @param string|array $class One or more classes to add to the class list. 297 * @param int $post_id An optional post ID.297 * @param int|WP_Post $post_id Optional. Post ID or post object. 298 298 */ 299 299 function post_class( $class = '', $post_id = null ) { … … 317 317 * 318 318 * @param string|array $class One or more classes to add to the class list. 319 * @param int $post_id An optional post ID.319 * @param int|WP_Post $post_id Optional. Post ID or post object. 320 320 * @return array Array of classes. 321 321 */ … … 1174 1174 * @since 2.0.0 1175 1175 * 1176 * @param int $id Optional. Post ID.1176 * @param int|WP_Post $id Optional. Post ID or post object. 1177 1177 * @param bool $fullsize Optional, default is false. Whether to use full size. 1178 1178 * @param bool $deprecated Deprecated. Not used. … … 1195 1195 * @uses apply_filters() Calls 'wp_get_attachment_link' filter on HTML content with same parameters as function. 1196 1196 * 1197 * @param int $id Optional. Post ID.1197 * @param int|WP_Post $id Optional. Post ID or post object. 1198 1198 * @param string $size Optional, default is 'thumbnail'. Size of image, either array or string. 1199 1199 * @param bool $permalink Optional, default is false. Whether to add permalink to image. … … 1260 1260 * @since 1.0.0 1261 1261 * @uses apply_filters() Calls 'the_password_form' filter on output. 1262 * @param int|WP_Post $post Optional. A post id or post object. Defaults to the current post when in The Loop, undefined otherwise.1262 * @param int|WP_Post $post Optional. A post ID or post object. 1263 1263 * @return string HTML content for password form for password protected post. 1264 1264 */ … … 1421 1421 * @uses get_the_author_meta() 1422 1422 * 1423 * @param int| object $post_idPost ID or post object.1423 * @param int|WP_Post $post_id Optional. Post ID or post object. 1424 1424 * @param string $type 'all' (default), 'revision' or 'autosave' 1425 1425 * @return null
Note: See TracChangeset
for help on using the changeset viewer.