Plugin Directory

Changeset 2853140


Ignore:
Timestamp:
01/23/2023 10:19:59 PM (3 years ago)
Author:
wpweaver
Message:

Version 1.6

Location:
show-posts
Files:
6 edited
1 copied

Legend:

Unmodified
Added
Removed
  • show-posts/tags/1.6/atw-show-posts.php

    r2428754 r2853140  
    66Author: wpweaver
    77Author URI: http://weavertheme.com/about/
    8 Version: 1.5.1
     8Version: 1.6
    99
    1010License: GPL
    1111
    1212Weaver Show Posts
    13 Copyright (C) 2014-2021, Bruce E. Wampler - [email protected]
     13Copyright (C) 2014-2023, Bruce E. Wampler - [email protected]
    1414
    1515This program is free software: you can redistribute it and/or modify
     
    3131*/
    3232
    33 define ( 'WEAVER_SHOWPOSTS_VERSION','1.5.1');
     33define ( 'WEAVER_SHOWPOSTS_VERSION','1.6');
    3434define ( 'WEAVER_SHOWPOSTS_MINIFY','.min');     // '' for dev, '.min' for production
    3535define ( 'WEAVER_SHOWPOSTS_TEMPLATE', false);      // future feature
  • show-posts/tags/1.6/includes/downloader.php

    r2213242 r2853140  
    3535    if (! wp_verify_nonce($nonce, 'show_posts_download')) {
    3636        @header('Content-Type: ' . get_option('html_type') . '; charset=' . get_option('blog_charset'));
    37         wp_die(__('Sorry - download must be initiated from admin panel.','show-posts' /*adm*/) . ':' . $nonce);
     37        wp_die(__('Sorry - download must be initiated from admin panel.','show-posts' /*adm*/) . ':' . esc_html($nonce));
    3838    }
    3939
     
    6060    } else {
    6161        @header('Content-Type: ' . get_option('html_type') . '; charset=' . get_option('blog_charset'));
    62         wp_die("Error - trying to save invalid type of settings: {$ext}.");
     62        wp_die("Error - trying to save invalid type of settings: " . esc_html( $ext ) . '.');
    6363    }
    6464
     
    6767    header('Content-Description: File Transfer');
    6868    header('Content-Type: application/octet-stream');
    69     header('Content-Disposition: attachment; filename='.$show_fn);
     69    header('Content-Disposition: attachment; filename='. esc_html($show_fn) );
    7070    header('Content-Transfer-Encoding: binary');
    7171    header('Expires: 0');
  • show-posts/tags/1.6/readme.txt

    r2428754 r2853140  
    99Text Domain: show-posts
    1010Requires at least: 5.4
    11 Tested up to: 5.6
    12 Stable tag: 1.5.1
     11Tested up to: 6.1
     12Stable tag: 1.6
    1313
    1414== Description ==
     
    6060
    6161== Changelog ==
     62= 1.6 =
     63* Update: WP 6.1 compatibility message
     64
     65= 1.5.2 =
     66* Update: WP 5.7 compatibility message
     67* Fix: Nonce message
     68
    6269= 1.5.1 =
    6370* Update: WP 5.6
  • show-posts/trunk/atw-show-posts.php

    r2428754 r2853140  
    66Author: wpweaver
    77Author URI: http://weavertheme.com/about/
    8 Version: 1.5.1
     8Version: 1.6
    99
    1010License: GPL
    1111
    1212Weaver Show Posts
    13 Copyright (C) 2014-2021, Bruce E. Wampler - [email protected]
     13Copyright (C) 2014-2023, Bruce E. Wampler - [email protected]
    1414
    1515This program is free software: you can redistribute it and/or modify
     
    3131*/
    3232
    33 define ( 'WEAVER_SHOWPOSTS_VERSION','1.5.1');
     33define ( 'WEAVER_SHOWPOSTS_VERSION','1.6');
    3434define ( 'WEAVER_SHOWPOSTS_MINIFY','.min');     // '' for dev, '.min' for production
    3535define ( 'WEAVER_SHOWPOSTS_TEMPLATE', false);      // future feature
  • show-posts/trunk/includes/downloader.php

    r2213242 r2853140  
    3535    if (! wp_verify_nonce($nonce, 'show_posts_download')) {
    3636        @header('Content-Type: ' . get_option('html_type') . '; charset=' . get_option('blog_charset'));
    37         wp_die(__('Sorry - download must be initiated from admin panel.','show-posts' /*adm*/) . ':' . $nonce);
     37        wp_die(__('Sorry - download must be initiated from admin panel.','show-posts' /*adm*/) . ':' . esc_html($nonce));
    3838    }
    3939
     
    6060    } else {
    6161        @header('Content-Type: ' . get_option('html_type') . '; charset=' . get_option('blog_charset'));
    62         wp_die("Error - trying to save invalid type of settings: {$ext}.");
     62        wp_die("Error - trying to save invalid type of settings: " . esc_html( $ext ) . '.');
    6363    }
    6464
     
    6767    header('Content-Description: File Transfer');
    6868    header('Content-Type: application/octet-stream');
    69     header('Content-Disposition: attachment; filename='.$show_fn);
     69    header('Content-Disposition: attachment; filename='. esc_html($show_fn) );
    7070    header('Content-Transfer-Encoding: binary');
    7171    header('Expires: 0');
  • show-posts/trunk/readme.txt

    r2428754 r2853140  
    99Text Domain: show-posts
    1010Requires at least: 5.4
    11 Tested up to: 5.6
    12 Stable tag: 1.5.1
     11Tested up to: 6.1
     12Stable tag: 1.6
    1313
    1414== Description ==
     
    6060
    6161== Changelog ==
     62= 1.6 =
     63* Update: WP 6.1 compatibility message
     64
     65= 1.5.2 =
     66* Update: WP 5.7 compatibility message
     67* Fix: Nonce message
     68
    6269= 1.5.1 =
    6370* Update: WP 5.6
Note: See TracChangeset for help on using the changeset viewer.