Changeset 53539
- Timestamp:
- 06/20/2022 09:44:27 PM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/feed.php
r50916 r53539 12 12 13 13 /** 14 * R SS container for the bloginfo function.14 * Retrieves RSS container for the bloginfo function. 15 15 * 16 16 * You can retrieve anything that you can using the get_bloginfo() function. … … 42 42 43 43 /** 44 * Display RSS container for the bloginfo function.44 * Displays RSS container for the bloginfo function. 45 45 * 46 46 * You can retrieve anything that you can using the get_bloginfo() function. … … 69 69 70 70 /** 71 * Retrieve the default feed.71 * Retrieves the default feed. 72 72 * 73 73 * The default feed is 'rss2', unless a plugin changes it through the … … 93 93 94 94 /** 95 * Retrieve the blog title for the feed title.95 * Retrieves the blog title for the feed title. 96 96 * 97 97 * @since 2.2.0 98 98 * @since 4.4.0 The optional `$sep` parameter was deprecated and renamed to `$deprecated`. 99 99 * 100 * @param string $deprecated Unused. .100 * @param string $deprecated Unused. 101 101 * @return string The document title. 102 102 */ … … 120 120 121 121 /** 122 * Display the blog title for display of the feed title.122 * Displays the blog title for display of the feed title. 123 123 * 124 124 * @since 2.2.0 … … 148 148 149 149 /** 150 * Retrieve the current post title for the feed.150 * Retrieves the current post title for the feed. 151 151 * 152 152 * @since 2.0.0 … … 168 168 169 169 /** 170 * Display the post title in the feed.170 * Displays the post title in the feed. 171 171 * 172 172 * @since 0.71 … … 177 177 178 178 /** 179 * Retrieve the post content for feeds.179 * Retrieves the post content for feeds. 180 180 * 181 181 * @since 2.9.0 … … 208 208 209 209 /** 210 * Display the post content for feeds.210 * Displays the post content for feeds. 211 211 * 212 212 * @since 2.9.0 … … 219 219 220 220 /** 221 * Display the post excerpt for the feed.221 * Displays the post excerpt for the feed. 222 222 * 223 223 * @since 0.71 … … 236 236 237 237 /** 238 * Display the permalink to the post for use in feeds.238 * Displays the permalink to the post for use in feeds. 239 239 * 240 240 * @since 2.3.0 … … 252 252 253 253 /** 254 * Outputs the link to the comments for the current post in an xml safe way254 * Outputs the link to the comments for the current post in an XML safe way. 255 255 * 256 256 * @since 3.0.0 … … 269 269 270 270 /** 271 * Display the feed GUID for the current comment.271 * Displays the feed GUID for the current comment. 272 272 * 273 273 * @since 2.5.0 … … 280 280 281 281 /** 282 * Retrieve the feed GUID for the current comment.282 * Retrieves the feed GUID for the current comment. 283 283 * 284 284 * @since 2.5.0 … … 298 298 299 299 /** 300 * Display the link to the comments.300 * Displays the link to the comments. 301 301 * 302 302 * @since 1.5.0 … … 319 319 320 320 /** 321 * Retrieve the current comment author for use in the feeds.321 * Retrieves the current comment author for use in the feeds. 322 322 * 323 323 * @since 2.0.0 324 324 * 325 * @return string Comment Author 325 * @return string Comment Author. 326 326 */ 327 327 function get_comment_author_rss() { … … 339 339 340 340 /** 341 * Display the current comment author in the feed.341 * Displays the current comment author in the feed. 342 342 * 343 343 * @since 1.0.0 … … 348 348 349 349 /** 350 * Display the current comment content for use in the feeds.350 * Displays the current comment content for use in the feeds. 351 351 * 352 352 * @since 1.0.0 … … 366 366 367 367 /** 368 * Retrieve all of the post categories, formatted for use in feeds.368 * Retrieves all of the post categories, formatted for use in feeds. 369 369 * 370 370 * All of the categories for the current post in the feed loop, will be … … 428 428 429 429 /** 430 * Display the post categories in the feed.430 * Displays the post categories in the feed. 431 431 * 432 432 * @since 0.71 … … 441 441 442 442 /** 443 * Display the HTML type based on the blog setting.443 * Displays the HTML type based on the blog setting. 444 444 * 445 445 * The two possible values are either 'xhtml' or 'html'. … … 458 458 459 459 /** 460 * Display the rss enclosure for the current post.460 * Displays the rss enclosure for the current post. 461 461 * 462 462 * Uses the global $post to check whether the post requires a password and if … … 499 499 500 500 /** 501 * Display the atom enclosure for the current post.501 * Displays the atom enclosure for the current post. 502 502 * 503 503 * Uses the global $post to check whether the post requires a password and if … … 564 564 565 565 /** 566 * Determine the type of a string of data with the data formatted.566 * Determines the type of a string of data with the data formatted. 567 567 * 568 568 * Tell whether the type is text, HTML, or XHTML, per RFC 4287 section 3.1. … … 577 577 * @since 2.5.0 578 578 * 579 * @param string $data Input string 579 * @param string $data Input string. 580 580 * @return array array(type, value) 581 581 */ … … 664 664 665 665 /** 666 * Display the link for the currently displayed feed in a XSS safe way.666 * Displays the link for the currently displayed feed in a XSS safe way. 667 667 * 668 668 * Generate a correct link for the atom:self element. … … 685 685 686 686 /** 687 * Get the UTC time of the most recently modified post from WP_Query.687 * Gets the UTC time of the most recently modified post from WP_Query. 688 688 * 689 689 * If viewing a comment feed, the time of the most recently modified … … 743 743 744 744 /** 745 * Return the content type for specified feed type.745 * Returns the content type for specified feed type. 746 746 * 747 747 * @since 2.8.0 … … 776 776 777 777 /** 778 * Build SimplePie object based on RSS or Atom feed from URL.778 * Builds SimplePie object based on RSS or Atom feed from URL. 779 779 * 780 780 * @since 2.8.0
Note: See TracChangeset
for help on using the changeset viewer.