Blender-org web-assets v2 upgrade #104116
@ -6,7 +6,7 @@
|
|||||||
* Version: 1.1
|
* Version: 1.1
|
||||||
* Text Domain: getblogposts
|
* Text Domain: getblogposts
|
||||||
* License: GPL v2 or later
|
* License: GPL v2 or later
|
||||||
* License URI: https://www.gnu.org/licenses/gps-2.0.txt
|
* License URI: https://www.gnu.org/licenses/gpl-2.0.txt
|
||||||
*
|
*
|
||||||
* @package getblogposts
|
* @package getblogposts
|
||||||
*/
|
*/
|
||||||
@ -61,7 +61,7 @@ function get_posts_as_cards($atts) {
|
|||||||
$url = 'https://studio.blender.org/blog/latest/feed/';
|
$url = 'https://studio.blender.org/blog/latest/feed/';
|
||||||
$xml = simplexml_load_file($url);
|
$xml = simplexml_load_file($url);
|
||||||
|
|
||||||
$posts = $xms->channel->item;
|
$posts = $xml->channel->item;
|
||||||
|
|
||||||
} else {
|
} else {
|
||||||
/* WordPress sites. */
|
/* WordPress sites. */
|
||||||
|
Loading…
Reference in New Issue
Block a user