[wp-trac] [WordPress Trac] #23819: Twenty Thirteen: Handle activation on out of date WordPress installs

WordPress Trac noreply at wordpress.org
Wed Mar 20 14:53:57 UTC 2013


#23819: Twenty Thirteen: Handle activation on out of date WordPress installs
---------------------------+--------------------
 Reporter:  obenland       |       Owner:
     Type:  defect (bug)   |      Status:  new
 Priority:  high           |   Milestone:  3.6
Component:  Bundled Theme  |     Version:  trunk
 Severity:  normal         |  Resolution:
 Keywords:  needs-patch    |
---------------------------+--------------------
Changes (by WraithKenny):

 * cc: Ken@… (added)


Comment:

 I've played around with the trigger_error() way of preventing activation
 of plugins. It seems weird to get a "Fatal Error" message when you are
 voluntarily trying to stop activation (not an error).

 Now, because WP will output the text of the error message into the
 notification as HTML, you can include a <script> tag and do things to make
 it more user friendly, but perhaps this would be a nice time to give a
 better way to do this...

 Perhaps a filter that can be set to true/string when a plugin/theme wants
 to display a "Activation Prevented" message. Core can check that filter
 when it checks for the errors no?

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/23819#comment:5>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list