b0VIM 8.0:fՖV. rootya.jacof.jp/home/yaneportal-jp.net/public_html/wp-content/plugins/jp-converter/deployed-files/jp-converter.phputf-8 U3210#"! Utp8ad;78]H&%z\X520/.-  $ ^   P 6 5   O7 }//fun}//function jp_converter end // wp_update_ // wp_update_post($pos // update_post_meta($post->ID, "jp_vue_categories", $jp_vue_categories); // update_post_meta($post->ID, "jp_vue_data", $jp_vue_data); // ); // 'post_content' => $post_content, // 'ID' => $post->ID, // $post_data = array( $post_content = preg_replace('/(https?:\/\/(www\.)?[0-9a-z\-\.]+\/wp-content\/uploads\/sites\/)/', '/wp-content/uploads/sites/', $post_content); }); $val = preg_replace('/(https?:\/\/(www\.)?[0-9a-z\-\.]+\/wp-content\/uploads\/sites\/)/', '/wp-content/uploads/sites/', $val); array_walk_recursive($jp_vue_categories, function (&$val, $key) { }); $val = preg_replace('/(https?:\/\/(www\.)?[0-9a-z\-\.]+\/wp-content\/plugins\/jp-vue\/)/', '/wp-content/plugins/jp-vue/', $val); $val = preg_replace('/(https?:\/\/(www\.)?[0-9a-z\-\.]+\/wp-content\/uploads\/sites\/)/', '/wp-content/uploads/sites/', $val); array_walk_recursive($jp_vue_data, function (&$val, $key) { //jp_vue_dataの置換 $post_content = $post->post_content; $jp_vue_categories = get_post_meta($post->ID, 'jp_vue_categories'); $jp_vue_data = get_post_meta($post->ID, 'jp_vue_data'); } _log("加盟店記事のパーマリンクです"); if (preg_match('/blog\//', get_post_meta($post->ID, 'custom_permalink')) === 1) { if (strpos(get_post_meta($post->ID, 'custom_permalink'), "blog/1-90-") === false) return; if ($post->ID != 927077) return; if (!in_array($post->post_type, ["blog"])) return; //加盟店の記事でなければreturnfunction jp_converter($post, $flag = false) {} } _log('!!!! convert_END !!!!!!'); } jp_converter($post, true); foreach ($posts as $post) { _log('!!!! convert_START !!!!!!'); $posts = $wpdb->get_results('select * from `wp_posts` where `post_type` = "blog"'); global $wpdb; ini_set("memory_limit", "10G"); set_time_limit(0); ini_set("max_execution_time", 0); if ($parse->request === __FUNCTION__) {function convert_posts($parse) {add_action('parse_request', 'convert_posts');