WordPress.org

Plugin Directory

Changeset 702756


Ignore:
Timestamp:
04/24/13 11:00:30 (12 months ago)
Author:
M66B
Message:

1.181 dev workaround duplicate FB comments

Location:
add-link-to-facebook
Files:
8 edited

Legend:

Unmodified
Added
Removed
  • add-link-to-facebook/tags/1.179/readme.txt

    r698606 r702756  
    771771 
    772772= Development version = 
    773 * ... 
     773* Workaround: import of exported Facebook comments (caused by Facebook bug) 
    774774 
    775775Follow these steps to install the development version: 
  • add-link-to-facebook/trunk/add-link-to-facebook-class.php

    r690666 r702756  
    23012301                                    foreach ($stored_comments as $comment) { 
    23022302                                        $fb_comment_id = get_comment_meta($comment->comment_ID, c_al2fb_meta_fb_comment_id, true); 
    2303                                         if ($fb_comment_id == $fb_comment->id) { 
     2303                                        if ($fb_comment_id == $fb_comment->id || 
     2304                                            strpos($fb_comment->id, $fb_comment_id) !== false) { 
    23042305                                            $stored = true; 
    23052306                                            break; 
  • add-link-to-facebook/trunk/add-link-to-facebook-debug.php

    r683535 r702756  
    431431    $info .= '<pre>$_SERVER=' . print_r($_SERVER, true) . '</pre>'; 
    432432 
    433     $comments = get_comments('number=10'); 
     433    // Comments 
     434    $comments = get_comments('number=20'); 
    434435    foreach ($comments as $comment) { 
    435436        $fb_id = get_comment_meta($comment->comment_ID, c_al2fb_meta_fb_comment_id, true); 
     
    438439    $info .= '<pre>comments=' . print_r($comments, true) . '</pre>'; 
    439440 
     441    // Info self 
    440442    $extra = ($_REQUEST['debug'] == 2); 
    441  
    442     // Info self 
    443443    if ($extra) 
    444444        try { 
  • add-link-to-facebook/trunk/language/add-link-to-facebook-nl_BE.po

    r644282 r702756  
    99"Content-Type: text/plain; charset=UTF-8\n" 
    1010"Content-Transfer-Encoding: 8bit\n" 
    11 "PO-Revision-Date: 2012-12-25 09:19+0100\n" 
     11"PO-Revision-Date: 2013-04-24 12:59+0100\n" 
    1212"Last-Translator: Marcel Bokhorst\n" 
    1313"Language-Team: Marcel Bokhorst\n" 
     
    10121012 
    10131013msgid "Debug information not asked for or without valid support forum topic link will be ignored" 
    1014 msgstr "Debug informatie waar niet omgevraagd is of zonder geldige koppeling naar een forum onderwerp wordt genegeerd" 
     1014msgstr "Debug informatie waar niet om gevraagd is of zonder geldige koppeling naar een forum onderwerp wordt genegeerd" 
    10151015 
    10161016msgid "Do not show social plugins in excerpts:" 
  • add-link-to-facebook/trunk/language/add-link-to-facebook-nl_NL.po

    r644282 r702756  
    99"Content-Type: text/plain; charset=UTF-8\n" 
    1010"Content-Transfer-Encoding: 8bit\n" 
    11 "PO-Revision-Date: 2012-12-25 09:19+0100\n" 
     11"PO-Revision-Date: 2013-04-24 12:59+0100\n" 
    1212"Last-Translator: Marcel Bokhorst\n" 
    1313"Language-Team: Marcel Bokhorst\n" 
     
    10121012 
    10131013msgid "Debug information not asked for or without valid support forum topic link will be ignored" 
    1014 msgstr "Debug informatie waar niet omgevraagd is of zonder geldige koppeling naar een forum onderwerp wordt genegeerd" 
     1014msgstr "Debug informatie waar niet om gevraagd is of zonder geldige koppeling naar een forum onderwerp wordt genegeerd" 
    10151015 
    10161016msgid "Do not show social plugins in excerpts:" 
  • add-link-to-facebook/trunk/readme.txt

    r698606 r702756  
    771771 
    772772= Development version = 
    773 * ... 
     773* Workaround: import of exported Facebook comments (caused by Facebook bug) 
    774774 
    775775Follow these steps to install the development version: 
Note: See TracChangeset for help on using the changeset viewer.