Plugin Directory

Changeset 2016397


Ignore:
Timestamp:
01/21/2019 05:54:55 PM (7 years ago)
Author:
8bitsinarow
Message:

Fixed "Edit Product" and "Edit Section" links

Location:
basepress/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • basepress/trunk/basepress.php

    r1997170 r2016397  
    55 * Plug URI: http://www.8bitsinarow.com
    66 * Description: The perfect Knowledge Base plugin for WordPress
    7  * Version: 2.0.2
     7 * Version: 2.0.3
    88 * Author: 8Bits in a row
    99 * Author URI: http://www.8bitsinarow.com
     
    7373             * @var string
    7474             */
    75             public  $ver = '2.0.2' ;
     75            public  $ver = '2.0.3' ;
    7676            /**
    7777             * Database version
     
    398398                   
    399399                    if ( 0 == $queried_object->parent ) {
    400                         $href = get_admin_url() . 'edit.php?post_type=knowledgebase&page=products&product=' . $queried_object->term_id;
     400                        $href = get_admin_url() . 'edit.php?post_type=knowledgebase&page=basepress_products&product=' . $queried_object->term_id;
    401401                        $title = __( 'Edit Product', 'basepress' );
    402402                    } else {
    403403                        //Edit menu for sections
    404                         $href = get_admin_url() . 'edit.php?post_type=knowledgebase&page=sections&section=' . $queried_object->term_id;
     404                        $href = get_admin_url() . 'edit.php?post_type=knowledgebase&page=basepress_sections&section=' . $queried_object->term_id;
    405405                        $title = __( 'Edit Section', 'basepress' );
    406406                    }
  • basepress/trunk/readme.txt

    r1997170 r2016397  
    55Requires at least: 4.5
    66Tested up to: 5.0
    7 Stable tag: 2.0.2
     7Stable tag: 2.0.3
    88License: GPLv2 or later
    99License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    140140== Changelog ==
    141141
     142= 2.0.3 =
     143* Fixed "Edit Product" and "Edit Section" link in admin bar in the front end not working
     144
    142145= 2.0.2 =
    143146* Fixed search bar shortcode which made bar always appear at the top of the page
Note: See TracChangeset for help on using the changeset viewer.