Make WordPress Core


Ignore:
Timestamp:
07/17/2014 09:13:53 AM (11 years ago)
Author:
DrewAPicture
Message:

Fix syntax for single- and multi-line comments in wp-admin-directory files.

See #28931.

File:
1 edited

Legend:

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

    r28969 r29206  
    303303            if ( $image_alt != get_post_meta( $post_ID, '_wp_attachment_image_alt', true ) ) {
    304304                $image_alt = wp_strip_all_tags( $image_alt, true );
    305                 // update_meta expects slashed
     305                // update_meta expects slashed.
    306306                update_post_meta( $post_ID, '_wp_attachment_image_alt', wp_slash( $image_alt ) );
    307307            }
     
    741741
    742742    if ( ('0' === $metavalue || ! empty ( $metavalue ) ) && ( ( ( '#NONE#' != $metakeyselect ) && !empty ( $metakeyselect) ) || !empty ( $metakeyinput ) ) ) {
    743         // We have a key/value pair. If both the select and the
    744         // input for the key have data, the input takes precedence:
    745 
     743        /*
     744         * We have a key/value pair. If both the select and the input
     745         * for the key have data, the input takes precedence.
     746         */
    746747        if ( '#NONE#' != $metakeyselect )
    747748            $metakey = $metakeyselect;
Note: See TracChangeset for help on using the changeset viewer.