diff --git a/.distignore b/.distignore new file mode 100644 index 0000000..3d25d61 --- /dev/null +++ b/.distignore @@ -0,0 +1,15 @@ +/.git +/.github +/node_modules +/.wordpress-org +.idea +.distignore +.eslintrc.js +.gitignore +Makefile +package.json +package-lock.json +readme.md +vendor/wpfactory/wpf-settings-exporter +vendor/wpfactory/wpf-documentor +git-tag.sh \ No newline at end of file diff --git a/includes/class-alg-wc-wish-list-core.php b/includes/class-alg-wc-wish-list-core.php index be30500..baa2958 100644 --- a/includes/class-alg-wc-wish-list-core.php +++ b/includes/class-alg-wc-wish-list-core.php @@ -2,7 +2,7 @@ /** * Wish List for WooCommerce - Core Class. * - * @version 3.0.8 + * @version 3.0.9 * @since 1.0.0 * @author WPFactory. */ @@ -21,7 +21,7 @@ final class Alg_WC_Wish_List_Core { * @var string * @since 1.0.0 */ - public $version = '3.0.8'; + public $version = '3.0.9'; /** * @var Alg_WC_Wish_List_Core The single instance of the class @@ -56,6 +56,16 @@ public static function instance() { * @var Alg_WC_Wish_List_Pro_Stock_Bkg_Process */ public static $bkg_process; + + /** + * Alg_WC_Wish_List_Admin_Multiple. + * + * @version 3.0.9 + * @since 3.0.9 + * + * @var Alg_WC_Wish_List_Admin_Multiple + */ + public $admin_multiple_wishlist; /** * Method called when the plugin is activated @@ -286,8 +296,6 @@ function __construct() { } } - - /** * Shows a error message after cleared message diff --git a/langs/wish-list-for-woocommerce-fr_FR.po b/langs/wish-list-for-woocommerce-fr_FR.po index 1d00e5e..1feffb5 100644 --- a/langs/wish-list-for-woocommerce-fr_FR.po +++ b/langs/wish-list-for-woocommerce-fr_FR.po @@ -1120,7 +1120,7 @@ msgstr "" #: includes/admin/class-alg-wc-wish-list-settings-shortcodes.php:111 #: includes/admin/class-alg-wc-wish-list-settings-texts.php:165 -#: includes/class-alg-wc-wish-list-core.php:333 +#: includes/class-alg-wc-wish-list-core.php:341 #: includes/free/class-alg-wc-wish-list-shortcodes.php:425 msgid "Remove all" msgstr "Tout supprimer" @@ -1150,7 +1150,7 @@ msgid "Style > Thumb button > Icon - Added" msgstr "" #: includes/admin/class-alg-wc-wish-list-settings-social.php:37 -#: includes/class-alg-wc-wish-list-core.php:1166 +#: includes/class-alg-wc-wish-list-core.php:1174 msgid "Share" msgstr "" @@ -1905,7 +1905,7 @@ msgid "The success notification after all items have been removed from wishlist. msgstr "" #: includes/admin/class-alg-wc-wish-list-settings-texts.php:173 -#: includes/class-alg-wc-wish-list-core.php:998 +#: includes/class-alg-wc-wish-list-core.php:1006 msgid "All the items have been removed from your wishlist." msgstr "" @@ -2013,17 +2013,17 @@ msgstr "Laissez-le vide si vous ne souhaitez pas afficher le lien" msgid "Visit my Wishlist" msgstr "Visitez ma liste de souhaits" -#: includes/class-alg-wc-wish-list-core.php:320 +#: includes/class-alg-wc-wish-list-core.php:328 msgid "All the items have been removed from your wish list." msgstr "Tous les articles ont été supprimés de votre liste de souhaits." -#: includes/class-alg-wc-wish-list-core.php:898 +#: includes/class-alg-wc-wish-list-core.php:906 #: includes/pro/class-alg-wc-wish-list-pro-user-profile.php:92 #: templates/wish-list.php:38 msgid "The Wish list is empty." msgstr "La liste de souhaits est vide." -#: includes/class-alg-wc-wish-list-core.php:997 +#: includes/class-alg-wc-wish-list-core.php:1005 #: includes/free/class-alg-wc-wish-list-ajax.php:393 #: includes/free/class-alg-wc-wish-list-ajax.php:597 #: includes/free/class-alg-wc-wish-list-email-sharing.php:196 @@ -2031,30 +2031,30 @@ msgstr "La liste de souhaits est vide." msgid "Sorry, Some error occurred. Please, try again later." msgstr "Désolé, une erreur s'est produite. Veuillez réessayer plus tard." -#: includes/class-alg-wc-wish-list-core.php:1410 +#: includes/class-alg-wc-wish-list-core.php:1418 msgid "Select Wishlist" msgstr "Sélectionner la liste de souhaits" -#: includes/class-alg-wc-wish-list-core.php:1416 #: includes/class-alg-wc-wish-list-core.php:1424 +#: includes/class-alg-wc-wish-list-core.php:1432 msgid "Create Wishlist" msgstr "Créer une liste de souhaits" -#: includes/class-alg-wc-wish-list-core.php:1417 +#: includes/class-alg-wc-wish-list-core.php:1425 msgid "Done" msgstr "Fait" -#: includes/class-alg-wc-wish-list-core.php:1426 +#: includes/class-alg-wc-wish-list-core.php:1434 msgid "Wishlist Name" msgstr "Nom de la liste de souhaits" -#: includes/class-alg-wc-wish-list-core.php:1430 -#: includes/class-alg-wc-wish-list-core.php:1443 +#: includes/class-alg-wc-wish-list-core.php:1438 +#: includes/class-alg-wc-wish-list-core.php:1451 msgid "Save Wishlist" msgstr "Enregistrer la liste de souhaits" -#: includes/class-alg-wc-wish-list-core.php:1431 -#: includes/class-alg-wc-wish-list-core.php:1444 +#: includes/class-alg-wc-wish-list-core.php:1439 +#: includes/class-alg-wc-wish-list-core.php:1452 msgid "Cancel" msgstr "Annuler" @@ -2335,12 +2335,12 @@ msgstr "" msgid "Wishlist successfully saved." msgstr "" -#: includes/class-alg-wc-wish-list-core.php:1437 +#: includes/class-alg-wc-wish-list-core.php:1445 #: templates/wish-list.php:221 msgid "Copy Wishlist" msgstr "" -#: includes/class-alg-wc-wish-list-core.php:1439 +#: includes/class-alg-wc-wish-list-core.php:1447 msgid "Duplicate Wishlist Name" msgstr "" diff --git a/langs/wish-list-for-woocommerce-nl_NL.po b/langs/wish-list-for-woocommerce-nl_NL.po index b6a837b..ed362b2 100644 --- a/langs/wish-list-for-woocommerce-nl_NL.po +++ b/langs/wish-list-for-woocommerce-nl_NL.po @@ -1120,7 +1120,7 @@ msgstr "" #: includes/admin/class-alg-wc-wish-list-settings-shortcodes.php:111 #: includes/admin/class-alg-wc-wish-list-settings-texts.php:165 -#: includes/class-alg-wc-wish-list-core.php:333 +#: includes/class-alg-wc-wish-list-core.php:341 #: includes/free/class-alg-wc-wish-list-shortcodes.php:425 msgid "Remove all" msgstr "" @@ -1150,7 +1150,7 @@ msgid "Style > Thumb button > Icon - Added" msgstr "" #: includes/admin/class-alg-wc-wish-list-settings-social.php:37 -#: includes/class-alg-wc-wish-list-core.php:1166 +#: includes/class-alg-wc-wish-list-core.php:1174 msgid "Share" msgstr "" @@ -1905,7 +1905,7 @@ msgid "The success notification after all items have been removed from wishlist. msgstr "De melding dat de bestelling is gelukt nadat alle items van de verlanglijst zijn verwijderd." #: includes/admin/class-alg-wc-wish-list-settings-texts.php:173 -#: includes/class-alg-wc-wish-list-core.php:998 +#: includes/class-alg-wc-wish-list-core.php:1006 msgid "All the items have been removed from your wishlist." msgstr "Alle items zijn uit uw verlanglijst verwijderd." @@ -2013,17 +2013,17 @@ msgstr "Laat het leeg als u de link niet wilt weergeven" msgid "Visit my Wishlist" msgstr "Bezoek mijn verlanglijstje" -#: includes/class-alg-wc-wish-list-core.php:320 +#: includes/class-alg-wc-wish-list-core.php:328 msgid "All the items have been removed from your wish list." msgstr "Alle items zijn uit uw verlanglijstje verwijderd." -#: includes/class-alg-wc-wish-list-core.php:898 +#: includes/class-alg-wc-wish-list-core.php:906 #: includes/pro/class-alg-wc-wish-list-pro-user-profile.php:92 #: templates/wish-list.php:38 msgid "The Wish list is empty." msgstr "De verlanglijst is leeg." -#: includes/class-alg-wc-wish-list-core.php:997 +#: includes/class-alg-wc-wish-list-core.php:1005 #: includes/free/class-alg-wc-wish-list-ajax.php:393 #: includes/free/class-alg-wc-wish-list-ajax.php:597 #: includes/free/class-alg-wc-wish-list-email-sharing.php:196 @@ -2031,30 +2031,30 @@ msgstr "De verlanglijst is leeg." msgid "Sorry, Some error occurred. Please, try again later." msgstr "Sorry, er is een fout opgetreden. Probeer het later opnieuw." -#: includes/class-alg-wc-wish-list-core.php:1410 +#: includes/class-alg-wc-wish-list-core.php:1418 msgid "Select Wishlist" msgstr "Selecteer verlanglijstje" -#: includes/class-alg-wc-wish-list-core.php:1416 #: includes/class-alg-wc-wish-list-core.php:1424 +#: includes/class-alg-wc-wish-list-core.php:1432 msgid "Create Wishlist" msgstr "Maak een verlanglijstje" -#: includes/class-alg-wc-wish-list-core.php:1417 +#: includes/class-alg-wc-wish-list-core.php:1425 msgid "Done" msgstr "Klaar" -#: includes/class-alg-wc-wish-list-core.php:1426 +#: includes/class-alg-wc-wish-list-core.php:1434 msgid "Wishlist Name" msgstr "Naam verlanglijstje" -#: includes/class-alg-wc-wish-list-core.php:1430 -#: includes/class-alg-wc-wish-list-core.php:1443 +#: includes/class-alg-wc-wish-list-core.php:1438 +#: includes/class-alg-wc-wish-list-core.php:1451 msgid "Save Wishlist" msgstr "Bewaar verlanglijstje" -#: includes/class-alg-wc-wish-list-core.php:1431 -#: includes/class-alg-wc-wish-list-core.php:1444 +#: includes/class-alg-wc-wish-list-core.php:1439 +#: includes/class-alg-wc-wish-list-core.php:1452 msgid "Cancel" msgstr "Annuleren" @@ -2335,12 +2335,12 @@ msgstr "" msgid "Wishlist successfully saved." msgstr "" -#: includes/class-alg-wc-wish-list-core.php:1437 +#: includes/class-alg-wc-wish-list-core.php:1445 #: templates/wish-list.php:221 msgid "Copy Wishlist" msgstr "" -#: includes/class-alg-wc-wish-list-core.php:1439 +#: includes/class-alg-wc-wish-list-core.php:1447 msgid "Duplicate Wishlist Name" msgstr "" diff --git a/langs/wish-list-for-woocommerce.pot b/langs/wish-list-for-woocommerce.pot index ec62003..7827977 100644 --- a/langs/wish-list-for-woocommerce.pot +++ b/langs/wish-list-for-woocommerce.pot @@ -2,16 +2,16 @@ # This file is distributed under the GNU General Public License v3.0. msgid "" msgstr "" -"Project-Id-Version: wish-list-for-woocommerce 3.0.8\n" +"Project-Id-Version: wish-list-for-woocommerce 3.0.9\n" "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/wish-list-for-woocommerce\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -"POT-Creation-Date: 2024-09-19T13:26:10+02:00\n" +"POT-Creation-Date: 2024-10-03T19:49:13+02:00\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" -"X-Generator: WP-CLI 2.9.0\n" +"X-Generator: WP-CLI 2.7.1\n" "X-Domain: wish-list-for-woocommerce\n" #. Plugin Name of the plugin @@ -1161,7 +1161,7 @@ msgstr "" #: includes/admin/class-alg-wc-wish-list-settings-shortcodes.php:111 #: includes/admin/class-alg-wc-wish-list-settings-texts.php:165 -#: includes/class-alg-wc-wish-list-core.php:333 +#: includes/class-alg-wc-wish-list-core.php:341 #: includes/free/class-alg-wc-wish-list-shortcodes.php:425 msgid "Remove all" msgstr "" @@ -1191,7 +1191,7 @@ msgid "Style > Thumb button > Icon - Added" msgstr "" #: includes/admin/class-alg-wc-wish-list-settings-social.php:37 -#: includes/class-alg-wc-wish-list-core.php:1166 +#: includes/class-alg-wc-wish-list-core.php:1174 msgid "Share" msgstr "" @@ -1946,7 +1946,7 @@ msgid "The success notification after all items have been removed from wishlist. msgstr "" #: includes/admin/class-alg-wc-wish-list-settings-texts.php:173 -#: includes/class-alg-wc-wish-list-core.php:998 +#: includes/class-alg-wc-wish-list-core.php:1006 msgid "All the items have been removed from your wishlist." msgstr "" @@ -2067,17 +2067,17 @@ msgstr "" msgid "Wishlist successfully saved." msgstr "" -#: includes/class-alg-wc-wish-list-core.php:320 +#: includes/class-alg-wc-wish-list-core.php:328 msgid "All the items have been removed from your wish list." msgstr "" -#: includes/class-alg-wc-wish-list-core.php:898 +#: includes/class-alg-wc-wish-list-core.php:906 #: includes/pro/class-alg-wc-wish-list-pro-user-profile.php:92 #: templates/wish-list.php:38 msgid "The Wish list is empty." msgstr "" -#: includes/class-alg-wc-wish-list-core.php:997 +#: includes/class-alg-wc-wish-list-core.php:1005 #: includes/free/class-alg-wc-wish-list-ajax.php:393 #: includes/free/class-alg-wc-wish-list-ajax.php:597 #: includes/free/class-alg-wc-wish-list-email-sharing.php:196 @@ -2085,39 +2085,39 @@ msgstr "" msgid "Sorry, Some error occurred. Please, try again later." msgstr "" -#: includes/class-alg-wc-wish-list-core.php:1410 +#: includes/class-alg-wc-wish-list-core.php:1418 msgid "Select Wishlist" msgstr "" -#: includes/class-alg-wc-wish-list-core.php:1416 #: includes/class-alg-wc-wish-list-core.php:1424 +#: includes/class-alg-wc-wish-list-core.php:1432 msgid "Create Wishlist" msgstr "" -#: includes/class-alg-wc-wish-list-core.php:1417 +#: includes/class-alg-wc-wish-list-core.php:1425 msgid "Done" msgstr "" -#: includes/class-alg-wc-wish-list-core.php:1426 +#: includes/class-alg-wc-wish-list-core.php:1434 msgid "Wishlist Name" msgstr "" -#: includes/class-alg-wc-wish-list-core.php:1430 -#: includes/class-alg-wc-wish-list-core.php:1443 +#: includes/class-alg-wc-wish-list-core.php:1438 +#: includes/class-alg-wc-wish-list-core.php:1451 msgid "Save Wishlist" msgstr "" -#: includes/class-alg-wc-wish-list-core.php:1431 -#: includes/class-alg-wc-wish-list-core.php:1444 +#: includes/class-alg-wc-wish-list-core.php:1439 +#: includes/class-alg-wc-wish-list-core.php:1452 msgid "Cancel" msgstr "" -#: includes/class-alg-wc-wish-list-core.php:1437 +#: includes/class-alg-wc-wish-list-core.php:1445 #: templates/wish-list.php:221 msgid "Copy Wishlist" msgstr "" -#: includes/class-alg-wc-wish-list-core.php:1439 +#: includes/class-alg-wc-wish-list-core.php:1447 msgid "Duplicate Wishlist Name" msgstr "" diff --git a/readme.txt b/readme.txt index e8b804c..06ea1ba 100644 --- a/readme.txt +++ b/readme.txt @@ -3,7 +3,7 @@ Contributors: wpcodefactory, omardabbas, karzin, anbinder, algoritmika, kousikmu Tags: woocommerce, wishlist, woocommerce wishlist, add to wishlist, product wishlist Requires at least: 6.1 Tested up to: 6.6 -Stable tag: 3.0.8 +Stable tag: 3.0.9 Requires PHP: 5.6.0 License: GNU General Public License v3.0 License URI: http://www.gnu.org/licenses/gpl-3.0.html @@ -258,6 +258,9 @@ Once activated, access the plugin's settings by navigating to “WooCommerce > S == Changelog == += 3.0.9 - 03/10/2024 = +* Fix - Creation of dynamic property Alg_WC_Wish_List_Core::$admin_multiple_wishlist. + = 3.0.8 - 19/09/2024 = * Update - Store multiple wishlists in the database for logged-in users. * Update - Display multiple wishlists on the admin user profile page. diff --git a/wish-list-for-woocommerce.php b/wish-list-for-woocommerce.php index 7700b70..a61a74f 100644 --- a/wish-list-for-woocommerce.php +++ b/wish-list-for-woocommerce.php @@ -3,7 +3,7 @@ Plugin Name: Wishlist for WooCommerce Plugin URI: https://wpfactory.com/item/wish-list-woocommerce/ Description: Let your visitors show what products they like on your WooCommerce store with a Wishlist. -Version: 3.0.8 +Version: 3.0.9 Author: WPFactory Author URI: https://wpfactory.com/ Copyright: © 2023 WPFactory.