small cleanups

This commit is contained in:
John Bintz 2009-11-10 19:55:03 -05:00
parent 6c9d05f6af
commit bbe42eb994
2 changed files with 5 additions and 1 deletions

View File

@ -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;

View File

@ -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();