Plugin Directory

Changeset 2248443


Ignore:
Timestamp:
02/21/2020 08:36:01 PM (6 years ago)
Author:
stevepuddick
Message:

add: version 1.0.5

Location:
wp-notes-widget
Files:
114 added
6 edited

Legend:

Unmodified
Added
Removed
  • wp-notes-widget/trunk/README.txt

    r2213199 r2248443  
    33Tags: widget, notes, sidebar, notification, news, events, tweet, twitter
    44Requires at least: 3.5
    5 Tested up to: 5.3.1 s
    6 Stable tag: 1.0.4
     5Tested up to: 5.0.3
     6Stable tag: 1.0.5
    77License: GPLv2 or later
    88
     
    168168== Changelog ==
    169169
     170= 1.0.5 =
     171* fix: enforce loading of media buttons to admin, for compatibility with some site builder plugins
     172* fix: reset post data after every WP_Query call
     173
    170174= 1.0.4 =
    171175* change: Admin Code Editor promo link
  • wp-notes-widget/trunk/admin/admin-widget-view.php

    r2024975 r2248443  
    147147              <?php
    148148            }
    149 
     149            wp_reset_postdata();
    150150          ?>
    151151        </ul>
  • wp-notes-widget/trunk/admin/partials/admin-post-shortcode-editor-modal.php

    r2024975 r2248443  
    163163                            <?php
    164164                          }
    165 
     165                          wp_reset_postdata();
    166166                        ?>
    167167                      </ul>
  • wp-notes-widget/trunk/includes/class-wp-notes-widget.php

    r2024975 r2248443  
    150150        return;
    151151      }
    152        
     152      wp_reset_postdata(); 
    153153      // Check if there is a cached output
    154154      $cache = wp_cache_get( $this->get_widget_slug(), 'widget' );
  • wp-notes-widget/trunk/includes/class-wp-notes.php

    r2024975 r2248443  
    7272
    7373    $this->WP_Notes = 'wp-notes';
    74     $this->version = '1.0.4';
     74    $this->version = '1.0.5';
    7575
    7676    $this->load_dependencies();
     
    193193    $this->loader->add_action( 'admin_init',            $plugin_admin, 'wp_notes_initialize_settings');
    194194    $this->loader->add_filter( 'post_updated_messages', $plugin_admin, 'notes_post_updated_messages');
    195     $this->loader->add_filter( 'media_buttons',         $plugin_admin, 'shortcode_editor_button', 15);
     195    if (is_admin()) {
     196      $this->loader->add_filter( 'media_buttons',         $plugin_admin, 'shortcode_editor_button', 15);
     197    }
    196198    $this->loader->add_filter( 'admin_footer',          $plugin_admin, 'shortcode_editor_modal');   
    197199  }
  • wp-notes-widget/trunk/wp-notes-widget.php

    r2024975 r2248443  
    1414 * Plugin Name:       WP Notes Widget
    1515 * Description:       'Sticky note' style widget to display short, important, time sensitive information.
    16  * Version:           1.0.4
     16 * Version:           1.0.5
    1717 * Author:            Steve Puddick
    1818 * Author URI:        http://webrockstar.net/
Note: See TracChangeset for help on using the changeset viewer.