Forum Replies Created

Viewing 8 replies - 1 through 8 (of 8 total)
  • Please ignore the post above, I ended up discovering an internal routing problem who was responsible for not delivering the email for some accounts.

    After the problem was fixed all 3 accounts I have set received the notify moderation email.

    I am having a similar problem. I wrote a plugin to override the wp_notify_moderator for sending the same email to different accounts, but the moderation notification is send only for the website administrator email it does not matter what accounts.

    The var email_to below is an array with 3 emails correctly set.

    foreach ( $email_to as $email )
    @wp_mail($email, $subject, $notify_message, $message_headers);

    Does anyone know why the emails different than the website administrator do not fire off the email send?

    I appreciate any help and/or master guide lines saying where to look for.

    Jeff,
    Here are my steps for fixing the word file.

    1) Open your word file with your original text
    … I am using a version of word 2007
    … The original file I received was composed in a .doc format, I am not sure in which word version, maybe 2003.
    2) Create a new word blank document, preferred format is .docx
    3) Select all your original text in the original file and Copy it
    4) Paste into your new word file
    5) Save your new word file
    …at this point, your new word file should not have problems anymore
    6) Now, select again the text from your new word file and Copy it
    …certify that your copy command really worked, otherwise your clipboard still have the dirty text copied from your original file
    7) Go to WordPress editor and paste
    … your WordPress editor must be in VISUAL mode (not HTML mode)
    … you can paste directly into the body text or
    … you can paste using the Paste From Word button
    8) Now switch the WordPress editor from VISUAL mode to HTML mode, just for checking the results
    … your HTML code should be clean and without any <span style… tag inside.
    … basic tags like <b> or or <p> or should remain in the text.

    After I have executed these procedures over here my new word file was really fixed, and I tried to paste the text in different WordPress installation I have (even in a blog at wordpress.com) and they all have worked.
    I hope you can replicate these steps and fix your word file as well.

    Marcelino,

    mjaning

    (@mjaning)

    Latest news…

    Core Trac WordPress team has reproduced the issue using one word file I sent them. See Core Trac Ticket

    The bug was forwarded to tinyMCE team for evaluation. See
    tinyMCE Ticket

    For fixing the word file, this is the recommendation from Core Trac team:
    “Copy all of the text from the problematic file, paste it into a new Word document, and then copy->paste that into TinyMCE, and it works (strips out all the cruft)”

    I have tried in my WordPress installation and it worked.

    Marcelino,

    mjaning

    (@mjaning)

    Jeff,
    I think your suggestion in saving the file as HTML directly from the Word is a more convenient way to work.

    I have tried it over here and the results were pretty decent and also faster.
    At least WordPress users have now a very good source of information about this issue, and they have alternatives to continue working.

    Thanks to WordPress Forum.

    Now let’s keep on eye in the WordPress Releases to get this issue fixed soon.
    Marcelino,

    mjaning

    (@mjaning)

    As a temporary solution for those who are having the same problem, my suggestion is to clean up the Word text using some online tool, for example http://www.word2cleanhtml.com

    Simply copy your text from Word doc and paste in the text box of this tool. On the right there are checkbox fields, select the first 3 fields:

    - Remove Empty Paragraphs
    - Convert to <b> , <i> to 
    - Replace non-ascii characters with HTML entities
    

    Then click in the Convert to Clean button at the bottom of page.

    A new box will then appear with the text in HTML format already clean. Basic tags such as bold and italic are preserved.
    The next step is to copy this clean HTML text and paste in the WordPress Editor, but before pasting, you must change the Visual mode to HTML mode.

    I hope this procedure can at least mitigate the extra work the editor_plugin.js can cause since version 3.1.

    Sincerely,

    Marcelino

    mjaning

    (@mjaning)

    I have found the source of the issue, it is in the editor_plugin.js which is located at \wp-includes\js\tinymce\plugins\paste\ folder.

    I returned all files in that folder from a previous WP version I have backed up, and the cleaning tag process is working again. In both ways, pasting straight to the text or using the Paste From Word button, the process is ok again.

    I also have opened a ticket for reporting this problem in the WordPress Trac. See the link http://core.trac.wordpress.org/ticket/17068

    I am not sure if the replacement that I did has impacts or if it has created other issues. So far everything is fine.

    Hope this can help.

    Marcelino,

    mjaning

    (@mjaning)

    I am having the same problem you have reported. Even when pasting using the “Paste From Word” button the <span> tags with fonts are not cleaned.

    I have tested the CKEditor plugin for WordPress and it seems to work correctly removing all undesired formats but the basics (bold,italic, and so on).

    I did not find any documentation about reconfiguring tinyMCE to fix this issue after migration to WordPress v-3.1.

    Thanks,

Viewing 8 replies - 1 through 8 (of 8 total)