Skip to content

Commit 1f7977d

Browse files
committed
Docs: Use third-person singular verbs for function descriptions in WP_Embed class, per the documentation standards.
See #54729. git-svn-id: https://develop.svn.wordpress.org/trunk@53046 602fd350-edb4-49c9-b593-d223f7449a82
1 parent b0aefcf commit 1f7977d

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

src/wp-includes/class-wp-embed.php

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -47,16 +47,16 @@ public function __construct() {
4747
}
4848

4949
/**
50-
* Process the [embed] shortcode.
50+
* Processes the [embed] shortcode.
5151
*
5252
* Since the [embed] shortcode needs to be run earlier than other shortcodes,
5353
* this function removes all existing shortcodes, registers the [embed] shortcode,
5454
* calls do_shortcode(), and then re-registers the old shortcodes.
5555
*
5656
* @global array $shortcode_tags
5757
*
58-
* @param string $content Content to parse
59-
* @return string Content with shortcode parsed
58+
* @param string $content Content to parse.
59+
* @return string Content with shortcode parsed.
6060
*/
6161
public function run_shortcode( $content ) {
6262
global $shortcode_tags;
@@ -376,7 +376,7 @@ public function shortcode( $attr, $url = '' ) {
376376
}
377377

378378
/**
379-
* Delete all oEmbed caches. Unused by core as of 4.0.0.
379+
* Deletes all oEmbed caches. Unused by core as of 4.0.0.
380380
*
381381
* @param int $post_ID Post ID to delete the caches for.
382382
*/
@@ -491,7 +491,7 @@ public function maybe_make_link( $url ) {
491491
}
492492

493493
/**
494-
* Find the oEmbed cache post ID for a given cache key.
494+
* Finds the oEmbed cache post ID for a given cache key.
495495
*
496496
* @since 4.9.0
497497
*

0 commit comments

Comments
 (0)