classes/class-importer.php 1 location
|
@@ 965-971 (lines=7) @@
|
| 962 |
|
} |
| 963 |
|
|
| 964 |
|
// set additional wp_posts columns |
| 965 |
|
if ( empty( $post_data['post_title'] ) ) |
| 966 |
|
{ |
| 967 |
|
|
| 968 |
|
$url_filename=str_replace('%20',' ',$url_filename); |
| 969 |
|
|
| 970 |
|
$post_data['post_title'] = basename($url_filename, "." . $url_type['ext']); // just use the original filename (no extension) |
| 971 |
|
} |
| 972 |
|
|
| 973 |
|
// make sure gets tied to parent |
| 974 |
|
if ( empty( $post_data['post_parent'] ) ) |
classes/lsx-banners-integration.php 1 location
|
@@ 258-264 (lines=7) @@
|
| 255 |
|
} |
| 256 |
|
|
| 257 |
|
// set additional wp_posts columns |
| 258 |
|
if ( empty( $post_data['post_title'] ) ) |
| 259 |
|
{ |
| 260 |
|
|
| 261 |
|
$url_filename=str_replace('%20',' ',$url_filename); |
| 262 |
|
|
| 263 |
|
$post_data['post_title'] = basename($url_filename, "." . $url_type['ext']); // just use the original filename (no extension) |
| 264 |
|
} |
| 265 |
|
|
| 266 |
|
// make sure gets tied to parent |
| 267 |
|
if ( empty( $post_data['post_parent'] ) ) |