WordPress.org

Make WordPress Core

Changeset 23749


Ignore:
Timestamp:
03/19/13 03:24:51 (13 months ago)
Author:
ryan
Message:

Make the before() and after() methods in Bulk_Plugin_Upgrader_Skin and Bulk_Theme_Upgrader_Skin declarations match Bulk_Upgrader_Skin. Eliminates strict standards warning.

Props charlestonsw
fixes #23807

File:
1 edited

Legend:

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

    r23563 r23749  
    13371337    } 
    13381338 
    1339     function before() { 
     1339    function before($title = '') { 
    13401340        parent::before($this->plugin_info['Title']); 
    13411341    } 
    13421342 
    1343     function after() { 
     1343    function after($title = '') { 
    13441344        parent::after($this->plugin_info['Title']); 
    13451345    } 
     
    13711371    } 
    13721372 
    1373     function before() { 
     1373    function before($title = '') { 
    13741374        parent::before( $this->theme_info->display('Name') ); 
    13751375    } 
    13761376 
    1377     function after() { 
     1377    function after($title = '') { 
    13781378        parent::after( $this->theme_info->display('Name') ); 
    13791379    } 
Note: See TracChangeset for help on using the changeset viewer.