Making WordPress.org

Changeset 9745


Ignore:
Timestamp:
04/20/2020 02:54:13 AM (6 years ago)
Author:
dd32
Message:

WordPress.TV: Set the default post title to Speakers: Video Title to match the WordPress.tv naming.

See https://wordpress.slack.com/archives/C037W5MBT/p1587349553150700
See #4667.

File:
1 edited

Legend:

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

    r9744 r9745  
    249249                $anon_post = get_object_vars( $anon_post );
    250250
    251                 $anon_post['post_title']   = $this->sanitize_text( $_posted['wptv_video_title'] );
     251                $anon_post['post_title']   = $this->sanitize_text( $_posted['wptv_speakers'] ) . ': ' . $this->sanitize_text( $_posted['wptv_video_title'] );
    252252                $anon_post['post_excerpt'] = '';
    253253                $anon_post['post_author']  = $this->drafts_author;
Note: See TracChangeset for help on using the changeset viewer.