Skip to content

Commit

Permalink
Update deprecated functions for 4.4 & 4.5
Browse files Browse the repository at this point in the history
  • Loading branch information
grappler committed Apr 14, 2016
1 parent 16d1943 commit a0dc6c1
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion checks/deprecated.php
Original file line number Diff line number Diff line change
Expand Up @@ -254,6 +254,16 @@ function check( $php_files, $css_files, $other_files ) {
array( 'prepreview_added_widget_instance' => 'customize_dynamic_setting_args', '4.2' ),
array( 'remove_prepreview_filters' => 'customize_dynamic_setting_args', '4.2' ),

array( 'wp_get_http' => 'WP_Http', '4.4' ),

array( 'is_comments_popup' => '', '4.5' ),
array( 'add_object_page' => 'add_menu_page', '4.5' ),
array( 'add_utility_page' => 'add_menu_page', '4.5' ),
array( 'get_comments_popup_template' => '', '4.5' ),
array( 'comments_popup_script' => '', '4.5' ),
array( 'popuplinks' => '', '4.5' ),
array( 'get_currentuserinfo' => 'wp_get_current_user', '4.5' ),

);
foreach ( $php_files as $php_key => $phpfile ) {
foreach ( $checks as $alt => $check ) {
Expand Down Expand Up @@ -294,4 +304,4 @@ function check( $php_files, $css_files, $other_files ) {

function getError() { return $this->error; }
}
$themechecks[] = new Deprecated;
$themechecks[] = new Deprecated;

0 comments on commit a0dc6c1

Please sign in to comment.