Plugin Directory

Changeset 2907011


Ignore:
Timestamp:
05/02/2023 12:25:18 PM (3 years ago)
Author:
vrpr
Message:

v 1.2.2

Location:
wdv-one-page-docs/trunk
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • wdv-one-page-docs/trunk/README.txt

    r2856538 r2907011  
    44Tags: document, documentation, faq, knowledge base, docs, support
    55Requires at least: 5.2
    6 Tested up to: 6.1.1
     6Tested up to: 6.2
    77Stable tag: trunk
    88Requires PHP: 7.0
     
    8181= 1.1.4 =
    8282= 1.2.1 =
     83= 1.2.2 =
    8384
    8485== Upgrade Notice ==
     
    9091= 1.1.4 =
    9192= 1.2.1 =
     93= 1.2.2 =
  • wdv-one-page-docs/trunk/includes/class-wdv-one-page-doc-shortcode.php

    r2396161 r2907011  
    55 */
    66class Wdv_One_Page_Doc_Shortcode {
    7 
     7public string $shortcodedoc;
    88    public function __construct() {
    99        add_shortcode( 'wdvdoc', array( $this, 'shortcode' ) );
     
    2222
    2323    global $wdv_atts; 
    24 
    25     $wdv_atts   = shortcode_atts( array('id'    => '', ), $atts, 'wdvdoc' );
     24    $shortcodedoc = 'wdvdoc';
     25    $wdv_atts   = shortcode_atts( array('id'    => '', ), $atts, $shortcodedoc );
    2626   
    2727    $template = new SC101_Template_Loader();
  • wdv-one-page-docs/trunk/includes/class-wdv-one-page-docs-shortcode.php

    r2396161 r2907011  
    55 */
    66class Wdv_One_Page_Docs_Shortcode {
    7 
     7public string $shortcodedocs;
    88    public function __construct() {
    99        add_shortcode( 'wdvdocs', array( $this, 'shortcodes' ) );
     
    2222
    2323    global $wdvdocs_atts;
    24 
     24    $shortcodedocs = 'wdvdocs';
    2525    $wdvdocs_atts   = shortcode_atts( array(
    2626        'columns'   => '2',
    2727        'txtcolor' => '#fff',
    2828        'bgcolor'  => 'blue',
    29     ), $atts, 'wdvdocs' );
     29    ), $atts, $shortcodedocs );
    3030
    3131
  • wdv-one-page-docs/trunk/public/class-wdv-one-page-docs-public.php

    r2396161 r2907011  
    104104        public function wdv_one_page_docs_shortcode() {
    105105        //add_shortcode( 'wdvdocs', array( $this, 'wdv_docs_shortcode') );
    106         //add_shortcode( 'wdvdoc', array( $this, 'wdv_doc_shortcode') );
    107             $this->shortcode = new Wdv_One_Page_Docs_Shortcode();
    108             $this->shortcode = new Wdv_One_Page_Doc_Shortcode();
     106        //add_shortcode( 'wdvdoc', array( $this, 'wdv_doc_shortcode') );           
     107            $shortcodedocs = new Wdv_One_Page_Docs_Shortcode();
     108            $shortcodedoc = new Wdv_One_Page_Doc_Shortcode();
    109109        }
    110110
    111 
    112         /*function wdv_docs_shortcode() {
    113 
    114             //return '<div class="wdv-docs-shortcode"><app-root></app-root></div>';
    115             $this->shortcode = new Wdv_One_Page_Docs_Shortcode();
    116             include_once plugin_dir_path( __FILE__ ) . 'partials/wdv-one-page-docs-public-wdv-docs-shortcode-display.php';
    117         }
    118 
    119 
    120         function wdv_doc_shortcode( $atts ) {
    121             $params = shortcode_atts( array( 'id' => '', ), $atts );
    122 
    123             return '<div class="wdv-doc-shortcode"><app-root data-docid="'. $params["id"] .'">
    124             </app-root></div>';
    125         }*/
    126 
    127111}
  • wdv-one-page-docs/trunk/wdv-one-page-docs.php

    r2453262 r2907011  
    1717 * Plugin URI:        https://wdvillage.com/product/wdv-one-page-docs/
    1818 * Description:       A one page documentation plugin for WordPress
    19  * Version:           1.2.1
     19 * Version:           1.2.2
    2020 * Author:            Wdvillage
    2121 * Author URI:        https://wdvillage.com/
     
    3636 * Rename this for your plugin and update it as you release new versions.
    3737 */
    38 define( 'WDV_ONE_PAGE_DOCS_VERSION', '1.2.1' );
     38define( 'WDV_ONE_PAGE_DOCS_VERSION', '1.2.2' );
    3939
    4040/**
Note: See TracChangeset for help on using the changeset viewer.