Make WordPress Core


Ignore:
Timestamp:
01/29/2020 12:43:23 AM (5 years ago)
Author:
SergeyBiryukov
Message:

Docs: Improve inline comments per the documentation standards.

Includes minor code layout fixes for better readability.

See #48303.

File:
1 edited

Legend:

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

    r47084 r47122  
    771771                    $image_alt = wp_strip_all_tags( $image_alt, true );
    772772
    773                     // Update_meta expects slashed.
     773                    // update_post_meta() expects slashed.
    774774                    update_post_meta( $attachment_id, '_wp_attachment_image_alt', wp_slash( $image_alt ) );
    775775                }
     
    25302530    <form enctype="multipart/form-data" method="post" action="<?php echo esc_url( $form_action_url ); ?>" class="<?php echo $form_class; ?>" id="gallery-form">
    25312531        <?php wp_nonce_field( 'media-form' ); ?>
    2532         <?php //media_upload_form( $errors ); ?>
     2532        <?php // media_upload_form( $errors ); ?>
    25332533    <table class="widefat">
    25342534    <thead><tr>
     
    28322832    <form enctype="multipart/form-data" method="post" action="<?php echo esc_url( $form_action_url ); ?>" class="<?php echo $form_class; ?>" id="library-form">
    28332833    <?php wp_nonce_field( 'media-form' ); ?>
    2834     <?php //media_upload_form( $errors ); ?>
     2834    <?php // media_upload_form( $errors ); ?>
    28352835
    28362836    <script type="text/javascript">
Note: See TracChangeset for help on using the changeset viewer.