Changes between Initial Version and Version 1 of Ticket #53076, comment 17
- Timestamp:
- 03/30/2025 12:57:57 AM (15 months ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #53076, comment 17
initial v1 1 1 ✅ I've tested with [https://github.com/SirLouen/press-this-testing my plugin] and everything is working well as expected. 2 2 3 I confirmed the first patch, mainly because the original use-case, was to have quick solution to add some tweaks to the Press-This OG plugin.3 I confirmed the first patch, mainly because the initial use-case, was to have quick solution to add some tweaks to the Press-This OG plugin. 4 4 5 With this new patch, from a code perspective as @azaozz suggested, it's much cleaner, but it's a hassle for the new plugin creator (at minimum, needing to copy/paste the wp_load_press_this, to initialize the same the originalinstance if he is only adding some tweaks to the OG).5 With this new patch, from a code perspective as @azaozz suggested, it's much cleaner, but it's a hassle for the new plugin creator (at minimum, needing to copy/paste the wp_load_press_this, to initialize the same the precursor instance if he is only adding some tweaks to the OG). 6 6 7 Even with just one filter of the original 3 (the slug one), you could perfectly achieve the original use-case as long as you preserved the same loading filename and same class name in your tweaked plugin.7 Even with just one filter of the starting 3 (the slug one), you could perfectly achieve the initial use-case as long as you preserved the same loading filename and same class name in your tweaked plugin. 8 8 9 Let's remember which was the original use-case:9 Let's remember which was the initial use-case: 10 10 > If a site owner wants a custom version of Press This, they are required to hack the plugin in some way (set the version super high and edit the files, replace it with something of a high version, etc to ensure the plugin is updated back to stock by WordPress). 11 11