WordPress.org

Ready to get started?Download WordPress

Forums

Word Replacer
Bug (5 posts)

  1. hanimausi
    Member
    Posted 3 years ago #

    If I want to comment, I get this error because of your plugin. If I deactivate your plugin, everything work nice:

    Warning: array_diff() [function.array-diff]: Argument #1 is not an array in /var/www/web119/html/wp-content/plugins/word-replacer/word-replacer.php on line 56

    Warning: Cannot modify header information - headers already sent by (output started at /var/www/web119/html/wp-content/plugins/word-replacer/word-replacer.php:56) in /var/www/web283/html/wp-includes/pluggable.php on line 890

  2. Odolyte
    Member
    Posted 3 years ago #

    Same thing if you modify an existing Category (for instance if you rename it or add a description to the category)!

    using WP 3.0.5

  3. takien
    Member
    Plugin Author

    Posted 3 years ago #

    helo hanimausi and Odolyte,
    i have fixed this bug.
    please upgrade to newer version (0.2.2)
    thank you for using my plugin.

  4. Odolyte
    Member
    Posted 3 years ago #

    Thx Takien,

    May i suggest 2 possible evolutions to your plugin ?

    1) it would be great if we could change a bigger portion of text than just a string (i mean via a textarea and not just a form field). This would allow to place some content anywhere in the posts or pages. We use your plugin on one website where we have to put same small panels of content in different pages (like table of contents if you like). For instance (we know it's not meant for that but it's useful) we put : [Panel-12] in the text in different posts where we need to and replace it with some code : <div class="xxx">Title
    <link1><link2><link3></div>. This way when we have to make modifications we just made them one time, not on all posts.

    2) it would also be great if we could decide to execute a permanent replacement in all posts (with the risks implied) or just a search and replace. For instance on one site, we put lots of links to a website that changed it's structure. So we had to change all the links to this website to avoid dead links. We used a search and replace, but it slows wordpress unecessary : the plugin needs to search and replace the links each time a page or post is called. We need to apply this change in the posts once and for all. So it would be wonderfull to have the option : permanent replacement or not.

    Thanks for this great plugin !

    Odo

  5. takien
    Member
    Plugin Author

    Posted 3 years ago #

    hi Odolyte
    1. text, yes it supports long text as well, except the fields is still text input, not textarea. however, it's nice to implement as long as does not interfere the form layout.

    2. good idea, I will think that way.

    Thank you :)

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic