Plugin Directory

Changeset 1384873


Ignore:
Timestamp:
04/02/2016 07:32:56 AM (10 years ago)
Author:
dsader
Message:

WP 4.5 tests OK, outgoing email bugfix.

Location:
more-privacy-options/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • more-privacy-options/trunk/ds_wp3_private_blog.php

    r1384833 r1384873  
    33Plugin Name: More Privacy Options
    44Plugin URI: http://wordpress.org/extend/plugins/more-privacy-options/
    5 Version: 4.1.1
     5Version: 4.3
    66Description: Add more privacy(visibility) options to a WordPress Multisite Network. Settings->Reading->Visibility:Network Users, Blog Members, or Admins Only. Network Settings->Network Visibility Selector: All Blogs Visible to Network Users Only or Visibility managed per blog as default.
    77Author: D. Sader
     
    179179                                   
    180180            $to_new = $this->ds_mail_super_admin_messages($blog_public_new);           
    181                 $blog_details = get_blog_details($blog_id);
    182                 $blogname = $blog_details->blogname;
     181                $blogname = get_blog_option( $blog_id, 'blogname');
    183182            $email =  stripslashes( get_site_option('admin_email') );
    184             $subject = __('Site ', $this->l10n_prefix).$blogname.'('.$blog_id.'), '.get_site_url( $blog_id ).', '. __('changed reading visibility setting to ', $this->l10n_prefix) . $to_new;
    185             $message = __('Site ', $this->l10n_prefix).$blogname.'('.$blog_id.'), '.get_site_url( $blog_id ).', '.__('changed reading visibility setting to ', $this->l10n_prefix) .$to_new;
     183            $subject = __('Site ', $this->l10n_prefix).'"'.$blogname.'" (ID: '.$blog_id.'), '.get_site_url( $blog_id ).', '. __('changed reading visibility setting to ', $this->l10n_prefix) .'"'. $to_new.'"';
     184            $message .= __('Site ', $this->l10n_prefix).'"'.$blogname.'" (ID: '.$blog_id.'), '.get_site_url( $blog_id ).', '.__('changed reading visibility setting to ', $this->l10n_prefix) .'"'. $to_new.'."';
     185            $message .= __(" \r\n\r\nSent by More Privacy Options plugin.", $this->l10n_prefix);
     186
    186187            $headers = 'Auto-Submitted: auto-generated';
    187188        wp_mail($email, $subject, $message, $headers);
  • more-privacy-options/trunk/readme.txt

    r1384626 r1384873  
    3838Login message has link to sign-up page of a "Network Users Only" blog or a link the blog admin email if user is logged in but not a member of a "Members Only" blog.
    3939
    40 WP svn via Aptana 3.
    41 
    4240Localization ready.
    4341
     
    6563== Changelog ==
    6664
    67 = 4.1.1 =
    68 * WP 4.3 OK, network settings save bugfix.
     65= 4.3 =
     66* WP 4.5 tests OK, outgoing email bugfix.
    6967
    7068
    7169== Upgrade Notice ==
    72 = 4.1.1 =
    73 * WP 4.3 OK, network settings save bugfix.
     70= 4.3 =
     71* WP 4.5 tests OK, outgoing email bugfix.
Note: See TracChangeset for help on using the changeset viewer.