Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #53076, comment 17


Ignore:
Timestamp:
03/30/2025 12:57:57 AM (15 months ago)
Author:
SirLouen
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #53076, comment 17

    initial v1  
    11✅ I've tested with [https://github.com/SirLouen/press-this-testing my plugin] and everything is working well as expected.
    22
    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.
     3I 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.
    44
    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 original instance if he is only adding some tweaks to the OG).
     5With 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).
    66
    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.
     7Even 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.
    88
    9 Let's remember which was the original use-case:
     9Let's remember which was the initial use-case:
    1010> 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).
    1111