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

See #30799.


git-svn-id: https://develop.svn.wordpress.org/trunk@31101 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Scott Taylor 2015-01-08 21:19:24 +00:00
parent 0522fcb3f9
commit 85595b73cc
3 changed files with 0 additions and 19 deletions

View File

@ -149,13 +149,6 @@ class WP_Media_List_Table extends WP_List_Table {
_e( 'No media attachments found.' );
}
/**
* @param string $which
*/
protected function pagination( $which ) {
parent::pagination( $which );
}
/**
* Override parent views so we can use the filter bar display.
*/

View File

@ -317,10 +317,6 @@ class Bulk_Upgrader_Skin extends WP_Upgrader_Skin {
class Bulk_Plugin_Upgrader_Skin extends Bulk_Upgrader_Skin {
public $plugin_info = array(); // Plugin_Upgrader::bulk() will fill this in.
public function __construct($args = array()) {
parent::__construct($args);
}
public function add_strings() {
parent::add_strings();
$this->upgrader->strings['skin_before_update_header'] = __('Updating Plugin %1$s (%2$d/%3$d)');
@ -361,10 +357,6 @@ class Bulk_Plugin_Upgrader_Skin extends Bulk_Upgrader_Skin {
class Bulk_Theme_Upgrader_Skin extends Bulk_Upgrader_Skin {
public $theme_info = array(); // Theme_Upgrader::bulk() will fill this in.
public function __construct($args = array()) {
parent::__construct($args);
}
public function add_strings() {
parent::add_strings();
$this->upgrader->strings['skin_before_update_header'] = __('Updating Theme %1$s (%2$d/%3$d)');

View File

@ -934,10 +934,6 @@ class WP_Customize_Header_Image_Control extends WP_Customize_Image_Control {
}
public function to_json() {
parent::to_json();
}
public function enqueue() {
wp_enqueue_media();
wp_enqueue_script( 'customize-views' );