The page you are looking at now is at this URL: http://pastoid.com/a3q
This paste was last updated on July 2, 2009 at 7:51 pm.
// Call setslug() only when: // * a published post slug is changed // * a draft post title is changed // * a draft post slug is changed if ( $this->status == Post::status( 'published' ) ) { if ( ( isset( $this->newfields['slug'] ) && $this->newfields['slug'] != '' ) && ( $this->fields['slug'] != $this->newfields['slug'] ) ){ $this->setslug(); } } elseif ( $this->status == Post::status( 'draft' ) ) { if ( ( $this->newfields['slug'] == '' ) || ( $this->newfields['title'] != $this->fields['title'] ) ) { $this->setslug(); } }
| Referring Domain | Hits |
|---|---|
| Unknown Referer | 127 |
| www.bing.com | 5 |
| search.live.com | 1 |
Tip: Use Pastoid to shorten URLs with this bookmarklet: Pastoid This