PluginProbe
WpStream – Live Streaming, Video on Demand, Pay Per View / 4.4.10
WpStream – Live Streaming, Video on Demand, Pay Per View v4.4.10
4.14.1 4.14.0 4.13.2 4.13.1 4.13 4.12.5 4.12.4 4.12.3 4.12.2 4.12.1 4.12 4.4.4 4.4.5 4.4.6 4.4.7 4.4.8 4.4.9 4.5 4.5.1 4.5.11 4.5.11.1 4.5.11.2 4.5.11.4 4.5.11.5 4.5.11.6 All 181 releases
← All changes | includes/class-wpstream.php +5 -4 4.4.84.4.10 View file →
@@ -397,9 +397,9 @@
397 397 public function show_user_data($pack_details){
398 398 if( isset($pack_details['available_data_mb']) && isset( $pack_details['available_storage_mb']) ){
399 399 $wpstream_convert_band = $this->wpstream_convert_band($pack_details['available_data_mb']);
400 400 if($wpstream_convert_band<0)$wpstream_convert_band=0;
401 - // print_r($pack_details);
401 +
402 402 $wpstream_convert_storage = $this->wpstream_convert_band($pack_details['available_storage_mb']);
403 403 if($wpstream_convert_storage<0)$wpstream_convert_storage=0;
404 404
405 405 print '<div class="pack_details_wrapper"><strong>'.__('Your account information: ','wpstream').'</strong> '.__('You have','wpstream').'<strong> '.$wpstream_convert_band.' Gb</strong> '.__('available streaming data and','wpstream').' <strong>'.$wpstream_convert_storage.' Gb</strong> '.__('available recording storage','wpstream');
@@ -832,9 +832,9 @@
832 832 if($item_id == 0){
833 833 //retrive or create channel for front end streamers
834 834 $item_id=$this->wpstream_retrive_front_end_channel();
835 835 }
836 - print'</div><div class="wpstream_modal_background"></div>';
836 + print'<div class="wpstream_modal_background"></div>';
837 837 print '<div class="wpstream_error_modal_notification"><div class="wpstream_error_content">er2</div>
838 838 <div class="wpstream_error_ok wpstream_button" type="button">'.esc_html__('Close','wpstream').'</div>
839 839 </div>';
840 840 $this->admin->wpstream_live_stream_unit( $item_id,$type );
@@ -924,14 +924,15 @@
924 924 ;
925 925 $author_posts = new WP_Query( $args );
926 926 if( $author_posts->have_posts() ) {
927 927 $author_posts->the_post();
928 - return get_the_ID();
928 + $the_id= get_the_ID();
929 929 }else{
930 - return 0;
930 + $the_id= 0;
931 931 }
932 932
933 933 wp_reset_query();
934 934 wp_reset_postdata();
935 + return $the_id;
935 936 }
936 937
937 938 }