Pastoid

The page you are looking at now is at this URL: http://pastoid.com/bc6

This paste was last updated on October 21, 2008 at 9:58 pm.

Pasted Coderaw

	/*
	* Modify a post before it is updated
	*
	* Called whenever a post is about to be updated or published . 
	*
	* @param Post $post The post being saved, by reference
	* @param FormUI $form The form that was submitted on the publish page
	*/
	public function action_publish_post( $post, $form )
	{
		if( $post->content_type == Post::type( 'podcast' ) ) {
			$feeds = Options::get( 'podcast__feeds' );
			foreach( $feeds as $feed => $feedtype ) {
				switch( $feedtype ) {
					case self::PODCAST_ITUNES:
						$this->get_post_itunes_settings( $form, $post, $feed );
					break;
				}
			}
 
		}
	}
 
 

Toggle wordwrap

Referring DomainHits
Unknown Referer 127
pastoid.com 11
search.live.com 1
www.google.co.jp 1
Is this paste spam?
<Hide