Changeset 2447151
- Timestamp:
- 12/29/2020 03:28:12 AM (5 years ago)
- Location:
- wp-notes-widget
- Files:
-
- 115 added
- 10 edited
-
tags/1.0.6 (added)
-
tags/1.0.6/README.txt (added)
-
tags/1.0.6/admin (added)
-
tags/1.0.6/admin/admin-post-twitter-no-credentials-view.php (added)
-
tags/1.0.6/admin/admin-post-twitter-view.php (added)
-
tags/1.0.6/admin/admin-post-view.php (added)
-
tags/1.0.6/admin/admin-settings-page-promo-sidebar.php (added)
-
tags/1.0.6/admin/admin-settings-page-setup.php (added)
-
tags/1.0.6/admin/admin-widget-view.php (added)
-
tags/1.0.6/admin/class-wp-notes-admin.php (added)
-
tags/1.0.6/admin/css (added)
-
tags/1.0.6/admin/css/bootstrap-4.5.3.css (added)
-
tags/1.0.6/admin/css/wp-notes-admin.css (added)
-
tags/1.0.6/admin/images (added)
-
tags/1.0.6/admin/images/admin-code-editor-promo.jpg (added)
-
tags/1.0.6/admin/images/custom-ratings-promo.jpg (added)
-
tags/1.0.6/admin/images/notes-widet-wrapper-promo.jpg (added)
-
tags/1.0.6/admin/images/wp-notes-thumbnail-128.png (added)
-
tags/1.0.6/admin/images/wp-notes-thumbnail-16.png (added)
-
tags/1.0.6/admin/images/wp-notes-thumbnail-24.png (added)
-
tags/1.0.6/admin/images/wp-notes-thumbnail-32.png (added)
-
tags/1.0.6/admin/images/wp-notes-thumbnail-64.png (added)
-
tags/1.0.6/admin/index.php (added)
-
tags/1.0.6/admin/js (added)
-
tags/1.0.6/admin/js/bootstrap-4.5.3.bundle.min.js (added)
-
tags/1.0.6/admin/js/shortcode-editor.js (added)
-
tags/1.0.6/admin/js/wp-notes-admin.js (added)
-
tags/1.0.6/admin/js/wp-notes-settings-admin.js (added)
-
tags/1.0.6/admin/js/wp-notes-widget-admin.js (added)
-
tags/1.0.6/admin/less (added)
-
tags/1.0.6/admin/less/wp-notes-admin.less (added)
-
tags/1.0.6/admin/partials (added)
-
tags/1.0.6/admin/partials/admin-post-shortcode-editor-modal.php (added)
-
tags/1.0.6/admin/partials/wp-notes-admin-display.php (added)
-
tags/1.0.6/elements.less (added)
-
tags/1.0.6/gruntfile.js (added)
-
tags/1.0.6/gulpfile.js (added)
-
tags/1.0.6/includes (added)
-
tags/1.0.6/includes/class-wp-notes-activator.php (added)
-
tags/1.0.6/includes/class-wp-notes-deactivator.php (added)
-
tags/1.0.6/includes/class-wp-notes-i18n.php (added)
-
tags/1.0.6/includes/class-wp-notes-loader.php (added)
-
tags/1.0.6/includes/class-wp-notes-widget.php (added)
-
tags/1.0.6/includes/class-wp-notes.php (added)
-
tags/1.0.6/includes/codebird (added)
-
tags/1.0.6/includes/codebird/src (added)
-
tags/1.0.6/includes/codebird/src/cacert.pem (added)
-
tags/1.0.6/includes/codebird/src/codebird.php (added)
-
tags/1.0.6/includes/index.php (added)
-
tags/1.0.6/includes/wp-notes-helpers.php (added)
-
tags/1.0.6/includes/wp-notes-post-data.php (added)
-
tags/1.0.6/includes/wp-notes-widget-data.php (added)
-
tags/1.0.6/index.php (added)
-
tags/1.0.6/languages (added)
-
tags/1.0.6/languages/wp-notes-widget.pot (added)
-
tags/1.0.6/package.json (added)
-
tags/1.0.6/public (added)
-
tags/1.0.6/public/class-wp-notes-public.php (added)
-
tags/1.0.6/public/css (added)
-
tags/1.0.6/public/css/wp-notes-public.css (added)
-
tags/1.0.6/public/css/wp-notes-public.ie8.css (added)
-
tags/1.0.6/public/fonts (added)
-
tags/1.0.6/public/fonts/Kalam (added)
-
tags/1.0.6/public/fonts/Kalam/Kalam-Bold.eot (added)
-
tags/1.0.6/public/fonts/Kalam/Kalam-Bold.svg (added)
-
tags/1.0.6/public/fonts/Kalam/Kalam-Bold.ttf (added)
-
tags/1.0.6/public/fonts/Kalam/Kalam-Bold.woff (added)
-
tags/1.0.6/public/fonts/Kalam/Kalam-Regular.eot (added)
-
tags/1.0.6/public/fonts/Kalam/Kalam-Regular.svg (added)
-
tags/1.0.6/public/fonts/Kalam/Kalam-Regular.ttf (added)
-
tags/1.0.6/public/fonts/Kalam/Kalam-Regular.woff (added)
-
tags/1.0.6/public/fonts/Kalam/readme.txt (added)
-
tags/1.0.6/public/fonts/Kalam/stylesheet.css (added)
-
tags/1.0.6/public/fonts/kalam_bold (added)
-
tags/1.0.6/public/fonts/kalam_bold/Kalam_Bold (added)
-
tags/1.0.6/public/fonts/kalam_bold/Kalam_Bold/Kalam-Bold.eot (added)
-
tags/1.0.6/public/fonts/kalam_bold/Kalam_Bold/Kalam-Bold.svg (added)
-
tags/1.0.6/public/fonts/kalam_bold/Kalam_Bold/Kalam-Bold.ttf (added)
-
tags/1.0.6/public/fonts/kalam_bold/Kalam_Bold/Kalam-Bold.woff (added)
-
tags/1.0.6/public/fonts/kalam_bold/Kalam_Bold/readme.txt (added)
-
tags/1.0.6/public/fonts/kalam_bold/Kalam_Bold/stylesheet.css (added)
-
tags/1.0.6/public/images (added)
-
tags/1.0.6/public/images/bg-note-bottom.png (added)
-
tags/1.0.6/public/images/bg-note-middle.png (added)
-
tags/1.0.6/public/images/bg-note-top.png (added)
-
tags/1.0.6/public/images/img_filter_colorize_0_0_100.png (added)
-
tags/1.0.6/public/images/thumbtack-blue.png (added)
-
tags/1.0.6/public/images/thumbtack-gray.png (added)
-
tags/1.0.6/public/images/thumbtack-green.png (added)
-
tags/1.0.6/public/images/thumbtack-orange.png (added)
-
tags/1.0.6/public/images/thumbtack-pink.png (added)
-
tags/1.0.6/public/images/thumbtack-pushpin-2-md.png (added)
-
tags/1.0.6/public/images/thumbtack-red.png (added)
-
tags/1.0.6/public/images/thumbtack-teal.png (added)
-
tags/1.0.6/public/images/thumbtack-yellow.png (added)
-
tags/1.0.6/public/index.php (added)
-
tags/1.0.6/public/js (added)
-
tags/1.0.6/public/js/wp-notes-widget-public.js (added)
-
tags/1.0.6/public/less (added)
-
tags/1.0.6/public/less/for.less (added)
-
tags/1.0.6/public/less/wp-notes-public.less (added)
-
tags/1.0.6/public/partials (added)
-
tags/1.0.6/public/partials/public-widget-empty-list-item-partial.php (added)
-
tags/1.0.6/public/partials/public-widget-footer-partial.php (added)
-
tags/1.0.6/public/partials/public-widget-header-partial.php (added)
-
tags/1.0.6/public/partials/public-widget-note-list-item-partial.php (added)
-
tags/1.0.6/public/partials/wp-notes-public-display.php (added)
-
tags/1.0.6/public/public-widget-empty-view.php (added)
-
tags/1.0.6/public/public-widget-single-view.php (added)
-
tags/1.0.6/public/public-widget-view.php (added)
-
tags/1.0.6/uninstall.php (added)
-
tags/1.0.6/wp-notes-widget.php (added)
-
trunk/README.txt (modified) (1 diff)
-
trunk/admin/admin-settings-page-promo-sidebar.php (modified) (1 diff)
-
trunk/admin/admin-widget-view.php (modified) (1 diff)
-
trunk/admin/class-wp-notes-admin.php (modified) (2 diffs)
-
trunk/admin/css/bootstrap-4.5.3.css (added)
-
trunk/admin/js/bootstrap-4.5.3.bundle.min.js (added)
-
trunk/admin/js/shortcode-editor.js (modified) (2 diffs)
-
trunk/admin/partials/admin-post-shortcode-editor-modal.php (modified) (8 diffs)
-
trunk/gulpfile.js (added)
-
trunk/includes/class-wp-notes-widget.php (modified) (1 diff)
-
trunk/includes/class-wp-notes.php (modified) (3 diffs)
-
trunk/public/public-widget-view.php (modified) (1 diff)
-
trunk/wp-notes-widget.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
wp-notes-widget/trunk/README.txt
r2444034 r2447151 4 4 Requires at least: 3.5 5 5 Tested up to: 5.6 6 Stable tag: 1.0. 56 Stable tag: 1.0.6 7 7 License: GPLv2 or later 8 8 -
wp-notes-widget/trunk/admin/admin-settings-page-promo-sidebar.php
r2024975 r2447151 17 17 <!-- Nav tabs --> 18 18 <ul id="wp-notes-widget__settings-tab-list" class="nav nav-tabs" role="tablist"> 19 <li role="presentation" class=" active"><ahref="#general" aria-controls="home" role="tab" data-toggle="tab"><?php esc_html_e('General','wp-notes-widget'); ?></a></li>20 <li role="presentation" class=" "><ahref="#shortcode" aria-controls="shortcode" role="tab" data-toggle="tab"><?php esc_html_e('Shortcode','wp-notes-widget'); ?></a></li>21 <li role="presentation" ><ahref="#twitter" aria-controls="profile" role="tab" data-toggle="tab"><?php esc_html_e('Twitter','wp-notes-widget'); ?></a></li>19 <li role="presentation" class="nav-item" ><a class="active nav-link" href="#general" aria-controls="home" role="tab" data-toggle="tab"><?php esc_html_e('General','wp-notes-widget'); ?></a></li> 20 <li role="presentation" class="nav-item" ><a class="nav-link" href="#shortcode" aria-controls="shortcode" role="tab" data-toggle="tab"><?php esc_html_e('Shortcode','wp-notes-widget'); ?></a></li> 21 <li role="presentation" class="nav-item" ><a class="nav-link" href="#twitter" aria-controls="profile" role="tab" data-toggle="tab"><?php esc_html_e('Twitter','wp-notes-widget'); ?></a></li> 22 22 </ul> 23 23 -
wp-notes-widget/trunk/admin/admin-widget-view.php
r2248443 r2447151 147 147 <?php 148 148 } 149 wp_reset_postdata(); 149 wp_reset_postdata(); wp_reset_query(); 150 150 ?> 151 151 </ul> -
wp-notes-widget/trunk/admin/class-wp-notes-admin.php
r2024975 r2447151 633 633 */ 634 634 if ('settings_page_wp-notes-widget-settings' == $hook || 'post.php' == $hook || 'post-new.php' == $hook ) { 635 wp_enqueue_style( 'wp-notes-bootstrap-theme-css', plugin_dir_url( __FILE__ ) . 'css/wp-ace-bootstrap-theme.css', array(), $this->version, 'all' );636 wp_enqueue_style( 'wp-notes-bootstrap-css', plugin_dir_url( __FILE__ ) . 'css/ wp-ace-bootstrap.css', array(), $this->version, 'all' );635 //wp_enqueue_style( 'wp-notes-bootstrap-theme-css', plugin_dir_url( __FILE__ ) . 'css/wp-ace-bootstrap-theme.css', array(), $this->version, 'all' ); 636 wp_enqueue_style( 'wp-notes-bootstrap-css', plugin_dir_url( __FILE__ ) . 'css/bootstrap-4.5.3.css', array(), $this->version, 'all' ); 637 637 wp_enqueue_style( 'wp-notes-fontawesome', '//maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css', array(), '4.7.0', 'all' ); 638 638 } … … 688 688 } elseif ('settings_page_wp-notes-widget-settings' == $hook ) { 689 689 wp_enqueue_script('jquery'); 690 wp_enqueue_script( 'wp-notes-bootstrap-js', plugin_dir_url( __FILE__ ) . 'js/bootstrap .min.js', array( 'jquery' ), $this->version, false );690 wp_enqueue_script( 'wp-notes-bootstrap-js', plugin_dir_url( __FILE__ ) . 'js/bootstrap-4.5.3.bundle.min.js', array( 'jquery' ), $this->version, false ); 691 691 wp_enqueue_script( 'wp-notes-settings-js', plugin_dir_url( __FILE__ ) . 'js/wp-notes-settings-admin.js', array( 'jquery' ), filemtime(plugin_dir_path( __FILE__ ) . 'js/wp-notes-settings-admin.js'), false ); 692 692 } elseif (('post.php' == $hook && isset($_GET['post'])) || 'post-new.php' == $hook ) { 693 693 wp_enqueue_script( 'wp-notes-sc-editor', plugin_dir_url( __FILE__ ) . 'js/shortcode-editor.js', array( 'jquery' ), filemtime(plugin_dir_path( __FILE__ ) . 'js/shortcode-editor.js'), false ); 694 694 wp_enqueue_script('jquery'); 695 wp_enqueue_script( 'wp-ace-bootstrap-js', plugin_dir_url( __FILE__ ) . 'js/bootstrap .min.js', array( 'jquery' ), $this->version, false );695 wp_enqueue_script( 'wp-ace-bootstrap-js', plugin_dir_url( __FILE__ ) . 'js/bootstrap-4.5.3.bundle.min.js', array( 'jquery' ), $this->version, false ); 696 696 } 697 697 -
wp-notes-widget/trunk/admin/js/shortcode-editor.js
r1738506 r2447151 207 207 jQuery('#wp-notes-widget__shortcode-editor-modal').modal('show'); 208 208 }); 209 209 210 210 jQuery('#wp-notes-widget--insert-shortcode').on('click', function(){ 211 211 wp.media.editor.insert('[wp-notes-widget ' + stripHTML(shortcode_string) + ' ]'); … … 220 220 221 221 $("#wp-notes-widget__shortcode-editor-modal").on('shown.bs.modal', function () { 222 initShortcodeModalScrollDisplay(); 223 }); 222 initShortcodeModalScrollDisplay(); 223 }); 224 224 225 $("#wp-notes-widget__shortcode-editor-modal a[data-toggle='tab']").on('shown.bs.tab', function () { 225 initShortcodeModalScrollDisplay(); 226 });226 initShortcodeModalScrollDisplay(); 227 }); 227 228 228 229 initShortcodeSettingsChangeListeners(); 229 230 initScrollListeners(); 231 230 232 }); -
wp-notes-widget/trunk/admin/partials/admin-post-shortcode-editor-modal.php
r2248443 r2447151 2 2 <div class="wp-notes-widget-bootstrap" > 3 3 <div class="modal fade" id="wp-notes-widget__shortcode-editor-modal" tabindex="-1" role="dialog"> 4 <div class="modal-dialog modal-lg " role="document">4 <div class="modal-dialog modal-lg modal-dialog-scrollable" role="document"> 5 5 <div class="modal-content"> 6 6 <div class="modal-header"> 7 <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">×</span></button>8 <h4 class="modal-title"><?php esc_html_e('Notes Shortcode Editor','wp-notes-widget'); ?></h4>7 <h4 class="modal-title"><?php esc_html_e('Notes Shortcode Editor','wp-notes-widget'); ?></h4> 8 <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">×</span></button> 9 9 </div> 10 10 <div class="modal-body"> … … 16 16 <!-- Nav tabs --> 17 17 <ul class="nav nav-tabs" role="tablist"> 18 <li role="presentation" class=" active"><ahref="#visual" aria-controls="visual" role="tab" data-toggle="tab"><?php esc_html_e('Visual Settings','wp-notes-widget'); ?></a></li>19 <li role="presentation" ><ahref="#display" aria-controls="display" role="tab" data-toggle="tab"><?php esc_html_e('Display Notes','wp-notes-widget'); ?></a></li>20 <li role="presentation" ><ahref="#general" aria-controls="general" role="tab" data-toggle="tab"><?php esc_html_e('General Settings','wp-notes-widget'); ?></a></li>21 <li role="presentation" ><ahref="#font-style" aria-controls="font-style" role="tab" data-toggle="tab"><?php esc_html_e('Font Style','wp-notes-widget'); ?></a></li>22 <li role="presentation" ><ahref="#shortcode" aria-controls="shortcode" role="tab" data-toggle="tab"><?php esc_html_e('Shortcode Settings','wp-notes-widget'); ?></a></li>18 <li role="presentation" class="nav-item"><a class="active nav-link" href="#visual" aria-controls="visual" role="tab" data-toggle="tab"><?php esc_html_e('Visual Settings','wp-notes-widget'); ?></a></li> 19 <li role="presentation" class="nav-item" ><a class="nav-link" href="#display" aria-controls="display" role="tab" data-toggle="tab"><?php esc_html_e('Display Notes','wp-notes-widget'); ?></a></li> 20 <li role="presentation" class="nav-item" ><a class="nav-link" href="#general" aria-controls="general" role="tab" data-toggle="tab"><?php esc_html_e('General Settings','wp-notes-widget'); ?></a></li> 21 <li role="presentation" class="nav-item" ><a class="nav-link" href="#font-style" aria-controls="font-style" role="tab" data-toggle="tab"><?php esc_html_e('Font Style','wp-notes-widget'); ?></a></li> 22 <li role="presentation" class="nav-item" ><a class="nav-link" href="#shortcode" aria-controls="shortcode" role="tab" data-toggle="tab"><?php esc_html_e('Shortcode Settings','wp-notes-widget'); ?></a></li> 23 23 </ul> 24 24 … … 26 26 <div class="wp-notes-widget--tab-content-container"> 27 27 <div class="tab-content"> 28 < section role="tabpanel" class="tab-pane active fade in" id="visual">28 <div role="tabpanel" class="tab-pane active" id="visual"> 29 29 <a href='#' class="wp-notes-widget__scroll-to-bottom hidden" ><i class="fa fa-chevron-circle-down" aria-hidden="true"></i></a> 30 30 <header> … … 105 105 </div> 106 106 107 </ section>108 < sectionrole="tabpanel" class="tab-pane fade" id="display">107 </div> 108 <div role="tabpanel" class="tab-pane fade" id="display"> 109 109 <a href='#' class="wp-notes-widget__scroll-to-bottom hidden" ><i class="fa fa-chevron-circle-down" aria-hidden="true"></i></a> 110 110 <header> … … 163 163 <?php 164 164 } 165 wp_reset_postdata(); 165 wp_reset_postdata(); wp_reset_query(); 166 166 ?> 167 167 </ul> … … 170 170 <p><i class="fa fa-info-circle" aria-hidden="true"></i> <?php esc_html_e('Note categories are available in', 'wp-notes-widget'); ?> <a href='<?php echo WP_NOTES_WIDGET_PRO_LINK ?>?utm_source=wp-notes-widget-plugin&utm_medium=shortcode-settings-modal-categories'>WP Notes Widget PRO</a>.</p> 171 171 </div> 172 </ section>173 < sectionrole="tabpanel" class="tab-pane fade " id="general">172 </div> 173 <div role="tabpanel" class="tab-pane fade " id="general"> 174 174 <a href='#' class="wp-notes-widget__scroll-to-bottom hidden" ><i class="fa fa-chevron-circle-down" aria-hidden="true"></i></a> 175 175 <header> … … 212 212 </li> 213 213 </ul> 214 </ section>214 </div> 215 215 <section role="tabpanel" class="tab-pane fade" id="font-style"> 216 216 <a href='#' class="wp-notes-widget__scroll-to-bottom hidden" ><i class="fa fa-chevron-circle-down" aria-hidden="true"></i></a> … … 304 304 </div> 305 305 <div class="modal-footer"> 306 <button type="button" class="btn btn-default" data-dismiss="modal"><?php esc_html_e('Close', 'wp-notes-widget'); ?></button>306 <button type="button" class="btn btn-secondary" data-dismiss="modal"><?php esc_html_e('Close', 'wp-notes-widget'); ?></button> 307 307 <!-- 308 308 <button type="button" id="wp-notes-widget--insert-shortcode" class="btn btn-primary"><?php esc_html_e('Insert and Close', 'wp-notes-widget'); ?></button> -
wp-notes-widget/trunk/includes/class-wp-notes-widget.php
r2248443 r2447151 204 204 205 205 print $widget_string; 206 206 wp_reset_postdata(); 207 207 } // end widget 208 208 -
wp-notes-widget/trunk/includes/class-wp-notes.php
r2248443 r2447151 72 72 73 73 $this->WP_Notes = 'wp-notes'; 74 $this->version = '1.0. 5';74 $this->version = '1.0.6'; 75 75 76 76 $this->load_dependencies(); … … 179 179 180 180 $plugin_admin = new WP_Notes_Admin( $this->get_WP_Notes(), $this->get_version() ); 181 181 182 182 $this->loader->add_action( 'admin_enqueue_scripts', $plugin_admin, 'enqueue_styles' ); 183 183 $this->loader->add_action( 'admin_enqueue_scripts', $plugin_admin, 'enqueue_scripts' ); … … 194 194 $this->loader->add_filter( 'post_updated_messages', $plugin_admin, 'notes_post_updated_messages'); 195 195 if (is_admin()) { 196 $this->loader->add_filter( 'media_buttons', $plugin_admin, 'shortcode_editor_button', 15);196 $this->loader->add_filter( 'media_buttons', $plugin_admin, 'shortcode_editor_button', 99); 197 197 } 198 $this->loader->add_filter( 'admin_footer', $plugin_admin, 'shortcode_editor_modal'); 198 $this->loader->add_filter( 'admin_footer', $plugin_admin, 'shortcode_editor_modal'); 199 199 200 } 200 201 -
wp-notes-widget/trunk/public/public-widget-view.php
r1738506 r2447151 21 21 22 22 <?php require 'partials/public-widget-footer-partial.php'; ?> 23 <?php wp_reset_postdata(); wp_reset_query(); ?> -
wp-notes-widget/trunk/wp-notes-widget.php
r2248443 r2447151 14 14 * Plugin Name: WP Notes Widget 15 15 * Description: 'Sticky note' style widget to display short, important, time sensitive information. 16 * Version: 1.0. 516 * Version: 1.0.6 17 17 * Author: Steve Puddick 18 18 * Author URI: http://webrockstar.net/
Note: See TracChangeset
for help on using the changeset viewer.