Dotclear


Ignore:
Timestamp:
08/16/12 14:13:27 (13 years ago)
Author:
Dsls <dsls@…>
Branch:
sexy
Message:

Entries passwords will be a dedicated plugin.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • inc/core/class.dc.xmlrpc.php

    r873 r877  
    305305          } 
    306306           
    307           if (isset($struct['wp_password'])) { 
    308                $cur->post_password = $struct['wp_password']; 
    309           } 
    310            
    311307          $cur->post_type = 'post'; 
    312308          if (!empty($struct['post_type'])) { 
     
    398394          if (isset($struct['wp_slug'])) { 
    399395               $cur->post_url = $struct['wp_slug']; 
    400           } 
    401            
    402           if (isset($struct['wp_password'])) { 
    403                $cur->post_password = $struct['wp_password']; 
    404396          } 
    405397           
     
    728720                    "text_more"              => '', 
    729721                    "wp_slug"                => $post->post_url, 
    730                     "wp_password"            => $post->post_password, 
    731722                    "wp_author"              => $post->getAuthorCN(), 
    732723                    "wp_page_parent_id"      => 0, 
Note: See TracChangeset for help on using the changeset viewer.

Sites map