|
@@ 306-308 (lines=3) @@
|
| 303 |
|
|
| 304 |
|
} else { |
| 305 |
|
|
| 306 |
|
if ( isset( $this->request['object_id'] ) ) { |
| 307 |
|
$this->rest_box->cmb->object_id( sanitize_text_field( $this->request['object_id'] ) ); |
| 308 |
|
} |
| 309 |
|
|
| 310 |
|
if ( isset( $this->request['object_type'] ) ) { |
| 311 |
|
$this->rest_box->cmb->object_type( sanitize_text_field( $this->request['object_type'] ) ); |
|
@@ 310-312 (lines=3) @@
|
| 307 |
|
$this->rest_box->cmb->object_id( sanitize_text_field( $this->request['object_id'] ) ); |
| 308 |
|
} |
| 309 |
|
|
| 310 |
|
if ( isset( $this->request['object_type'] ) ) { |
| 311 |
|
$this->rest_box->cmb->object_type( sanitize_text_field( $this->request['object_type'] ) ); |
| 312 |
|
} |
| 313 |
|
} |
| 314 |
|
} |
| 315 |
|
|