Changeset 3229860
- Timestamp:
- 01/27/2025 06:16:47 PM (12 months ago)
- Location:
- lifepress
- Files:
-
- 68 added
- 6 edited
-
tags/2.1.2 (added)
-
tags/2.1.2/README.txt (added)
-
tags/2.1.2/assets (added)
-
tags/2.1.2/assets/admin.css (added)
-
tags/2.1.2/assets/global.css (added)
-
tags/2.1.2/assets/libs (added)
-
tags/2.1.2/assets/libs/fontawesome (added)
-
tags/2.1.2/assets/libs/fontawesome/all.js (added)
-
tags/2.1.2/assets/libs/fontawesome/all.min.js (added)
-
tags/2.1.2/assets/libs/fontawesome/brands.js (added)
-
tags/2.1.2/assets/libs/fontawesome/brands.min.js (added)
-
tags/2.1.2/assets/libs/fontawesome/conflict-detection.js (added)
-
tags/2.1.2/assets/libs/fontawesome/conflict-detection.min.js (added)
-
tags/2.1.2/assets/libs/fontawesome/fontawesome.js (added)
-
tags/2.1.2/assets/libs/fontawesome/fontawesome.min.js (added)
-
tags/2.1.2/assets/libs/fontawesome/regular.js (added)
-
tags/2.1.2/assets/libs/fontawesome/regular.min.js (added)
-
tags/2.1.2/assets/libs/fontawesome/solid.js (added)
-
tags/2.1.2/assets/libs/fontawesome/solid.min.js (added)
-
tags/2.1.2/assets/libs/fontawesome/v4-shims.js (added)
-
tags/2.1.2/assets/libs/fontawesome/v4-shims.min.js (added)
-
tags/2.1.2/assets/libs/handlebars.js (added)
-
tags/2.1.2/assets/libs/jquery-ui (added)
-
tags/2.1.2/assets/libs/jquery-ui/images (added)
-
tags/2.1.2/assets/libs/jquery-ui/images/ui-bg_glass_100_f8f8f8_1x400.png (added)
-
tags/2.1.2/assets/libs/jquery-ui/images/ui-bg_glass_35_dddddd_1x400.png (added)
-
tags/2.1.2/assets/libs/jquery-ui/images/ui-bg_glass_60_eeeeee_1x400.png (added)
-
tags/2.1.2/assets/libs/jquery-ui/images/ui-bg_inset-hard_75_999999_1x100.png (added)
-
tags/2.1.2/assets/libs/jquery-ui/images/ui-bg_inset-soft_50_c9c9c9_1x100.png (added)
-
tags/2.1.2/assets/libs/jquery-ui/images/ui-icons_3383bb_256x240.png (added)
-
tags/2.1.2/assets/libs/jquery-ui/images/ui-icons_454545_256x240.png (added)
-
tags/2.1.2/assets/libs/jquery-ui/images/ui-icons_70b2e1_256x240.png (added)
-
tags/2.1.2/assets/libs/jquery-ui/images/ui-icons_999999_256x240.png (added)
-
tags/2.1.2/assets/libs/jquery-ui/images/ui-icons_fbc856_256x240.png (added)
-
tags/2.1.2/assets/libs/jquery-ui/jquery-ui.css (added)
-
tags/2.1.2/assets/libs/jquery-ui/jquery-ui.min.css (added)
-
tags/2.1.2/assets/libs/jquery-ui/theme.css (added)
-
tags/2.1.2/assets/libs/spectrum.css (added)
-
tags/2.1.2/assets/libs/spectrum.js (added)
-
tags/2.1.2/assets/libs/trumbowyg (added)
-
tags/2.1.2/assets/libs/trumbowyg/trumbowyg.min.js (added)
-
tags/2.1.2/assets/libs/trumbowyg/ui (added)
-
tags/2.1.2/assets/libs/trumbowyg/ui/icons.svg (added)
-
tags/2.1.2/assets/libs/trumbowyg/ui/trumbowyg.css (added)
-
tags/2.1.2/assets/libs/trumbowyg/ui/trumbowyg.min.css (added)
-
tags/2.1.2/assets/script.js (added)
-
tags/2.1.2/includes (added)
-
tags/2.1.2/includes/admin (added)
-
tags/2.1.2/includes/admin/class-admin.php (added)
-
tags/2.1.2/includes/class-ajax.php (added)
-
tags/2.1.2/includes/class-entries.php (added)
-
tags/2.1.2/includes/class-entry.php (added)
-
tags/2.1.2/includes/class-frontend.php (added)
-
tags/2.1.2/includes/class-helper.php (added)
-
tags/2.1.2/includes/class-install.php (added)
-
tags/2.1.2/includes/class-lp_type_data.php (added)
-
tags/2.1.2/includes/class-settings.php (added)
-
tags/2.1.2/includes/class-shortcode.php (added)
-
tags/2.1.2/includes/class-time.php (added)
-
tags/2.1.2/lang (added)
-
tags/2.1.2/lang/lifepress.mo (added)
-
tags/2.1.2/lang/lifepress.po (added)
-
tags/2.1.2/lifepress.php (added)
-
tags/2.1.2/templates (added)
-
tags/2.1.2/templates/class-template_parts.php (added)
-
tags/2.1.2/templates/dashboard.php (added)
-
tags/2.1.2/templates/header.php (added)
-
tags/2.1.2/uninstall.php (added)
-
trunk/README.txt (modified) (3 diffs)
-
trunk/assets/global.css (modified) (1 diff)
-
trunk/assets/script.js (modified) (3 diffs)
-
trunk/includes/class-ajax.php (modified) (3 diffs)
-
trunk/lifepress.php (modified) (2 diffs)
-
trunk/templates/class-template_parts.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
lifepress/trunk/README.txt
r3209433 r3229860 5 5 Requires at least: 6.0 6 6 Tested up to: 6.7.1 7 Stable tag: 2.1. 17 Stable tag: 2.1.2 8 8 License: GPLv2 or later 9 9 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 54 54 55 55 As we have received several requests to improve the lifepress plugin for greater application, we are developing the Lifepress Pro, plugin as an extension to LifePress that will bring greater data metric information for calendar entries. We are also hoping in future iterations to implement data visualization for weekly and monthly data aggregates and ability to set goals and calculate progress towards them. 56 Update (Aug 2024) We are hoping to get this Pro version out as we release version 2.1 and continue to put time into LifePress development.57 56 58 57 … … 65 64 66 65 == Changelog == 66 = 2.1.2 (2025-1-27) = 67 FIXED: entry submissions not working 68 UPDATED: Snackbar styles 69 67 70 = 2.1.1 (2024-12-17) = 68 71 FIXED: first ever post not populating general tag -
lifepress/trunk/assets/global.css
r3209433 r3229860 826 826 background-color: #4a4a4a; 827 827 color: #fff; 828 padding: 7px 20px; 829 border-radius: 10px; 828 border-radius: 4px; 829 padding: 12px 20px; 830 font-size: 13px; 831 backdrop-filter: blur(16px) saturate(180%); 832 box-shadow: 0 1px 2px #0000000d, 0 2px 3px #0000000a, 0 6px 6px #00000008, 0 8px 8px #00000005; 830 833 opacity: 0; 831 834 transform: translateY(60px ); -
lifepress/trunk/assets/script.js
r3209433 r3229860 1 1 /** 2 2 * JS 3 * @version 2.1 3 * @version 2.1.2 4 4 */ 5 5 jQuery(document).ready(function($){ … … 649 649 AJ['action'] = 'lp_delete_item'; 650 650 AJ['d'] = d; 651 AJ[' nonce'] = lp_ajax.lp_nonce;651 AJ['lp_nonce'] = lp_ajax.lp_nonce; 652 652 653 653 $.ajax({ … … 1196 1196 1197 1197 FN.append( notice ); 1198 1199 1198 1200 setTimeout(function(){ 1199 1201 FN.find('span.'+ num).addClass('show'); -
lifepress/trunk/includes/class-ajax.php
r3209433 r3229860 221 221 222 222 // GENRAL FORM SUBMISSIONS 223 function form_submit(){ 223 public function form_submit(){ 224 224 225 225 226 // verify nonce 226 if( empty($_POST[' nonce']) || !wp_verify_nonce( wp_unslash( $_POST['nonce'] ), 'lp_nonce_key') ){227 if( empty($_POST['lp_nonce']) || !wp_verify_nonce( wp_unslash( $_POST['lp_nonce'] ), 'lp_nonce_key') ){ 227 228 wp_die( esc_html__( 'Action failed. Please refresh the page and retry.','lp') ); 228 229 } … … 425 426 426 427 // Save image as featured image to post 427 function save_featured_image($postid, $var_name){428 public function save_featured_image($postid, $var_name){ 428 429 if ($_FILES[$var_name]['error'] !== UPLOAD_ERR_OK) __return_false(); 429 430 … … 442 443 443 444 // delete item 444 function delete_item(){445 public function delete_item(){ 445 446 446 447 // verify nonce 447 if( empty($_POST[' nonce']) || !wp_verify_nonce( wp_unslash( $_POST['nonce'] ), 'lp_nonce_key') ){448 if( empty($_POST['lp_nonce']) || !wp_verify_nonce( wp_unslash( $_POST['lp_nonce'] ), 'lp_nonce_key') ){ 448 449 wp_die( esc_html__( 'Action failed. Please refresh the page and retry.','lp') ); 449 450 } -
lifepress/trunk/lifepress.php
r3209433 r3229860 5 5 * Description: You are the creator of events in your life. Record and track progress in your life. 6 6 * Author: Ashan Jay 7 * Version: 2.1. 17 * Version: 2.1.2 8 8 * Requires at least: 6.0 9 9 * Tested up to: 6.7.1 … … 20 20 class LIFEPRESS{ 21 21 22 public $version='2.1. 122 public $version='2.1.2 23 23 '; 24 24 public $name = 'LifePress'; -
lifepress/trunk/templates/class-template_parts.php
r3209433 r3229860 2 2 /** 3 3 * Template Parts 4 * @version 2.1 4 * @version 2.1.2 5 5 */ 6 6 … … 285 285 <input type="hidden" name='submit_type' value='submit'/> 286 286 <input type="hidden" name='tag_id' value='{{item_id}}'/> 287 <?php wp_nonce_field( 'lp_nonce_key', 'lp_nonce' ); ?> 287 288 288 289 <p class='padb10 fwb ttu fz16'><?php _e('Update Entry Tag','lp');?></p> … … 331 332 <input type="hidden" name='submit_type' value='submit'/> 332 333 <input type="hidden" name='entry_id' value='{{item_id}}'/> 334 <?php wp_nonce_field( 'lp_nonce_key', 'lp_nonce' ); ?> 333 335 334 336 <p class='padb30 lpfw800 lpfont1 ttu lpfz30'><?php _e('Add New Entry','lp');?></p>
Note: See TracChangeset
for help on using the changeset viewer.