Make WordPress Core

Changeset 53046


Ignore:
Timestamp:
04/01/2022 08:30:07 AM (2 years ago)
Author:
audrasjb
Message:

Docs: Use third-person singular verbs for function descriptions in WP_Embed class, per the documentation standards.

See #54729.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/class-wp-embed.php

    r52285 r53046  
    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,
     
    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 ) {
     
    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.
     
    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
Note: See TracChangeset for help on using the changeset viewer.