|
@@ 300-302 (lines=3) @@
|
| 297 |
|
|
| 298 |
|
} else { |
| 299 |
|
|
| 300 |
|
if ( isset( $this->request['object_id'] ) ) { |
| 301 |
|
$this->rest_box->cmb->object_id( sanitize_text_field( $this->request['object_id'] ) ); |
| 302 |
|
} |
| 303 |
|
|
| 304 |
|
if ( isset( $this->request['object_type'] ) ) { |
| 305 |
|
$this->rest_box->cmb->object_type( sanitize_text_field( $this->request['object_type'] ) ); |
|
@@ 304-306 (lines=3) @@
|
| 301 |
|
$this->rest_box->cmb->object_id( sanitize_text_field( $this->request['object_id'] ) ); |
| 302 |
|
} |
| 303 |
|
|
| 304 |
|
if ( isset( $this->request['object_type'] ) ) { |
| 305 |
|
$this->rest_box->cmb->object_type( sanitize_text_field( $this->request['object_type'] ) ); |
| 306 |
|
} |
| 307 |
|
} |
| 308 |
|
} |
| 309 |
|
|