Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
Tenzing
/
Tz Tools
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
ba468372
authored
2013-11-07 13:59:27 -0500
by
Marty Penner
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
Fix a few formatting infractions. refs #1604
1 parent
6f931c50
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
8 deletions
com/UserDetails/UserDetails.php
lib/UserSearch.php
com/UserDetails/UserDetails.php
View file @
ba46837
<?php
namespace
Tz\WordPress\Tools\UserDetails
;
use
Tz
,
Tz\Common
,
Tz\WordPress\Tools
;
const
SETTING_NS
=
'tz-user-details'
;
...
...
lib/UserSearch.php
View file @
ba46837
...
...
@@ -190,14 +190,16 @@ class UserSearch implements ArrayAccess, Iterator, Countable {
$val
=
maybe_unserialize
(
$val
);
}
return
unserialize
(
sprintf
(
'O:%5$d:"%4$s":3:{s:10:"_metacache";%3$ss:2:"id";s:%2$d:"%1$d";s:2:"ID";s:%2$d:"%1$d";}'
,
$user_id
,
strlen
(
$user_id
)
,
serialize
(
$data
)
,
$this
->
userclass
,
strlen
(
$this
->
userclass
)
));
return
unserialize
(
sprintf
(
'O:%5$d:"%4$s":3:{s:10:"_metacache";%3$ss:2:"id";s:%2$d:"%1$d";s:2:"ID";s:%2$d:"%1$d";}'
,
$user_id
,
strlen
(
$user_id
),
serialize
(
$data
),
$this
->
userclass
,
strlen
(
$this
->
userclass
)
)
);
}
public
function
offsetSet
(
$offset
,
$value
)
{
...
...
Please
register
or
sign in
to post a comment