Make WordPress Core


Ignore:
Timestamp:
11/08/2014 08:55:14 PM (10 years ago)
Author:
DrewAPicture
Message:

Fix the syntax for some status-related documentation introduced in [30155].

  • Variables in DocBlocks should be backtick-escaped
  • Parameter and return types should be as specific as possible
  • @param types and variables should align with each other, but not intentionally with the @return description

See #30230.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/includes/ajax-actions.php

    r30168 r30284  
    11501150            wp_die( 1 );
    11511151
    1152         // If the post is an autodraft, save the post as a draft and then
    1153         // attempt to save the meta.
     1152        // If the post is an autodraft, save the post as a draft and then attempt to save the meta.
    11541153        if ( $post->post_status == 'auto-draft' ) {
    11551154            $save_POST = $_POST; // Backup $_POST
Note: See TracChangeset for help on using the changeset viewer.