Skip to content

Commit

Permalink
v3.5.4
Browse files Browse the repository at this point in the history
  • Loading branch information
pablo-sg-pacheco committed Oct 14, 2024
1 parent 21c6acc commit 45f915d
Show file tree
Hide file tree
Showing 14 changed files with 56 additions and 209 deletions.
24 changes: 12 additions & 12 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion cost-of-goods-for-woocommerce.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
Plugin Name: Cost of Goods for WooCommerce
Plugin URI: https://wpfactory.com/item/cost-of-goods-for-woocommerce/
Description: Save product purchase costs (cost of goods) in WooCommerce. Beautifully.
Version: 3.5.3
Version: 3.5.4
Author: WPFactory
Author URI: https://wpfactory.com
Text Domain: cost-of-goods-for-woocommerce
Expand Down
2 changes: 1 addition & 1 deletion includes/class-alg-wc-cog.php
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ final class Alg_WC_Cost_of_Goods {
* @since 1.0.0
* @var string
*/
public $version = '3.5.3';
public $version = '3.5.4';

/**
* @since 1.0.0
Expand Down
4 changes: 2 additions & 2 deletions langs/cost-of-goods-for-woocommerce.pot
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,14 @@
# This file is distributed under the GNU General Public License v3.0.
msgid ""
msgstr ""
"Project-Id-Version: cost-of-goods-for-woocommerce 3.5.3\n"
"Project-Id-Version: cost-of-goods-for-woocommerce 3.5.4\n"
"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/cost-of-goods-for-woocommerce\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <[email protected]>\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"POT-Creation-Date: 2024-10-09T00:51:44+02:00\n"
"POT-Creation-Date: 2024-10-14T16:37:56+02:00\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"X-Generator: WP-CLI 2.7.1\n"
"X-Domain: cost-of-goods-for-woocommerce\n"
Expand Down
6 changes: 5 additions & 1 deletion readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ Contributors: wpcodefactory, omardabbas, karzin, anbinder, algoritmika, kousikmu
Tags: woocommerce, cost, cost of goods, profit, profit calculator
Requires at least: 6.1
Tested up to: 6.6
Stable tag: 3.5.3
Stable tag: 3.5.4
License: GNU General Public License v3.0
License URI: http://www.gnu.org/licenses/gpl-3.0.html

Expand Down Expand Up @@ -344,6 +344,10 @@ Once activated, access the plugin's settings by navigating to “WooCommerce > S

== Changelog ==

= 3.5.4 - 14/10/2024 =
* Dev - WPFactory admin menu removed from pro version.
* Fix - WPFactory menu and submenus are now visible and accessible.

= 3.5.3 - 08/10/2024 =
* Dev - Tabs removed from WPFactory submenu plugin pages.

Expand Down
28 changes: 14 additions & 14 deletions vendor/composer/installed.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,23 +2,23 @@
"packages": [
{
"name": "wpfactory/wpfactory-admin-menu",
"version": "v1.0.2",
"version_normalized": "1.0.2.0",
"version": "v1.0.3",
"version_normalized": "1.0.3.0",
"source": {
"type": "git",
"url": "https://github.com/wpcodefactory/wpfactory-admin-menu.git",
"reference": "89e0b637eb5af737dd4cba52a41797082cb0d7c9"
"reference": "fe48c4100a6b436a3dd39308814887119063c140"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/wpcodefactory/wpfactory-admin-menu/zipball/89e0b637eb5af737dd4cba52a41797082cb0d7c9",
"reference": "89e0b637eb5af737dd4cba52a41797082cb0d7c9",
"url": "https://api.github.com/repos/wpcodefactory/wpfactory-admin-menu/zipball/fe48c4100a6b436a3dd39308814887119063c140",
"reference": "fe48c4100a6b436a3dd39308814887119063c140",
"shasum": ""
},
"require-dev": {
"wp-cli/wp-cli-bundle": "*"
},
"time": "2024-10-08T22:38:02+00:00",
"time": "2024-10-14T14:01:02+00:00",
"type": "library",
"installation-source": "dist",
"autoload": {
Expand Down Expand Up @@ -46,24 +46,24 @@
]
},
"support": {
"source": "https://github.com/wpcodefactory/wpfactory-admin-menu/tree/v1.0.2",
"source": "https://github.com/wpcodefactory/wpfactory-admin-menu/tree/v1.0.3",
"issues": "https://github.com/wpcodefactory/wpfactory-admin-menu/issues"
},
"install-path": "../wpfactory/wpfactory-admin-menu"
},
{
"name": "wpfactory/wpfactory-cross-selling",
"version": "v1.0.0",
"version_normalized": "1.0.0.0",
"version": "v1.0.1",
"version_normalized": "1.0.1.0",
"source": {
"type": "git",
"url": "https://github.com/wpcodefactory/wpfactory-cross-selling.git",
"reference": "7157c3a9fcbf6ea5f1534cabe14de2db30c60601"
"reference": "684288d094437acaf1ea0c0a97db4613660c4504"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/wpcodefactory/wpfactory-cross-selling/zipball/7157c3a9fcbf6ea5f1534cabe14de2db30c60601",
"reference": "7157c3a9fcbf6ea5f1534cabe14de2db30c60601",
"url": "https://api.github.com/repos/wpcodefactory/wpfactory-cross-selling/zipball/684288d094437acaf1ea0c0a97db4613660c4504",
"reference": "684288d094437acaf1ea0c0a97db4613660c4504",
"shasum": ""
},
"require": {
Expand All @@ -72,7 +72,7 @@
"require-dev": {
"wp-cli/wp-cli-bundle": "*"
},
"time": "2024-09-27T19:51:56+00:00",
"time": "2024-10-14T14:27:51+00:00",
"type": "library",
"installation-source": "dist",
"autoload": {
Expand Down Expand Up @@ -100,7 +100,7 @@
]
},
"support": {
"source": "https://github.com/wpcodefactory/wpfactory-cross-selling/tree/v1.0.0",
"source": "https://github.com/wpcodefactory/wpfactory-cross-selling/tree/v1.0.1",
"issues": "https://github.com/wpcodefactory/wpfactory-cross-selling/issues"
},
"install-path": "../wpfactory/wpfactory-cross-selling"
Expand Down
16 changes: 8 additions & 8 deletions vendor/composer/installed.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
'name' => '__root__',
'pretty_version' => 'dev-master',
'version' => 'dev-master',
'reference' => '28dd26f09034d83162512371524610b84aa60c47',
'reference' => '9cf6ee290b7a88299f82ef9d4923b966da6038b1',
'type' => 'library',
'install_path' => __DIR__ . '/../../',
'aliases' => array(),
Expand All @@ -13,25 +13,25 @@
'__root__' => array(
'pretty_version' => 'dev-master',
'version' => 'dev-master',
'reference' => '28dd26f09034d83162512371524610b84aa60c47',
'reference' => '9cf6ee290b7a88299f82ef9d4923b966da6038b1',
'type' => 'library',
'install_path' => __DIR__ . '/../../',
'aliases' => array(),
'dev_requirement' => false,
),
'wpfactory/wpfactory-admin-menu' => array(
'pretty_version' => 'v1.0.2',
'version' => '1.0.2.0',
'reference' => '89e0b637eb5af737dd4cba52a41797082cb0d7c9',
'pretty_version' => 'v1.0.3',
'version' => '1.0.3.0',
'reference' => 'fe48c4100a6b436a3dd39308814887119063c140',
'type' => 'library',
'install_path' => __DIR__ . '/../wpfactory/wpfactory-admin-menu',
'aliases' => array(),
'dev_requirement' => false,
),
'wpfactory/wpfactory-cross-selling' => array(
'pretty_version' => 'v1.0.0',
'version' => '1.0.0.0',
'reference' => '7157c3a9fcbf6ea5f1534cabe14de2db30c60601',
'pretty_version' => 'v1.0.1',
'version' => '1.0.1.0',
'reference' => '684288d094437acaf1ea0c0a97db4613660c4504',
'type' => 'library',
'install_path' => __DIR__ . '/../wpfactory/wpfactory-cross-selling',
'aliases' => array(),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
/**
* WPFactory Admin Menu
*
* @version 1.0.2
* @version 1.0.3
* @since 1.0.0
* @author WPFactory
*/
Expand Down Expand Up @@ -30,7 +30,7 @@ class WPFactory_Admin_Menu {
*
* @var string
*/
protected $version = '1.0.1';
protected $version = '1.0.3';

/**
* Menu slug.
Expand Down Expand Up @@ -66,7 +66,7 @@ class WPFactory_Admin_Menu {
*
* @var string
*/
protected $capability = 'manage_options';
protected $capability = '';

/**
* Icon URL.
Expand Down Expand Up @@ -131,7 +131,7 @@ public function move_wc_settings_tab_to_wpfactory_menu( $args = null ) {
'wc_settings_tab_id' => '',
'page_title' => '',
'menu_title' => '',
'capability' => 'manage_options',
'capability' => class_exists( 'WooCommerce' ) ? 'manage_woocommerce' : 'manage_options',
'position' => 30,
) );
if ( empty( $args['page_title'] ) ) {
Expand Down Expand Up @@ -187,12 +187,16 @@ function add_submenu_page( $page_title, $menu_title, $capability, $menu_slug, $c
/**
* Creates WPFactory admin menu.
*
* @version 1.0.0
* @version 1.0.3
* @since 1.0.0
*
* @return void
*/
function create_wpfactory_admin_menu() {
// Set capability.
$this->set_capability( class_exists( 'WooCommerce' ) ? 'manage_woocommerce' : 'manage_options' );

// Menu page.
\add_menu_page(
$this->get_page_title(),
$this->get_menu_title(),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
/**
* WPFactory Cross-Selling
*
* @version 1.0.0
* @version 1.0.1
* @since 1.0.0
* @author WPFactory
*/
Expand Down Expand Up @@ -32,7 +32,7 @@ class WPFactory_Cross_Selling {
*
* @var string
*/
protected $version = '1.0.0';
protected $version = '1.0.1';

/**
* Setup args.
Expand Down Expand Up @@ -91,7 +91,7 @@ class WPFactory_Cross_Selling {
/**
* Setups the class.
*
* @version 1.0.0
* @version 1.0.1
* @since 1.0.0
*
* @param $args
Expand All @@ -117,7 +117,7 @@ function setup( $args = null ) {
$args['admin_page'] = wp_parse_args( $args['admin_page'], array(
'page_title' => __( 'WPFactory Recommendations', 'wpfactory-cross-selling' ),
'menu_title' => __( 'Recommendations', 'wpfactory-cross-selling' ),
'capability' => 'manage_options',
'capability' => class_exists( 'WooCommerce' ) ? 'manage_woocommerce' : 'manage_options',
'position' => 2
) );

Expand Down
14 changes: 0 additions & 14 deletions vendor/wpfactory/wpfactory-cross-selling/src/scss/admin.scss

This file was deleted.

This file was deleted.

Loading

0 comments on commit 45f915d

Please sign in to comment.