Plugin Directory

Changeset 3117065


Ignore:
Timestamp:
07/12/2024 01:28:50 PM (21 months ago)
Author:
solbeg
Message:

Update to version 1.6 from GitHub

Location:
geoflex
Files:
2 added
10 edited
1 copied

Legend:

Unmodified
Added
Removed
  • geoflex/tags/1.6/geoflex.php

    r3097910 r3117065  
    44 * Plugin Name:       Geoflex
    55 * Description:       Adds multiregional capability to WordPress
    6  * Version:           1.5
     6 * Version:           1.6
    77 * Requires at least: 6.0
    88 * Requires PHP:      7.4
     
    3434}
    3535
    36 define("GEOFLEX_VER", get_file_data(__FILE__, ["ver" => "Version"], "plugin")["ver"]);
    37 defined("GEOFLEX_POST_TYPE") or define("GEOFLEX_POST_TYPE", "geoflex");
    38 define("GEOFLEX_URL", plugin_dir_url(__FILE__));
    39 define("GEOFLEX_DIR", plugin_dir_path(__FILE__));
     36if (!class_exists("\GeoFlex\Plugin")) {
     37    define("GEOFLEX_VER", get_file_data(__FILE__, ["ver" => "Version"], "plugin")["ver"]);
     38    defined("GEOFLEX_POST_TYPE") or define("GEOFLEX_POST_TYPE", "geoflex");
     39    define("GEOFLEX_URL", plugin_dir_url(__FILE__));
     40    define("GEOFLEX_DIR", plugin_dir_path(__FILE__));
    4041
    41 require_once GEOFLEX_DIR . "vendor/autoload.php";
     42    require_once GEOFLEX_DIR . "version-check.php";
    4243
    43 new Plugin();
     44    require_once GEOFLEX_DIR . "vendor/autoload.php";
    4445
    45 add_action("plugins_loaded", function () {
    46     load_plugin_textdomain("geoflex", false, dirname(plugin_basename(__FILE__)) . "/languages");
    47 });
     46    new Plugin();
     47
     48    add_action("plugins_loaded", function () {
     49        load_plugin_textdomain("geoflex", false, dirname(plugin_basename(__FILE__)) . "/languages");
     50    });
     51}
  • geoflex/tags/1.6/languages/geoflex-ru_RU.po

    r3071427 r3117065  
    22msgstr ""
    33"Project-Id-Version: \n"
    4 "POT-Creation-Date: 2024-04-04 16:11+0400\n"
    5 "PO-Revision-Date: 2024-04-04 16:11+0400\n"
     4"POT-Creation-Date: 2024-07-12 12:38+0300\n"
     5"PO-Revision-Date: 2024-07-12 12:40+0300\n"
    66"Last-Translator: \n"
    77"Language-Team: \n"
     
    1010"Content-Type: text/plain; charset=UTF-8\n"
    1111"Content-Transfer-Encoding: 8bit\n"
    12 "X-Generator: Poedit 3.4.2\n"
     12"X-Generator: Poedit 3.0.1\n"
    1313"X-Poedit-Basepath: ..\n"
    1414"X-Poedit-KeywordsList: __;_e;_n;_x;_ex;_nx;esc_attr__;esc_attr_e;esc_attr_x;"
     
    254254#: src/Admin/Support.php:43
    255255msgid ""
    256 "For correct work of the plugin do not use Permalink structure "
    257 "\"Plain\" (Setting->Permalinks)."
     256"For correct work of the plugin do not use Permalink structure \"Plain"
     257"\" (Setting->Permalinks)."
    258258msgstr ""
    259259"Для правильной работы плагина не используйте структуру постоянных ссылок "
     
    308308msgstr "Пример замены PHP кода:"
    309309
    310 #: src/Region.php:358
     310#: src/Region.php:390
    311311msgid "Select a region"
    312312msgstr "Выберите регион"
     313
     314#: version-check.php:50
     315msgid ""
     316"Geoflex and Geoflex Pro should not be active at the same time. We've "
     317"automatically deactivated Geoflex."
     318msgstr ""
     319"Geoflex и Geoflex Pro не могут быть активны одновременно. Мы автоматически "
     320"деактивировали Geoflex."
     321
     322#: version-check.php:52
     323msgid ""
     324"Geoflex and Geoflex Pro should not be active at the same time. We've "
     325"automatically deactivated Geoflex Pro."
     326msgstr ""
     327"Geoflex и Geoflex Pro не могут быть активны одновременно. Мы автоматически "
     328"деактивировали Geoflex Pro."
    313329
    314330#, fuzzy
  • geoflex/tags/1.6/languages/geoflex.pot

    r3071427 r3117065  
    33msgstr ""
    44"Project-Id-Version: \n"
    5 "POT-Creation-Date: 2024-04-04 16:11+0400\n"
     5"POT-Creation-Date: 2024-07-12 12:38+0300\n"
    66"PO-Revision-Date: 2023-11-03 15:22+0400\n"
    77"Last-Translator: \n"
     
    1111"Content-Type: text/plain; charset=UTF-8\n"
    1212"Content-Transfer-Encoding: 8bit\n"
    13 "X-Generator: Poedit 3.4.2\n"
     13"X-Generator: Poedit 3.0.1\n"
    1414"X-Poedit-Basepath: ..\n"
    1515"X-Poedit-KeywordsList: __;_e;_n;_x;_ex;_nx;esc_attr__;esc_attr_e;esc_attr_x;"
     
    251251#: src/Admin/Support.php:43
    252252msgid ""
    253 "For correct work of the plugin do not use Permalink structure "
    254 "\"Plain\" (Setting->Permalinks)."
     253"For correct work of the plugin do not use Permalink structure \"Plain"
     254"\" (Setting->Permalinks)."
    255255msgstr ""
    256256
     
    301301msgstr ""
    302302
    303 #: src/Region.php:358
     303#: src/Region.php:390
    304304msgid "Select a region"
    305305msgstr ""
     306
     307#: version-check.php:50
     308msgid ""
     309"Geoflex and Geoflex Pro should not be active at the same time. We've "
     310"automatically deactivated Geoflex."
     311msgstr ""
     312
     313#: version-check.php:52
     314msgid ""
     315"Geoflex and Geoflex Pro should not be active at the same time. We've "
     316"automatically deactivated Geoflex Pro."
     317msgstr ""
  • geoflex/tags/1.6/readme.txt

    r3097910 r3117065  
    33Tags: seo, wordpress seo, yoast seo
    44Requires at least: 6.0
    5 Tested up to: 6.5.2
     5Tested up to: 6.6
    66Requires PHP: 7.4
    7 Stable tag: 1.5
     7Stable tag: 1.6
    88License: GPLv3
    99License URI: https://www.gnu.org/licenses/gpl-3.0.html
     
    6565== Changelog ==
    6666
     67= 1.6 =
     68Added version (free or pro) check
     69
    6770= 1.5 =
    6871ACF extension bugfix
  • geoflex/trunk/geoflex.php

    r3097910 r3117065  
    44 * Plugin Name:       Geoflex
    55 * Description:       Adds multiregional capability to WordPress
    6  * Version:           1.5
     6 * Version:           1.6
    77 * Requires at least: 6.0
    88 * Requires PHP:      7.4
     
    3434}
    3535
    36 define("GEOFLEX_VER", get_file_data(__FILE__, ["ver" => "Version"], "plugin")["ver"]);
    37 defined("GEOFLEX_POST_TYPE") or define("GEOFLEX_POST_TYPE", "geoflex");
    38 define("GEOFLEX_URL", plugin_dir_url(__FILE__));
    39 define("GEOFLEX_DIR", plugin_dir_path(__FILE__));
     36if (!class_exists("\GeoFlex\Plugin")) {
     37    define("GEOFLEX_VER", get_file_data(__FILE__, ["ver" => "Version"], "plugin")["ver"]);
     38    defined("GEOFLEX_POST_TYPE") or define("GEOFLEX_POST_TYPE", "geoflex");
     39    define("GEOFLEX_URL", plugin_dir_url(__FILE__));
     40    define("GEOFLEX_DIR", plugin_dir_path(__FILE__));
    4041
    41 require_once GEOFLEX_DIR . "vendor/autoload.php";
     42    require_once GEOFLEX_DIR . "version-check.php";
    4243
    43 new Plugin();
     44    require_once GEOFLEX_DIR . "vendor/autoload.php";
    4445
    45 add_action("plugins_loaded", function () {
    46     load_plugin_textdomain("geoflex", false, dirname(plugin_basename(__FILE__)) . "/languages");
    47 });
     46    new Plugin();
     47
     48    add_action("plugins_loaded", function () {
     49        load_plugin_textdomain("geoflex", false, dirname(plugin_basename(__FILE__)) . "/languages");
     50    });
     51}
  • geoflex/trunk/languages/geoflex-ru_RU.po

    r3071427 r3117065  
    22msgstr ""
    33"Project-Id-Version: \n"
    4 "POT-Creation-Date: 2024-04-04 16:11+0400\n"
    5 "PO-Revision-Date: 2024-04-04 16:11+0400\n"
     4"POT-Creation-Date: 2024-07-12 12:38+0300\n"
     5"PO-Revision-Date: 2024-07-12 12:40+0300\n"
    66"Last-Translator: \n"
    77"Language-Team: \n"
     
    1010"Content-Type: text/plain; charset=UTF-8\n"
    1111"Content-Transfer-Encoding: 8bit\n"
    12 "X-Generator: Poedit 3.4.2\n"
     12"X-Generator: Poedit 3.0.1\n"
    1313"X-Poedit-Basepath: ..\n"
    1414"X-Poedit-KeywordsList: __;_e;_n;_x;_ex;_nx;esc_attr__;esc_attr_e;esc_attr_x;"
     
    254254#: src/Admin/Support.php:43
    255255msgid ""
    256 "For correct work of the plugin do not use Permalink structure "
    257 "\"Plain\" (Setting->Permalinks)."
     256"For correct work of the plugin do not use Permalink structure \"Plain"
     257"\" (Setting->Permalinks)."
    258258msgstr ""
    259259"Для правильной работы плагина не используйте структуру постоянных ссылок "
     
    308308msgstr "Пример замены PHP кода:"
    309309
    310 #: src/Region.php:358
     310#: src/Region.php:390
    311311msgid "Select a region"
    312312msgstr "Выберите регион"
     313
     314#: version-check.php:50
     315msgid ""
     316"Geoflex and Geoflex Pro should not be active at the same time. We've "
     317"automatically deactivated Geoflex."
     318msgstr ""
     319"Geoflex и Geoflex Pro не могут быть активны одновременно. Мы автоматически "
     320"деактивировали Geoflex."
     321
     322#: version-check.php:52
     323msgid ""
     324"Geoflex and Geoflex Pro should not be active at the same time. We've "
     325"automatically deactivated Geoflex Pro."
     326msgstr ""
     327"Geoflex и Geoflex Pro не могут быть активны одновременно. Мы автоматически "
     328"деактивировали Geoflex Pro."
    313329
    314330#, fuzzy
  • geoflex/trunk/languages/geoflex.pot

    r3071427 r3117065  
    33msgstr ""
    44"Project-Id-Version: \n"
    5 "POT-Creation-Date: 2024-04-04 16:11+0400\n"
     5"POT-Creation-Date: 2024-07-12 12:38+0300\n"
    66"PO-Revision-Date: 2023-11-03 15:22+0400\n"
    77"Last-Translator: \n"
     
    1111"Content-Type: text/plain; charset=UTF-8\n"
    1212"Content-Transfer-Encoding: 8bit\n"
    13 "X-Generator: Poedit 3.4.2\n"
     13"X-Generator: Poedit 3.0.1\n"
    1414"X-Poedit-Basepath: ..\n"
    1515"X-Poedit-KeywordsList: __;_e;_n;_x;_ex;_nx;esc_attr__;esc_attr_e;esc_attr_x;"
     
    251251#: src/Admin/Support.php:43
    252252msgid ""
    253 "For correct work of the plugin do not use Permalink structure "
    254 "\"Plain\" (Setting->Permalinks)."
     253"For correct work of the plugin do not use Permalink structure \"Plain"
     254"\" (Setting->Permalinks)."
    255255msgstr ""
    256256
     
    301301msgstr ""
    302302
    303 #: src/Region.php:358
     303#: src/Region.php:390
    304304msgid "Select a region"
    305305msgstr ""
     306
     307#: version-check.php:50
     308msgid ""
     309"Geoflex and Geoflex Pro should not be active at the same time. We've "
     310"automatically deactivated Geoflex."
     311msgstr ""
     312
     313#: version-check.php:52
     314msgid ""
     315"Geoflex and Geoflex Pro should not be active at the same time. We've "
     316"automatically deactivated Geoflex Pro."
     317msgstr ""
  • geoflex/trunk/readme.txt

    r3097910 r3117065  
    33Tags: seo, wordpress seo, yoast seo
    44Requires at least: 6.0
    5 Tested up to: 6.5.2
     5Tested up to: 6.6
    66Requires PHP: 7.4
    7 Stable tag: 1.5
     7Stable tag: 1.6
    88License: GPLv3
    99License URI: https://www.gnu.org/licenses/gpl-3.0.html
     
    6565== Changelog ==
    6666
     67= 1.6 =
     68Added version (free or pro) check
     69
    6770= 1.5 =
    6871ACF extension bugfix
Note: See TracChangeset for help on using the changeset viewer.