• Index: restore-fb-comments.php

    ===================================================================
    --- restore-fb-comments.php	(revision 729495)
    +++ restore-fb-comments.php	(working copy)
    @@ -127,7 +127,7 @@
     					 }
    
     					 ?>
    -					 <script type="text/javascript">window.location='/wp-admin/options-general.php?page=revert-fb-comments&posts_per_batch=<?=$posts_per_batch?>&batch_offset=<?=$batch_offset+$posts_per_batch?>'</script>
    +					 <script type="text/javascript">window.location='/wp-admin/options-general.php?page=restore-fb-comments&posts_per_batch=<?=$posts_per_batch?>&batch_offset=<?=$batch_offset+$posts_per_batch?>'</script>
     					 <?php
     					 // done
     				 }

    [Please use the code buttons – as is, the code may have been damaged by the forums parser]

    https://www.ads-software.com/extend/plugins/restore-facebook-comments/

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter jrfoell

    (@jrfoell)

    Was missing something.. this one should be better/correct

    Index: restore-fb-comments.php
    ===================================================================
    --- restore-fb-comments.php	(revision 729495)
    +++ restore-fb-comments.php	(working copy)
    @@ -127,7 +127,7 @@
     					 }
    
     					 ?>
    -					 <script type="text/javascript">window.location='/wp-admin/options-general.php?page=revert-fb-comments&posts_per_batch=<?=$posts_per_batch?>&batch_offset=<?=$batch_offset+$posts_per_batch?>'</script>
    +					 <script type="text/javascript">window.location='/wp-admin/options-general.php?page=restore-fb-comments&posts_per_batch=<?=$posts_per_batch?>&batch_offset=<?=$batch_offset+$posts_per_batch?>'</script>
     					 <?php
     					 // done
     				 }
    @@ -148,7 +148,7 @@
    
     			<form name="form" method="get" action="options-general.php">
    
    -				<input type="hidden" name="page" value="revert-fb-comments" />
    +				<input type="hidden" name="page" value="restore-fb-comments" />
     				<p>
     					This tool will import your Facebook comments back into the comments from WordPress. We advice to empty the current comments
     					when starting the import if you have duplicate comments. When starting the import proces, please don't interupt. This may take a while depending on the amount of posts.

    Plugin Author nielsvanrenselaar

    (@nielsvanrenselaar)

    Ji Justin,

    I missed this completely. Will make an update soon!

    Thread Starter jrfoell

    (@jrfoell)

    No worries, thanks!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Patch for page permissions error’ is closed to new replies.