[wp-trac] [WordPress Trac] #32101: Ability to mark plugin as unmanaged

WordPress Trac noreply at wordpress.org
Wed Nov 25 23:25:54 UTC 2020


#32101: Ability to mark plugin as unmanaged
-------------------------------------+----------------------------
 Reporter:  damonganto               |       Owner:  DrewAPicture
     Type:  task (blessed)           |      Status:  assigned
 Priority:  normal                   |   Milestone:  WordPress.org
Component:  Plugins                  |     Version:  4.1.2
 Severity:  major                    |  Resolution:
 Keywords:  has-patch needs-testing  |     Focuses:
-------------------------------------+----------------------------

Comment (by knutsp):

 WordPress Repo: $value

 Default $value = true (and some friends), all other values means no
 updates from wporg, as ignore/local/private/unmaintained/external/whatever
 you mean.

 Use `$value = filter_var( $value, FILTER_VALIDATE_BOOLEAN );`
 Returns bool true for '1', 'true', 'on' and 'yes', but bool false anything
 else.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/32101#comment:83>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list