Switch from abs(intval()) to absint(). See #4762.

git-svn-id: https://develop.svn.wordpress.org/trunk@6682 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Peter Westwood
2008-01-29 18:48:38 +00:00
parent 890a2f8ed7
commit 4f1971cfdb
6 changed files with 7 additions and 7 deletions

View File

@@ -29,7 +29,7 @@ class BunnyTags_Import {
if ( empty($_GET['step']) )
$step = 0;
else
$step = abs(intval($_GET['step']));
$step = absint($_GET['step']);
// load the header
$this->header();

View File

@@ -33,7 +33,7 @@ class JeromesKeyword_Import {
if ( empty($_GET['step']) )
$step = 0;
else
$step = abs(intval($_GET['step']));
$step = absint($_GET['step']);
// load the header
$this->header();