Tarea #1069 -> A partir del 2º video, el reproductor se para
git-svn-id: https://192.168.0.254/svn/Proyectos.ASong2U_Web/trunk@167 cd1a4ea2-8c7f-e448-aada-19d1fee9e1d6
This commit is contained in:
parent
5aa28f3628
commit
683eda6df4
@ -18,6 +18,7 @@ add_action('wp_print_scripts', 'gp_enqueue_ajax_scripts');
|
|||||||
|
|
||||||
function gp_ajax_video_data() {
|
function gp_ajax_video_data() {
|
||||||
global $gp_settings, $post, $current_user, $bp;
|
global $gp_settings, $post, $current_user, $bp;
|
||||||
|
get_currentuserinfo();
|
||||||
|
|
||||||
$nonce = $_POST['postCommentNonce'];
|
$nonce = $_POST['postCommentNonce'];
|
||||||
if ( ! wp_verify_nonce( $nonce, 'myajax-post-comment-nonce' ) )
|
if ( ! wp_verify_nonce( $nonce, 'myajax-post-comment-nonce' ) )
|
||||||
@ -51,9 +52,9 @@ function gp_ajax_video_data() {
|
|||||||
$array = array();
|
$array = array();
|
||||||
$i = 0;
|
$i = 0;
|
||||||
|
|
||||||
$video = new WP_Query($args);
|
$listavideos = new WP_Query($args);
|
||||||
while ($video->have_posts()) {
|
while ($listavideos->have_posts()) {
|
||||||
$video->the_post();
|
$listavideos->the_post();
|
||||||
require(dirname(__FILE__).'/../../loop-dedication-data.php');
|
require(dirname(__FILE__).'/../../loop-dedication-data.php');
|
||||||
|
|
||||||
// Perfil del usuario: sólo mostrar las dedicadas por él y para él. El resto se descartan.
|
// Perfil del usuario: sólo mostrar las dedicadas por él y para él. El resto se descartan.
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user