Plugin Directory

Changeset 2882978


Ignore:
Timestamp:
03/19/2023 06:38:55 PM (3 years ago)
Author:
dmimag
Message:

Fixing a bug with displaying a button "Add new FAQ"

Location:
dmimag-faqs/tags/1.2.3
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • dmimag-faqs/tags/1.2.3/dmimag-faqs.php

    r2881006 r2882978  
    1515 * Plugin URI:        https://faqs.dmimag.site
    1616 * Description:       FAQs Plugin. FAQ. Accordion Style, Guide Style
    17  * Version:           1.2.3
     17 * Version:           1.2.4
    1818 * Author:            dmimag <support.plugins@dmimag.site>
    1919 * Author URI:        https://dmimag.site
     
    3434 * Rename this for your plugin and update it as you release new versions.
    3535 */
    36 define( 'DMIMAG_FAQS_VERSION', '1.2.3' );
     36define( 'DMIMAG_FAQS_VERSION', '1.2.4' );
    3737
    3838/**
  • dmimag-faqs/tags/1.2.3/includes/class-dmimag-faqs-postbox.php

    r2881006 r2882978  
    262262   */
    263263  public function dmimag_faqs_render_button_add( $post ) {
     264    if ( $this->post_type !== $post->post_type ) {
     265      return;
     266    }
    264267?>
    265268    <button type="button" class="button button-primary dmimag-faqs-button-add"><?php _e( '+ Add FAQ', 'dmimag-faqs' ); ?></button>
  • dmimag-faqs/tags/1.2.3/includes/class-dmimag-faqs.php

    r2881006 r2882978  
    6868      $this->version = DMIMAG_FAQS_VERSION;
    6969    } else {
    70       $this->version = '1.2.3';
     70      $this->version = '1.2.4';
    7171    }
    7272
  • dmimag-faqs/tags/1.2.3/readme.txt

    r2882834 r2882978  
    66Tested up to: 6.2
    77Requires PHP: 7.4
    8 Stable tag: 1.2.3
     8Stable tag: 1.2.4
    99License: GPLv2 or later
    1010License URI: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html
     
    4242== Changelog ==
    4343
     44= 1.2.4 =
     45- Fixing a bug with displaying a button "Add new FAQ"
     46
    4447= 1.2.3 =
    4548- Fixed minor bugs
Note: See TracChangeset for help on using the changeset viewer.