Plugin Directory

Changeset 2464681


Ignore:
Timestamp:
01/29/2021 06:08:01 AM (4 years ago)
Author:
yousufansa
Message:

Releasing v1.2.5

Location:
masvideos/trunk
Files:
10 edited

Legend:

Unmodified
Added
Removed
  • masvideos/trunk/includes/abstracts/abstract-masvideos-episode.php

    r2126107 r2464681  
    10781078        if ( isset( $attributes[ $attribute ] ) ) {
    10791079            $attribute_object = $attributes[ $attribute ];
    1080         } elseif ( isset( $attributes[ 'pa_' . $attribute ] ) ) {
    1081             $attribute_object = $attributes[ 'pa_' . $attribute ];
     1080        } elseif ( isset( $attributes[ 'episode_' . $attribute ] ) ) {
     1081            $attribute_object = $attributes[ 'episode_' . $attribute ];
    10821082        } else {
    10831083            return '';
  • masvideos/trunk/includes/abstracts/abstract-masvideos-movie.php

    r2354598 r2464681  
    12001200        if ( isset( $attributes[ $attribute ] ) ) {
    12011201            $attribute_object = $attributes[ $attribute ];
    1202         } elseif ( isset( $attributes[ 'pa_' . $attribute ] ) ) {
    1203             $attribute_object = $attributes[ 'pa_' . $attribute ];
     1202        } elseif ( isset( $attributes[ 'movie_' . $attribute ] ) ) {
     1203            $attribute_object = $attributes[ 'movie_' . $attribute ];
    12041204        } else {
    12051205            return '';
  • masvideos/trunk/includes/abstracts/abstract-masvideos-person.php

    r2125857 r2464681  
    919919        if ( isset( $attributes[ $attribute ] ) ) {
    920920            $attribute_object = $attributes[ $attribute ];
    921         } elseif ( isset( $attributes[ 'pa_' . $attribute ] ) ) {
    922             $attribute_object = $attributes[ 'pa_' . $attribute ];
     921        } elseif ( isset( $attributes[ 'person_' . $attribute ] ) ) {
     922            $attribute_object = $attributes[ 'person_' . $attribute ];
    923923        } else {
    924924            return '';
  • masvideos/trunk/includes/abstracts/abstract-masvideos-tv-show.php

    r2354598 r2464681  
    987987        if ( isset( $attributes[ $attribute ] ) ) {
    988988            $attribute_object = $attributes[ $attribute ];
    989         } elseif ( isset( $attributes[ 'pa_' . $attribute ] ) ) {
    990             $attribute_object = $attributes[ 'pa_' . $attribute ];
     989        } elseif ( isset( $attributes[ 'tv_show_' . $attribute ] ) ) {
     990            $attribute_object = $attributes[ 'tv_show_' . $attribute ];
    991991        } else {
    992992            return '';
  • masvideos/trunk/includes/abstracts/abstract-masvideos-video.php

    r2089087 r2464681  
    858858        if ( isset( $attributes[ $attribute ] ) ) {
    859859            $attribute_object = $attributes[ $attribute ];
    860         } elseif ( isset( $attributes[ 'pa_' . $attribute ] ) ) {
    861             $attribute_object = $attributes[ 'pa_' . $attribute ];
     860        } elseif ( isset( $attributes[ 'video_' . $attribute ] ) ) {
     861            $attribute_object = $attributes[ 'video_' . $attribute ];
    862862        } else {
    863863            return '';
  • masvideos/trunk/includes/class-masvideos-structured-data.php

    r2456845 r2464681  
    191191            'description'   => wpautop( do_shortcode( $episode->get_short_description() ? $episode->get_short_description() : $episode->get_description() ) ),
    192192            'thumbnailUrl'  => array( wp_get_attachment_url( $episode->get_image_id() ) ),
    193             'uploadDate'    => $episode->get_date_created()
     193            'uploadDate'    => $episode->get_date_created()->date( 'c' ),
    194194        );
    195195
     
    236236            'description'   => wpautop( do_shortcode( $tv_show->get_short_description() ? $tv_show->get_short_description() : $tv_show->get_description() ) ),
    237237            'thumbnailUrl'  => array( wp_get_attachment_url( $tv_show->get_image_id() ) ),
    238             'uploadDate'    => $tv_show->get_date_created()
     238            'uploadDate'    => $tv_show->get_date_created()->date( 'c' ),
    239239        );
    240240
     
    264264            'description'   => wpautop( do_shortcode( $movie->get_short_description() ? $movie->get_short_description() : $movie->get_description() ) ),
    265265            'thumbnailUrl'  => array( wp_get_attachment_url( $movie->get_image_id() ) ),
    266             'uploadDate'    => $movie->get_date_created()
     266            'uploadDate'    => $movie->get_date_created()->date( 'c' ),
    267267        );
    268268
     
    309309            'description'   => wpautop( do_shortcode( $video->get_short_description() ? $video->get_short_description() : $video->get_description() ) ),
    310310            'thumbnailUrl'  => array( wp_get_attachment_url( $video->get_image_id() ) ),
    311             'uploadDate'    => $video->get_date_created()
     311            'uploadDate'    => $video->get_date_created()->date( 'c' ),
    312312        );
    313313
  • masvideos/trunk/includes/class-masvideos.php

    r2456845 r2464681  
    1818         * @var string
    1919         */
    20         public $version = '1.2.4';
     20        public $version = '1.2.5';
    2121
    2222        /**
  • masvideos/trunk/languages/masvideos.pot

    r2456845 r2464681  
    33msgid ""
    44msgstr ""
    5 "Project-Id-Version: MAS Videos 1.2.4\n"
     5"Project-Id-Version: MAS Videos 1.2.5\n"
    66"Report-Msgid-Bugs-To: https://github.com/madrasthemes/masvideos/issues\n"
    7 "POT-Creation-Date: 2021-01-15 10:10:55+00:00\n"
     7"POT-Creation-Date: 2021-01-29 06:05:04+00:00\n"
    88"MIME-Version: 1.0\n"
    99"Content-Type: text/plain; charset=utf-8\n"
  • masvideos/trunk/masvideos.php

    r2456845 r2464681  
    44 * Plugin URI: https://github.com/madrasthemes/masvideos
    55 * Description: This is a free plugin that allows you to to create and list movies, videos and TV shows.
    6  * Version: 1.2.4
     6 * Version: 1.2.5
    77 * Author: MadrasThemes
    88 * Author URI: https://madrasthemes.com/
  • masvideos/trunk/readme.txt

    r2456845 r2464681  
    55Tested up to: 5.6
    66Requires PHP: 5.6
    7 Stable tag: 1.2.4
     7Stable tag: 1.2.5
    88License: GPLv3
    99License URI: https://www.gnu.org/licenses/gpl-3.0.html
     
    8585== Changelog ==
    8686
     87= 1.2.5 - 2020-01-29 =
     88* Tweak – Attribute functions updated
     89* Fix – Structure data updated
     90
    8791= 1.2.4 - 2020-01-15 =
    8892* Fix – Error fixed with tags filters widgets
Note: See TracChangeset for help on using the changeset viewer.