Implements automatic creation of required plugin pages (Community Login, Trainer Registration, Trainer Dashboard) upon plugin activation. This addresses E2E test failures caused by missing pages in the test environment. - Adds activation hook in `hvac-community-events.php` to call `hvac_ce_create_required_pages`. - The callback function checks for existing pages by slug and creates them using `wp_insert_post` if missing. Includes debug logging. Also fixes issues identified during E2E test debugging: - Corrects fatal error in `includes/community/class-login-handler.php` by replacing undefined constant `HVAC_COMMUNITY_EVENTS_PATH` with `HVAC_CE_PLUGIN_DIR`. - Updates `tests/e2e/tests/login.spec.ts` to use the correct selector `#wp-submit` for the login form submit button instead of `button[type="submit"]`. Documentation updates: - Adds `docs/automatic-page-creation-plan.md`. - Updates `README.md` regarding automatic page creation. - Updates Memory Bank files (`decisionLog.md`, `progress.md`, `activeContext.md`). Note: Activation hook logging did not appear during WP-CLI activation, requiring further investigation if page creation issues persist. E2E test confirmation pending.
		
			
				
	
	
		
			87 lines
		
	
	
	
		
			2.1 KiB
		
	
	
	
		
			Markdown
		
	
	
	
	
	
			
		
		
	
	
			87 lines
		
	
	
	
		
			2.1 KiB
		
	
	
	
		
			Markdown
		
	
	
	
	
	
| # Changelog
 | |
| 
 | |
| All notable changes to Tokenizer are documented in this file using the [Keep a CHANGELOG](http://keepachangelog.com/) principles.
 | |
| 
 | |
| ## [1.2.3] - 2024-03-03
 | |
| 
 | |
| ### Changed
 | |
| 
 | |
| * Do not use implicitly nullable parameters
 | |
| 
 | |
| ## [1.2.2] - 2023-11-20
 | |
| 
 | |
| ### Fixed
 | |
| 
 | |
| * [#18](https://github.com/theseer/tokenizer/issues/18): Tokenizer fails on protobuf metadata files
 | |
| 
 | |
| 
 | |
| ## [1.2.1] - 2021-07-28
 | |
| 
 | |
| ### Fixed
 | |
| 
 | |
| * [#13](https://github.com/theseer/tokenizer/issues/13): Fatal error when tokenizing files that contain only a single empty line
 | |
| 
 | |
| 
 | |
| ## [1.2.0] - 2020-07-13
 | |
| 
 | |
| This release is now PHP 8.0 compliant.
 | |
| 
 | |
| ### Fixed
 | |
| 
 | |
| * Whitespace handling in general (only noticable in the intermediate `TokenCollection`) is now consitent  
 | |
| 
 | |
| ### Changed
 | |
| 
 | |
| * Updated `Tokenizer` to deal with changed whitespace handling in PHP 8.0
 | |
|   The XMLSerializer was unaffected.
 | |
| 
 | |
| 
 | |
| ## [1.1.3] - 2019-06-14
 | |
| 
 | |
| ### Changed
 | |
| 
 | |
| * Ensure XMLSerializer can deal with empty token collections
 | |
| 
 | |
| ### Fixed
 | |
| 
 | |
| * [#2](https://github.com/theseer/tokenizer/issues/2): Fatal error in infection / phpunit
 | |
| 
 | |
| 
 | |
| ## [1.1.2] - 2019-04-04
 | |
| 
 | |
| ### Changed
 | |
| 
 | |
| * Reverted PHPUnit 8 test update to stay PHP 7.0 compliant
 | |
| 
 | |
| 
 | |
| ## [1.1.1] - 2019-04-03
 | |
| 
 | |
| ### Fixed
 | |
| 
 | |
| * [#1](https://github.com/theseer/tokenizer/issues/1): Empty file causes invalid array read 
 | |
| 
 | |
| ### Changed
 | |
| 
 | |
| * Tests should now be PHPUnit 8 compliant
 | |
| 
 | |
| 
 | |
| ## [1.1.0] - 2017-04-07
 | |
| 
 | |
| ### Added
 | |
| 
 | |
| * Allow use of custom namespace for XML serialization
 | |
| 
 | |
| 
 | |
| ## [1.0.0] - 2017-04-05
 | |
| 
 | |
| Initial Release
 | |
| 
 | |
| [1.2.3]: https://github.com/theseer/tokenizer/compare/1.2.2...1.2.3
 | |
| [1.2.2]: https://github.com/theseer/tokenizer/compare/1.2.1...1.2.2
 | |
| [1.2.1]: https://github.com/theseer/tokenizer/compare/1.2.0...1.2.1
 | |
| [1.2.0]: https://github.com/theseer/tokenizer/compare/1.1.3...1.2.0
 | |
| [1.1.3]: https://github.com/theseer/tokenizer/compare/1.1.2...1.1.3
 | |
| [1.1.2]: https://github.com/theseer/tokenizer/compare/1.1.1...1.1.2
 | |
| [1.1.1]: https://github.com/theseer/tokenizer/compare/1.1.0...1.1.1
 | |
| [1.1.0]: https://github.com/theseer/tokenizer/compare/1.0.0...1.1.0
 | |
| [1.0.0]: https://github.com/theseer/tokenizer/compare/b2493e57de80c1b7414219b28503fa5c6b4d0a98...1.0.0
 |