You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Bug: Fixes issues for content replacement for the site and media URLs (#2014)
* Fix for #1986. Fixes various issues with content replacement callback and also updates tests to use WP 6.6 and 6.7
Fixes various issues with using content replacement for the site URL.
* Fixed issues with PHPCS
* Updated PR to replace srcset URL for different HTTP Protocols
* Added changeset
* Refactoring based off @whoami-pwd feedback. Reduced some of the nesting for cotent replacement.
* Fixes for linting
* Update plugins/faustwp/includes/replacement/callbacks.php
Co-authored-by: Alex K. <[email protected]>
* Added fixes as per code review from @whoami-pwd
* Refactoring some of the image srcset replacement.
* Small fix for PHPCS for a missing fullstop
* Refactoring some of the media urls with @whoami-pwd
* Fixes
* Small refactor of parameters with @whoami-pwd
---------
Co-authored-by: Alex K. <[email protected]>
- Fixes various issues with content replacement callback functions and replacing the site_url and media_urls
8
+
- Fixed an issue with content replacement when media replacement was disabled and rewrites enabled, it was overwriting and updating the media URL to the frontend URL rather than leaving it as the original site URL
9
+
10
+
11
+
### Added
12
+
13
+
- Added 6.6 and 6.7 to Github Actions
14
+
- Added 2 new filters for `faustwp_get_wp_site_urls` and `faustwp_get_wp_site_media_urls` to allow users add/remove/edit site and media URLS for the content replacement.
// phpcs:ignore WordPress.Security.NonceVerification.Missing -- Nonce verified in `is_ajax_generate_permalink_request()` and `is_wp_link_ajax_request()`.
0 commit comments