Making WordPress.org

Changeset 1725


Ignore:
Timestamp:
07/10/2015 08:38:42 PM (11 years ago)
Author:
iandunn
Message:

WordPress.tv: Re-align assignement operators.

See meta:#986

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/wordpress.tv/public_html/wp-content/themes/wptv2/plugins/wordpresstv-anon-upload/anon-upload.php

    r1724 r1725  
    263263        }
    264264
    265         $video_title    = $this->sanitize_text( $_posted['wptv_video_title'] );
     265        $video_title       = $this->sanitize_text( $_posted['wptv_video_title'] );
    266266        $producer_username = $this->sanitize_text( $_posted['wptv_producer_username'] );
    267         $speakers       = $this->sanitize_text( $_posted['wptv_speakers'] );
    268         $event          = $this->sanitize_text( $_posted['wptv_event'] );
    269         $description    = $this->sanitize_text( $_posted['wptv_video_description'], false );
    270         $language       = $this->sanitize_text( $_posted['wptv_language'] );
    271         $slides         = $this->sanitize_text( $_posted['wptv_slides_url'] );
    272         $ip             = $_SERVER['REMOTE_ADDR'];
    273         // todo realign in separate commit
     267        $speakers          = $this->sanitize_text( $_posted['wptv_speakers'] );
     268        $event             = $this->sanitize_text( $_posted['wptv_event'] );
     269        $description       = $this->sanitize_text( $_posted['wptv_video_description'], false );
     270        $language          = $this->sanitize_text( $_posted['wptv_language'] );
     271        $slides            = $this->sanitize_text( $_posted['wptv_slides_url'] );
     272        $ip                = $_SERVER['REMOTE_ADDR'];
    274273
    275274        $categories = '';
     
    284283
    285284        $post_meta = array(
    286             'attachment_id'   => $attachment_id,
    287             'submitted_by'    => $anon_author,
    288             'submitted_email' => $anon_author_email,
    289             'title'           => $video_title,
     285            'attachment_id'     => $attachment_id,
     286            'submitted_by'      => $anon_author,
     287            'submitted_email'   => $anon_author_email,
     288            'title'             => $video_title,
    290289            'producer_username' => $producer_username,
    291             'speakers'        => $speakers,
    292             'event'           => $event,
    293             'language'        => $language,
    294             'categories'      => $categories,
    295             'description'     => $description,
    296             'slides'          => $slides,
    297             'ip'              => $ip,
    298             // todo realign in separate commit
     290            'speakers'          => $speakers,
     291            'event'             => $event,
     292            'language'          => $language,
     293            'categories'        => $categories,
     294            'description'       => $description,
     295            'slides'            => $slides,
     296            'ip'                => $ip,
    299297        );
    300298
Note: See TracChangeset for help on using the changeset viewer.