WordPress.org

Make WordPress Core


Ignore:
Timestamp:
06/20/2020 12:00:07 PM (11 months ago)
Author:
SergeyBiryukov
Message:

Docs: Capitalize "ID", when referring to a post ID, term ID, etc. in a more consistent way.

See #49572.

File:
1 edited

Legend:

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

    r47808 r48104  
    15161516                $taxonomies = array_keys( $post_data['terms'] );
    15171517
    1518                 // Validating term ids.
     1518                // Validating term IDs.
    15191519                foreach ( $taxonomies as $taxonomy ) {
    15201520                    if ( ! array_key_exists( $taxonomy, $post_type_taxonomies ) ) {
     
    56575657
    56585658        /*
    5659          * If there is no post data for the give post id, stop now and return an error.
     5659         * If there is no post data for the give post ID, stop now and return an error.
    56605660         * Otherwise a new post will be created (which was the old behavior).
    56615661         */
Note: See TracChangeset for help on using the changeset viewer.