|
@@ 1049-1055 (lines=7) @@
|
| 1046 |
|
} |
| 1047 |
|
} // End if(). |
| 1048 |
|
|
| 1049 |
|
if ( isset( $user_id ) ) { |
| 1050 |
|
foreach ( $params as $key => $value ) { |
| 1051 |
|
$params[ $key ]['method_modify'] = $methods['method_update']; |
| 1052 |
|
} |
| 1053 |
|
$result = $this->user_update( $user_id, $params ); |
| 1054 |
|
return $result; |
| 1055 |
|
} |
| 1056 |
|
|
| 1057 |
|
// Create log entry for lack of a user id. |
| 1058 |
|
if ( isset( $this->logging ) ) { |
|
@@ 1381-1387 (lines=7) @@
|
| 1378 |
|
|
| 1379 |
|
} // End if(). |
| 1380 |
|
|
| 1381 |
|
if ( isset( $post_id ) ) { |
| 1382 |
|
foreach ( $params as $key => $value ) { |
| 1383 |
|
$params[ $key ]['method_modify'] = $methods['method_update']; |
| 1384 |
|
} |
| 1385 |
|
$result = $this->post_update( $post_id, $params, $id_field, $post_type ); |
| 1386 |
|
return $result; |
| 1387 |
|
} |
| 1388 |
|
// Create log entry for lack of a post id. |
| 1389 |
|
if ( isset( $this->logging ) ) { |
| 1390 |
|
$logging = $this->logging; |
|
@@ 1701-1707 (lines=7) @@
|
| 1698 |
|
|
| 1699 |
|
} // End if(). |
| 1700 |
|
|
| 1701 |
|
if ( isset( $attachment_id ) ) { |
| 1702 |
|
foreach ( $params as $key => $value ) { |
| 1703 |
|
$params[ $key ]['method_modify'] = $methods['method_update']; |
| 1704 |
|
} |
| 1705 |
|
$result = $this->attachment_update( $attachment_id, $params ); |
| 1706 |
|
return $result; |
| 1707 |
|
} |
| 1708 |
|
|
| 1709 |
|
// Create log entry for lack of an attachment id. |
| 1710 |
|
if ( isset( $this->logging ) ) { |
|
@@ 2038-2044 (lines=7) @@
|
| 2035 |
|
} |
| 2036 |
|
} // End if(). |
| 2037 |
|
|
| 2038 |
|
if ( isset( $term_id ) ) { |
| 2039 |
|
foreach ( $params as $key => $value ) { |
| 2040 |
|
$params[ $key ]['method_modify'] = $methods['method_update']; |
| 2041 |
|
} |
| 2042 |
|
$result = $this->term_update( $term_id, $params, $taxonomy, $id_field ); |
| 2043 |
|
return $result; |
| 2044 |
|
} |
| 2045 |
|
// Create log entry for lack of a term id. |
| 2046 |
|
if ( isset( $this->logging ) ) { |
| 2047 |
|
$logging = $this->logging; |
|
@@ 2392-2398 (lines=7) @@
|
| 2389 |
|
} |
| 2390 |
|
} // End if() that sets up the parameters in the $params array. |
| 2391 |
|
|
| 2392 |
|
if ( isset( $comment_id ) ) { |
| 2393 |
|
foreach ( $params as $key => $value ) { |
| 2394 |
|
$params[ $key ]['method_modify'] = $methods['method_update']; |
| 2395 |
|
} |
| 2396 |
|
$result = $this->comment_update( $comment_id, $params, $id_field ); |
| 2397 |
|
return $result; |
| 2398 |
|
} |
| 2399 |
|
|
| 2400 |
|
// Create log entry for lack of a comment id. |
| 2401 |
|
if ( isset( $this->logging ) ) { |