Plugin Directory

Changeset 1789456


Ignore:
Timestamp:
12/19/2017 12:30:39 PM (8 years ago)
Author:
poliuk
Message:

v1.0.5 released: Don't send search and dates to PWA

Location:
wp-pwa
Files:
16 added
3 edited

Legend:

Unmodified
Added
Removed
  • wp-pwa/trunk/injector/wp-pwa-injector.php

    r1773939 r1789456  
    4040  $listType = 'author';
    4141  $listId = get_queried_object()->ID;
    42 } elseif (is_search()) {
    43   $listType = 'search';
    44   $listId = get_query_var('s');
    45 } elseif (is_date()) {
    46   $listType = 'date';
    47   $listId = get_query_var('m');
    48   if ($listId === '') {
    49     $year = get_query_var('year');
    50     $monthnum = str_pad(get_query_var('monthnum'), 2, '0', STR_PAD_LEFT);
    51     $listId = $year . $monthnum;
    52   }
    5342}
    5443
  • wp-pwa/trunk/readme.txt

    r1788962 r1789456  
    55Requires at least: 4.4
    66Tested up to: 4.8.2
    7 Stable tag: 1.0.4
     7Stable tag: 1.0.5
    88License: GPLv3
    99License URI: http://www.gnu.org/licenses/gpl.html
     
    2727== Changelog ==
    2828
     29= 1.0.5 =
     30* Don't send search and dates to PWA.
     31
    2932= 1.0.4 =
    3033* New url for go-back javascript.
  • wp-pwa/trunk/wp-pwa.php

    r1788962 r1789456  
    44Plugin URI: https://wordpress.org/plugins/wordpress-pwa/
    55Description: WordPress plugin to turn WordPress blogs into Progressive Web Apps.
    6 Version: 1.0.4
     6Version: 1.0.5
    77Author: WordPress PWA
    88Author URI:
     
    1616{
    1717    // vars
    18     public $plugin_version = '1.0.4';
     18    public $plugin_version = '1.0.5';
    1919    public $rest_api_installed  = false;
    2020    public $rest_api_active     = false;
Note: See TracChangeset for help on using the changeset viewer.