Changeset 3490970
- Timestamp:
- 03/25/2026 01:34:38 PM (9 days ago)
- Location:
- bookpod-author-tools/trunk
- Files:
-
- 5 edited
-
assets/bpat-form.css (modified) (1 diff)
-
bookpod-author-tools.php (modified) (1 diff)
-
bpat-book.php (modified) (5 diffs)
-
readme-he_IL.txt (modified) (1 diff)
-
readme.txt (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
bookpod-author-tools/trunk/assets/bpat-form.css
r3449910 r3490970 1 1 .bookpod-form { max-width: 700px; } 2 .bpat-notice { max-width: 700px; padding: 12px 16px; margin-bottom: 16px; border-radius: 4px; font-size: 1em; } 3 .bpat-notice-success { background-color: #edfaef; border: 1px solid #46b450; color: #1a5c20; } 4 .bpat-notice-error { background-color: #fbeaea; border: 1px solid #dc3232; color: #8b1a1a; } 2 5 .bpat-fieldset { border: 1px solid #ddd; padding: 15px; margin-bottom: 20px; border-radius: 5px; } 3 6 .bpat-fieldset legend { font-weight: bold; font-size: 1.2em; padding: 0 5px; } -
bookpod-author-tools/trunk/bookpod-author-tools.php
r3489826 r3490970 3 3 * Plugin Name: BookPod Author Tools 4 4 * Description: A plugin for managing books and orders through Bookpod. 5 * Version: 2.1. 75 * Version: 2.1.8 6 6 * Author: Rachel Stern 7 7 * Text Domain: bookpod-author-tools -
bookpod-author-tools/trunk/bpat-book.php
r3485558 r3490970 351 351 } 352 352 353 $has_active_flash = (bool) get_transient($flash_key); 353 $flash_data = get_transient($flash_key); 354 $has_active_flash = (bool) $flash_data; 354 355 $raw_failed_data = get_transient($data_flash_key); 355 356 $failed_data = false; … … 362 363 delete_transient( $data_flash_key ); 363 364 delete_transient( $flash_key ); 364 $failed_data = false; 365 $flash_data = false; 366 $has_active_flash = false; 367 $failed_data = false; 365 368 } 366 369 } … … 711 714 plugins_url( 'assets/bpat-form.css', __FILE__ ), 712 715 array(), 713 '2.1. 3'716 '2.1.8' 714 717 ); 715 718 … … 718 721 plugins_url( 'assets/bpat-form.js', __FILE__ ), 719 722 array(), 720 '2.1. 3',723 '2.1.8', 721 724 true 722 725 ); … … 735 738 // ------------------------------------------- 736 739 ob_start(); 740 741 if ( $has_active_flash && is_array( $flash_data ) ) { 742 delete_transient( $flash_key ); 743 $flash_type = ( isset( $flash_data['type'] ) && $flash_data['type'] === 'error' ) ? 'error' : 'success'; 744 $flash_msg = isset( $flash_data['msg'] ) ? $flash_data['msg'] : ''; 745 ?> 746 <div class="bpat-notice bpat-notice-<?php echo esc_attr( $flash_type ); ?>" role="alert"> 747 <?php echo esc_html( $flash_msg ); ?> 748 </div> 749 <?php 750 } 737 751 ?> 738 752 <form id="bookpod-create-book-form" class="bookpod-form" method="post" enctype="multipart/form-data"> -
bookpod-author-tools/trunk/readme-he_IL.txt
r3489833 r3490970 4 4 Requires at least: 5.8 5 5 Tested up to: 6.9 6 Stable tag: 2.1. 76 Stable tag: 2.1.8 7 7 Requires PHP: 7.4 8 8 License: GPLv2 or later -
bookpod-author-tools/trunk/readme.txt
r3489833 r3490970 4 4 Requires at least: 5.8 5 5 Tested up to: 6.9 6 Stable tag: 2.1. 76 Stable tag: 2.1.8 7 7 Requires PHP: 7.4 8 8 License: GPLv2 or later
Note: See TracChangeset
for help on using the changeset viewer.