getFileName(); } $aioseop_class_error .= ", preventing All in One SEO Pack from loading."; echo "
" . __( "Updating SEO post meta in database.", 'all_in_one_seo_pack' ) . "
". __( "Updating SEO configuration options in database", 'all_in_one_seo_pack' ) . "
' . __('All in One SEO Pack must be configured.', 'all_in_one_seo_pack' )
. ' ' . sprintf( __('Go to %s to enable and configure the plugin.', 'all_in_one_seo_pack' ), ''
. __('the admin page', 'all_in_one_seo_pack') . '' ) . '
'
. __( 'All in One SEO Pack now supports Custom Post Types and Google Analytics.', 'all_in_one_seo_pack' ) . '
';
die( "jQuery('div#aioseop_" . $target . "_" . $post_id . "').fadeOut('fast', function() {
jQuery('div#aioseop_" . $target . "_" . $post_id . "').html('" . addslashes_gpc($output) . "').fadeIn('fast');
});" );
}
}
if (!function_exists('aioseop_mrt_pccolumn')) {
function aioseop_mrt_pccolumn($aioseopcn, $aioseoppi) {
$id = $aioseoppi;
$target = null;
if( $aioseopcn == 'seotitle' ) $target = 'title';
if( $aioseopcn == 'seokeywords' ) $target = 'keywords';
if( $aioseopcn == 'seodesc' ) $target = 'description';
if ( !$target ) return;
if( current_user_can( 'edit_post', $id ) ) { ?>
$v) {
$postID = $v->ID;
$menulabel = stripslashes(get_post_meta($postID, '_aioseop_menulabel', true));
if ($menulabel) $pages[$k]->post_title = $menulabel;
}
$aioseop_get_pages_start = 0;
return $pages;
}
}
// The following two functions are GPLed from Sarah G's Page Menu Editor, http://wordpress.org/extend/plugins/page-menu-editor/.
if (!function_exists('aioseop_list_pages')) {
function aioseop_list_pages( $content ) {
global $wp_version;
$matches = array();
if ( preg_match_all( '/| /> | |