Plugin Directory

Changeset 3091929


Ignore:
Timestamp:
05/24/2024 07:39:04 AM (21 months ago)
Author:
flywp
Message:

Update to version 1.1 from GitHub

Location:
flywp
Files:
10 edited
1 copied

Legend:

Unmodified
Added
Removed
  • flywp/tags/1.1/flywp.php

    r3032189 r3091929  
    44 * Plugin URI: https://flywp.com
    55 * Description: Helper plugin for FlyWP
    6  * Version: 1.0
     6 * Version: 1.1
    77 * Author: FlyWP
    88 * Author URI: https://flywp.com/?utm_source=wporg&utm_medium=banner&utm_campaign=author-uri
     
    4242     * @var string
    4343     */
    44     public $version = '1.0';
     44    public $version = '1.1';
    4545
    4646    /**
  • flywp/tags/1.1/includes/Frontend/MagicLogin.php

    r2926989 r3091929  
    7777        $user = get_user_by( 'login', $username );
    7878
     79        // if user not found, use the first admin
    7980        if ( ! $user ) {
    80             $this->redirect_to_admin();
     81            $admins = get_users( [ 'role' => 'administrator', 'mumber' => 1 ] );
     82
     83            if ( ! $admins ) {
     84                $this->redirect_to_home();
     85            }
     86
     87            $user = $admins[0];
    8188        }
    8289
  • flywp/tags/1.1/languages/flywp.pot

    r3032189 r3091929  
    22msgid ""
    33msgstr ""
    4 "Project-Id-Version: FlyWP 1.0\n"
     4"Project-Id-Version: FlyWP 1.1\n"
    55"Report-Msgid-Bugs-To: https://github.com/flywp/flywp-helper/issues\n"
    66"Last-Translator: [email protected]\n"
     
    99"Content-Type: text/plain; charset=UTF-8\n"
    1010"Content-Transfer-Encoding: 8bit\n"
    11 "POT-Creation-Date: 2024-02-06T13:21:16+00:00\n"
     11"POT-Creation-Date: 2024-05-24T07:30:23+00:00\n"
    1212"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
    13 "X-Generator: WP-CLI 2.9.0\n"
     13"X-Generator: WP-CLI 2.10.0\n"
    1414"X-Domain: flywp\n"
    1515
    1616#. Plugin Name of the plugin
    1717#. Author of the plugin
     18#: flywp.php
    1819#: includes/Admin.php:40
    1920#: includes/Admin.php:41
     
    2324
    2425#. Plugin URI of the plugin
     26#: flywp.php
    2527msgid "https://flywp.com"
    2628msgstr ""
    2729
    2830#. Description of the plugin
     31#: flywp.php
    2932msgid "Helper plugin for FlyWP"
    3033msgstr ""
    3134
    3235#. Author URI of the plugin
     36#: flywp.php
    3337msgid "https://flywp.com/?utm_source=wporg&utm_medium=banner&utm_campaign=author-uri"
    3438msgstr ""
  • flywp/tags/1.1/readme.txt

    r3032189 r3091929  
    55Tested up to: 6.4
    66Requires PHP: 7.4
    7 Stable tag: 1.0
     7Stable tag: 1.1
    88Requires PHP: 7.1 or higher
    99License: GPLv2 or later
     
    5454
    5555== Changelog ==
     56
     57= v1.1 (24 May, 2024) =
     58
     59 * **Improved:** Magic login wasn't working when a site was migrated due to username mismatch. Now it'll work nevertheless.
    5660
    5761= v1.0 (06 February, 2024) =
  • flywp/tags/1.1/vendor/composer/installed.php

    r3032189 r3091929  
    22    'root' => array(
    33        'name' => 'flywp/flywp',
    4         'pretty_version' => '1.0',
    5         'version' => '1.0.0.0',
    6         'reference' => NULL,
     4        'pretty_version' => '1.1',
     5        'version' => '1.1.0.0',
     6        'reference' => null,
    77        'type' => 'wordpress-plugin',
    88        'install_path' => __DIR__ . '/../../',
     
    1212    'versions' => array(
    1313        'flywp/flywp' => array(
    14             'pretty_version' => '1.0',
    15             'version' => '1.0.0.0',
    16             'reference' => NULL,
     14            'pretty_version' => '1.1',
     15            'version' => '1.1.0.0',
     16            'reference' => null,
    1717            'type' => 'wordpress-plugin',
    1818            'install_path' => __DIR__ . '/../../',
  • flywp/trunk/flywp.php

    r3032189 r3091929  
    44 * Plugin URI: https://flywp.com
    55 * Description: Helper plugin for FlyWP
    6  * Version: 1.0
     6 * Version: 1.1
    77 * Author: FlyWP
    88 * Author URI: https://flywp.com/?utm_source=wporg&utm_medium=banner&utm_campaign=author-uri
     
    4242     * @var string
    4343     */
    44     public $version = '1.0';
     44    public $version = '1.1';
    4545
    4646    /**
  • flywp/trunk/includes/Frontend/MagicLogin.php

    r2926989 r3091929  
    7777        $user = get_user_by( 'login', $username );
    7878
     79        // if user not found, use the first admin
    7980        if ( ! $user ) {
    80             $this->redirect_to_admin();
     81            $admins = get_users( [ 'role' => 'administrator', 'mumber' => 1 ] );
     82
     83            if ( ! $admins ) {
     84                $this->redirect_to_home();
     85            }
     86
     87            $user = $admins[0];
    8188        }
    8289
  • flywp/trunk/languages/flywp.pot

    r3032189 r3091929  
    22msgid ""
    33msgstr ""
    4 "Project-Id-Version: FlyWP 1.0\n"
     4"Project-Id-Version: FlyWP 1.1\n"
    55"Report-Msgid-Bugs-To: https://github.com/flywp/flywp-helper/issues\n"
    66"Last-Translator: [email protected]\n"
     
    99"Content-Type: text/plain; charset=UTF-8\n"
    1010"Content-Transfer-Encoding: 8bit\n"
    11 "POT-Creation-Date: 2024-02-06T13:21:16+00:00\n"
     11"POT-Creation-Date: 2024-05-24T07:30:23+00:00\n"
    1212"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
    13 "X-Generator: WP-CLI 2.9.0\n"
     13"X-Generator: WP-CLI 2.10.0\n"
    1414"X-Domain: flywp\n"
    1515
    1616#. Plugin Name of the plugin
    1717#. Author of the plugin
     18#: flywp.php
    1819#: includes/Admin.php:40
    1920#: includes/Admin.php:41
     
    2324
    2425#. Plugin URI of the plugin
     26#: flywp.php
    2527msgid "https://flywp.com"
    2628msgstr ""
    2729
    2830#. Description of the plugin
     31#: flywp.php
    2932msgid "Helper plugin for FlyWP"
    3033msgstr ""
    3134
    3235#. Author URI of the plugin
     36#: flywp.php
    3337msgid "https://flywp.com/?utm_source=wporg&utm_medium=banner&utm_campaign=author-uri"
    3438msgstr ""
  • flywp/trunk/readme.txt

    r3032189 r3091929  
    55Tested up to: 6.4
    66Requires PHP: 7.4
    7 Stable tag: 1.0
     7Stable tag: 1.1
    88Requires PHP: 7.1 or higher
    99License: GPLv2 or later
     
    5454
    5555== Changelog ==
     56
     57= v1.1 (24 May, 2024) =
     58
     59 * **Improved:** Magic login wasn't working when a site was migrated due to username mismatch. Now it'll work nevertheless.
    5660
    5761= v1.0 (06 February, 2024) =
  • flywp/trunk/vendor/composer/installed.php

    r3032189 r3091929  
    22    'root' => array(
    33        'name' => 'flywp/flywp',
    4         'pretty_version' => '1.0',
    5         'version' => '1.0.0.0',
    6         'reference' => NULL,
     4        'pretty_version' => '1.1',
     5        'version' => '1.1.0.0',
     6        'reference' => null,
    77        'type' => 'wordpress-plugin',
    88        'install_path' => __DIR__ . '/../../',
     
    1212    'versions' => array(
    1313        'flywp/flywp' => array(
    14             'pretty_version' => '1.0',
    15             'version' => '1.0.0.0',
    16             'reference' => NULL,
     14            'pretty_version' => '1.1',
     15            'version' => '1.1.0.0',
     16            'reference' => null,
    1717            'type' => 'wordpress-plugin',
    1818            'install_path' => __DIR__ . '/../../',
Note: See TracChangeset for help on using the changeset viewer.