| @@ -49,8 +49,19 @@ | ||
| 49 | 49 | return $this->post_id_for_data; |
| 50 | 50 | } |
| 51 | 51 | |
| 52 | 52 | /** |
| 53 | + * @since 2.1.0 | |
| 54 | + * @access public | |
| 55 | + * @deprecated 3.0.0 Use `Post_Preview::get_post_id_for_data()` instead | |
| 56 | + */ | |
| 57 | + protected function get_preview_id() { | |
| 58 | + _deprecated_function( __METHOD__, '3.0.0', __CLASS__ . '::get_post_id_for_data()' ); | |
| 59 | + | |
| 60 | + return $this->get_post_id_for_data(); | |
| 61 | + } | |
| 62 | + | |
| 63 | + /** | |
| 53 | 64 | * Get file handle ID. |
| 54 | 65 | * |
| 55 | 66 | * Retrieve the handle ID for the previewed post CSS file. |
| 56 | 67 | * |