Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
WP Plugins
Cron-Control
Commits
c21bb0b8
Commit
c21bb0b8
authored
Feb 17, 2017
by
Erick Hitter
Browse files
Bit of inline doc to make clear function's expected input
parent
ee8556fd
Changes
1
Hide whitespace changes
Inline
Side-by-side
includes/class-events-store.php
View file @
c21bb0b8
...
@@ -265,6 +265,9 @@ class Events_Store extends Singleton {
...
@@ -265,6 +265,9 @@ class Events_Store extends Singleton {
/**
/**
* Standardize formatting and expand serialized data
* Standardize formatting and expand serialized data
*
* @param object $job Job row from DB, in object form
* @return object
*/
*/
private
function
format_job
(
$job
)
{
private
function
format_job
(
$job
)
{
if
(
!
is_object
(
$job
)
||
is_wp_error
(
$job
)
)
{
if
(
!
is_object
(
$job
)
||
is_wp_error
(
$job
)
)
{
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment