small cleanups
This commit is contained in:
parent
6c9d05f6af
commit
bbe42eb994
|
@ -174,7 +174,7 @@ class ComicPressAdmin {
|
|||
if (is_numeric($override_post)) { $uploading_iframe_ID = $override_post; }
|
||||
|
||||
$comic_post = new ComicPressComicPost(get_post($uploading_iframe_ID));
|
||||
$ordering = $comic_post->normalize_comic_image_ordering();
|
||||
$ordering = $comic_post->normalize_ordering();
|
||||
|
||||
$nonce = wp_create_nonce('comicpress');
|
||||
$zoom_level = 40;
|
||||
|
|
|
@ -8,6 +8,10 @@ class ComicPressComicPost {
|
|||
if (!is_null($post)) { $this->post = $post; }
|
||||
}
|
||||
|
||||
/**
|
||||
* TODO normalize the attachments
|
||||
* @return unknown_type
|
||||
*/
|
||||
function get_attachments() {
|
||||
$comicpress = ComicPress::get_instance();
|
||||
$attachments = array();
|
||||
|
|
Loading…
Reference in New Issue