Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author Jeff Sterup

    (@foomagoo)

    You need to enable selective plugin loading on the admin pages. It is a radio button on the settings page. Settings->Plugin Organizer in the admin menu.

    Plugin Author Jeff Sterup

    (@foomagoo)

    No you can’t create a filter that doesn’t include the domain name.

    Thread Starter tox2ik

    (@tox2ik)

    Thank you.

    It is very useful to define rules that are domain-agnostic, because one may have several domains for one site (or plugin) or even a local testing server. I think that this is a good feature request, please comment.

    I think it should be possible to create rules that depend only on request-path, disregarding the domain name. Would you be interested to include this feature? I don’t have the time right now, but I could send you a patch based on the current SVN when I’m done.

    Plugin Author Jeff Sterup

    (@foomagoo)

    Each WordPress site is tied to a domain. If you have multiple domains then you have multiple sites and they will each have their own plugin organizer table. So not including the domain makes no sense since the sites are not related in the way you think they are.

    Thread Starter tox2ik

    (@tox2ik)

    Disabling the inclusion of certain PHP files is not in any way related to a domain name. I know what I’m talking about. If you disagree that this is a useful feature, just say so.

    The “tie” is a single variable in mysqldb.wp_options. Look at row 1. It can also be changed via the WordPress API:
    http://codex.ww.wp.xz.cn/Changing_The_Site_URL

    Plugin Author Jeff Sterup

    (@foomagoo)

    Ok but why would you have an entry for the domain that belongs to wp3 in the plugin organizer table for wp2?

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

The topic ‘Filter for wp-admin/widgets’ is closed to new replies.