Skip to content

Commit 4184a7a

Browse files
authored
Merge pull request #106 from madrasthemes/playlist_name_update
Add playlist name not change update
2 parents 8eda9cb + 05a793b commit 4184a7a

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

includes/masvideos-movie-playlist-functions.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ function masvideos_delete_movie_playlist_transients( $post_id = 0 ) {
110110
* @param array $args Playlist arguments.
111111
* @return int|WP_Error
112112
*/
113-
function masvideos_update_movie_playlist( $args, $id = 0) {
113+
function masvideos_update_movie_playlist( $id=0, $args=[]) {
114114
$movie_playlist = masvideos_get_movie_playlist( $id );
115115

116116
if ( ! $movie_playlist ) {

includes/masvideos-tv-show-playlist-functions.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ function masvideos_delete_tv_show_playlist_transients( $post_id = 0 ) {
110110
* @param array $args Playlist arguments.
111111
* @return int|WP_Error
112112
*/
113-
function masvideos_update_tv_show_playlist($args, $id = 0) {
113+
function masvideos_update_tv_show_playlist( $id = 0,$args=[]) {
114114
$tv_show_playlist = masvideos_get_tv_show_playlist( $id );
115115

116116
if ( ! $tv_show_playlist ) {

includes/masvideos-video-playlist-functions.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ function masvideos_delete_video_playlist_transients( $post_id = 0 ) {
110110
* @param array $args Playlist arguments.
111111
* @return int|WP_Error
112112
*/
113-
function masvideos_update_video_playlist( $args, $id = 0) {
113+
function masvideos_update_video_playlist( $id = 0,$args=[]) {
114114
$video_playlist = masvideos_get_video_playlist( $id );
115115

116116
if ( ! $video_playlist ) {

0 commit comments

Comments
 (0)