Changeset 2464681
- Timestamp:
- 01/29/2021 06:08:01 AM (4 years ago)
- Location:
- masvideos/trunk
- Files:
-
- 10 edited
Legend:
- Unmodified
- Added
- Removed
-
masvideos/trunk/includes/abstracts/abstract-masvideos-episode.php
r2126107 r2464681 1078 1078 if ( isset( $attributes[ $attribute ] ) ) { 1079 1079 $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 ]; 1082 1082 } else { 1083 1083 return ''; -
masvideos/trunk/includes/abstracts/abstract-masvideos-movie.php
r2354598 r2464681 1200 1200 if ( isset( $attributes[ $attribute ] ) ) { 1201 1201 $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 ]; 1204 1204 } else { 1205 1205 return ''; -
masvideos/trunk/includes/abstracts/abstract-masvideos-person.php
r2125857 r2464681 919 919 if ( isset( $attributes[ $attribute ] ) ) { 920 920 $attribute_object = $attributes[ $attribute ]; 921 } elseif ( isset( $attributes[ 'p a_' . $attribute ] ) ) {922 $attribute_object = $attributes[ 'p a_' . $attribute ];921 } elseif ( isset( $attributes[ 'person_' . $attribute ] ) ) { 922 $attribute_object = $attributes[ 'person_' . $attribute ]; 923 923 } else { 924 924 return ''; -
masvideos/trunk/includes/abstracts/abstract-masvideos-tv-show.php
r2354598 r2464681 987 987 if ( isset( $attributes[ $attribute ] ) ) { 988 988 $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 ]; 991 991 } else { 992 992 return ''; -
masvideos/trunk/includes/abstracts/abstract-masvideos-video.php
r2089087 r2464681 858 858 if ( isset( $attributes[ $attribute ] ) ) { 859 859 $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 ]; 862 862 } else { 863 863 return ''; -
masvideos/trunk/includes/class-masvideos-structured-data.php
r2456845 r2464681 191 191 'description' => wpautop( do_shortcode( $episode->get_short_description() ? $episode->get_short_description() : $episode->get_description() ) ), 192 192 'thumbnailUrl' => array( wp_get_attachment_url( $episode->get_image_id() ) ), 193 'uploadDate' => $episode->get_date_created() 193 'uploadDate' => $episode->get_date_created()->date( 'c' ), 194 194 ); 195 195 … … 236 236 'description' => wpautop( do_shortcode( $tv_show->get_short_description() ? $tv_show->get_short_description() : $tv_show->get_description() ) ), 237 237 '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' ), 239 239 ); 240 240 … … 264 264 'description' => wpautop( do_shortcode( $movie->get_short_description() ? $movie->get_short_description() : $movie->get_description() ) ), 265 265 'thumbnailUrl' => array( wp_get_attachment_url( $movie->get_image_id() ) ), 266 'uploadDate' => $movie->get_date_created() 266 'uploadDate' => $movie->get_date_created()->date( 'c' ), 267 267 ); 268 268 … … 309 309 'description' => wpautop( do_shortcode( $video->get_short_description() ? $video->get_short_description() : $video->get_description() ) ), 310 310 'thumbnailUrl' => array( wp_get_attachment_url( $video->get_image_id() ) ), 311 'uploadDate' => $video->get_date_created() 311 'uploadDate' => $video->get_date_created()->date( 'c' ), 312 312 ); 313 313 -
masvideos/trunk/includes/class-masvideos.php
r2456845 r2464681 18 18 * @var string 19 19 */ 20 public $version = '1.2. 4';20 public $version = '1.2.5'; 21 21 22 22 /** -
masvideos/trunk/languages/masvideos.pot
r2456845 r2464681 3 3 msgid "" 4 4 msgstr "" 5 "Project-Id-Version: MAS Videos 1.2. 4\n"5 "Project-Id-Version: MAS Videos 1.2.5\n" 6 6 "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" 8 8 "MIME-Version: 1.0\n" 9 9 "Content-Type: text/plain; charset=utf-8\n" -
masvideos/trunk/masvideos.php
r2456845 r2464681 4 4 * Plugin URI: https://github.com/madrasthemes/masvideos 5 5 * Description: This is a free plugin that allows you to to create and list movies, videos and TV shows. 6 * Version: 1.2. 46 * Version: 1.2.5 7 7 * Author: MadrasThemes 8 8 * Author URI: https://madrasthemes.com/ -
masvideos/trunk/readme.txt
r2456845 r2464681 5 5 Tested up to: 5.6 6 6 Requires PHP: 5.6 7 Stable tag: 1.2. 47 Stable tag: 1.2.5 8 8 License: GPLv3 9 9 License URI: https://www.gnu.org/licenses/gpl-3.0.html … … 85 85 == Changelog == 86 86 87 = 1.2.5 - 2020-01-29 = 88 * Tweak – Attribute functions updated 89 * Fix – Structure data updated 90 87 91 = 1.2.4 - 2020-01-15 = 88 92 * Fix – Error fixed with tags filters widgets
Note: See TracChangeset
for help on using the changeset viewer.