Make WordPress Core


Ignore:
Timestamp:
01/08/2015 09:19:24 PM (11 years ago)
Author:
wonderboymusic
Message:

Overriding methods should do more than simply call the same method in the super class.

See #30799.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/includes/class-wp-upgrader-skins.php

    r31090 r31101  
    318318    public $plugin_info = array(); // Plugin_Upgrader::bulk() will fill this in.
    319319
    320     public function __construct($args = array()) {
    321         parent::__construct($args);
    322     }
    323 
    324320    public function add_strings() {
    325321        parent::add_strings();
     
    361357class Bulk_Theme_Upgrader_Skin extends Bulk_Upgrader_Skin {
    362358    public $theme_info = array(); // Theme_Upgrader::bulk() will fill this in.
    363 
    364     public function __construct($args = array()) {
    365         parent::__construct($args);
    366     }
    367359
    368360    public function add_strings() {
Note: See TracChangeset for help on using the changeset viewer.