Changeset 3489866
- Timestamp:
- 03/24/2026 10:33:03 AM (9 days ago)
- Location:
- praison-file-content-git
- Files:
-
- 6 edited
- 1 copied
-
tags/1.1.0 (copied) (copied from praison-file-content-git/trunk)
-
tags/1.1.0/praisonpressgit.php (modified) (2 diffs)
-
tags/1.1.0/readme.txt (modified) (1 diff)
-
tags/1.1.0/src/Loaders/PostLoader.php (modified) (2 diffs)
-
trunk/praisonpressgit.php (modified) (2 diffs)
-
trunk/readme.txt (modified) (1 diff)
-
trunk/src/Loaders/PostLoader.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
praison-file-content-git/tags/1.1.0/praisonpressgit.php
r3488026 r3489866 3 3 * Plugin Name: PraisonAI Git Posts 4 4 * Description: Load WordPress content from files (Markdown, JSON, YAML) without database writes, with Git-based version control 5 * Version: 1. 0.95 * Version: 1.1.0 6 6 * Author: MervinPraison 7 7 * Author URI: https://mer.vin … … 13 13 14 14 // Define constants 15 define('PRAISON_VERSION', '1. 0.9');15 define('PRAISON_VERSION', '1.1.0'); 16 16 define('PRAISON_PLUGIN_DIR', __DIR__); 17 17 define('PRAISON_PLUGIN_URL', trailingslashit(plugins_url('', __FILE__))); -
praison-file-content-git/tags/1.1.0/readme.txt
r3488026 r3489866 5 5 Tested up to: 6.9 6 6 Requires PHP: 7.4 7 Stable tag: 1. 0.97 Stable tag: 1.1.0 8 8 License: GPLv2 or later 9 9 License URI: https://www.gnu.org/licenses/gpl-2.0.html -
praison-file-content-git/tags/1.1.0/src/Loaders/PostLoader.php
r3488026 r3489866 182 182 // Create post data from index 183 183 $post_data = [ 184 'ID' => abs(crc32($entry['slug'])),184 'ID' => -1 * abs(crc32($entry['slug'])), 185 185 'post_author' => $author_id, 186 186 'post_date' => $entry['date'], … … 253 253 // Create post data 254 254 $post_data = [ 255 'ID' => abs(crc32($metadata['slug'])), // Generate numeric ID from slug255 'ID' => -1 * abs(crc32($metadata['slug'])), // Generate negative numeric ID from slug to prevent DB collisions 256 256 'post_author' => $author_id, 257 257 'post_date' => $metadata['date'] ?? current_time('mysql'), -
praison-file-content-git/trunk/praisonpressgit.php
r3488026 r3489866 3 3 * Plugin Name: PraisonAI Git Posts 4 4 * Description: Load WordPress content from files (Markdown, JSON, YAML) without database writes, with Git-based version control 5 * Version: 1. 0.95 * Version: 1.1.0 6 6 * Author: MervinPraison 7 7 * Author URI: https://mer.vin … … 13 13 14 14 // Define constants 15 define('PRAISON_VERSION', '1. 0.9');15 define('PRAISON_VERSION', '1.1.0'); 16 16 define('PRAISON_PLUGIN_DIR', __DIR__); 17 17 define('PRAISON_PLUGIN_URL', trailingslashit(plugins_url('', __FILE__))); -
praison-file-content-git/trunk/readme.txt
r3488026 r3489866 5 5 Tested up to: 6.9 6 6 Requires PHP: 7.4 7 Stable tag: 1. 0.97 Stable tag: 1.1.0 8 8 License: GPLv2 or later 9 9 License URI: https://www.gnu.org/licenses/gpl-2.0.html -
praison-file-content-git/trunk/src/Loaders/PostLoader.php
r3488026 r3489866 182 182 // Create post data from index 183 183 $post_data = [ 184 'ID' => abs(crc32($entry['slug'])),184 'ID' => -1 * abs(crc32($entry['slug'])), 185 185 'post_author' => $author_id, 186 186 'post_date' => $entry['date'], … … 253 253 // Create post data 254 254 $post_data = [ 255 'ID' => abs(crc32($metadata['slug'])), // Generate numeric ID from slug255 'ID' => -1 * abs(crc32($metadata['slug'])), // Generate negative numeric ID from slug to prevent DB collisions 256 256 'post_author' => $author_id, 257 257 'post_date' => $metadata['date'] ?? current_time('mysql'),
Note: See TracChangeset
for help on using the changeset viewer.