Make WordPress Core

Changeset 12620


Ignore:
Timestamp:
01/07/2010 12:24:03 AM (17 years ago)
Author:
wpmuguru
Message:

Change references to wpmu-edit.php - See #11644

Location:
trunk/wp-admin
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/includes/ms.php

    r12618 r12620  
    144144        echo '<p>' . __( 'Transfer posts before deleting users:' ) . '</p>';
    145145
    146         echo '<form action="wpmu-edit.php?action=allusers" method="post">';
     146        echo '<form action="ms-edit.php?action=allusers" method="post">';
    147147        echo '<input type="hidden" name="alluser_transfer_delete" />';
    148148        wp_nonce_field( 'allusers' );
  • trunk/wp-admin/ms-edit.php

    r12610 r12620  
    426426                        <body id="error-page">
    427427                                <h1 id="logo"><img alt="WordPress" src="images/wordpress-logo.png" /></h1>
    428                                 <form action='wpmu-edit.php?action=<?php echo wp_specialchars( $_GET[ 'action2' ] ) ?>' method='post'>
     428                                <form action='ms-edit.php?action=<?php echo wp_specialchars( $_GET[ 'action2' ] ) ?>' method='post'>
    429429                                        <input type='hidden' name='action' value='<?php echo wp_specialchars( $_GET['action2'] ) ?>' />
    430430                                        <input type='hidden' name='id' value='<?php echo wp_specialchars( $id ); ?>' />
  • trunk/wp-admin/ms-options.php

    r12619 r12620  
    2222<div class="wrap">
    2323        <h2><?php _e('Site Options') ?></h2>
    24         <form method="post" action="wpmu-edit.php?action=siteoptions">
     24        <form method="post" action="ms-edit.php?action=siteoptions">
    2525                <?php wp_nonce_field( "siteoptions" ); ?>
    2626                <h3><?php _e('Operational Settings <em>(These settings cannot be modified by blog owners)</em>') ?></h3>
  • trunk/wp-admin/ms-sites.php

    r12617 r12620  
    8080                <div class="wrap">
    8181                <h2><?php _e('Edit Blog'); ?> - <a href='http://<?php echo $details['domain'].$details['path']; ?>'>http://<?php echo $details['domain'].$details['path']; ?></a></h2>
    82                 <form method="post" action="wpmu-edit.php?action=updateblog">
     82                <form method="post" action="ms-edit.php?action=updateblog">
    8383                        <?php wp_nonce_field('editblog'); ?>
    8484                        <input type="hidden" name="id" value="<?php echo esc_attr($id) ?>" />
     
    378378                </form>
    379379
    380                 <form id="form-blog-list" action="wpmu-edit.php?action=allblogs" method="post">
     380                <form id="form-blog-list" action="ms-edit.php?action=allblogs" method="post">
    381381
    382382                <div class="tablenav">
     
    479479                                                                       
    480480                                                                        if( get_blog_status( $blog['blog_id'], "deleted" ) == '1' )
    481                                                                                 $controlActions[]       = '<a class="delete" href="wpmu-edit.php?action=confirm&amp;action2=activateblog&amp;ref=' . urlencode( $_SERVER['REQUEST_URI'] ) . '&amp;id=' . $blog['blog_id'] . '&amp;msg=' . urlencode( sprintf( __( "You are about to activate the blog %s" ), $blogname ) ) . '">' . __('Activate') . '</a>';
     481                                                                                $controlActions[]       = '<a class="delete" href="ms-edit.php?action=confirm&amp;action2=activateblog&amp;ref=' . urlencode( $_SERVER['REQUEST_URI'] ) . '&amp;id=' . $blog['blog_id'] . '&amp;msg=' . urlencode( sprintf( __( "You are about to activate the blog %s" ), $blogname ) ) . '">' . __('Activate') . '</a>';
    482482                                                                        else
    483                                                                                 $controlActions[]       = '<a class="delete" href="wpmu-edit.php?action=confirm&amp;action2=deactivateblog&amp;ref=' . urlencode( $_SERVER['REQUEST_URI'] ) . '&amp;id=' . $blog['blog_id'] . '&amp;msg=' . urlencode( sprintf( __( "You are about to deactivate the blog %s" ), $blogname ) ) . '">' . __('Deactivate') . '</a>';
     483                                                                                $controlActions[]       = '<a class="delete" href="ms-edit.php?action=confirm&amp;action2=deactivateblog&amp;ref=' . urlencode( $_SERVER['REQUEST_URI'] ) . '&amp;id=' . $blog['blog_id'] . '&amp;msg=' . urlencode( sprintf( __( "You are about to deactivate the blog %s" ), $blogname ) ) . '">' . __('Deactivate') . '</a>';
    484484                                                                       
    485485                                                                        if( get_blog_status( $blog['blog_id'], "archived" ) == '1' )
    486                                                                                 $controlActions[]       = '<a class="delete" href="wpmu-edit.php?action=confirm&amp;action2=unarchiveblog&amp;id=' .  $blog['blog_id'] . '&amp;msg=' . urlencode( sprintf( __( "You are about to unarchive the blog %s" ), $blogname ) ) . '">' . __('Unarchive') . '</a>';
     486                                                                                $controlActions[]       = '<a class="delete" href="ms-edit.php?action=confirm&amp;action2=unarchiveblog&amp;id=' .  $blog['blog_id'] . '&amp;msg=' . urlencode( sprintf( __( "You are about to unarchive the blog %s" ), $blogname ) ) . '">' . __('Unarchive') . '</a>';
    487487                                                                        else
    488                                                                                 $controlActions[]       = '<a class="delete" href="wpmu-edit.php?action=confirm&amp;action2=archiveblog&amp;id=' . $blog['blog_id'] . '&amp;msg=' . urlencode( sprintf( __( "You are about to archive the blog %s" ), $blogname ) ) . '">' . __('Archive') . '</a>';
     488                                                                                $controlActions[]       = '<a class="delete" href="ms-edit.php?action=confirm&amp;action2=archiveblog&amp;id=' . $blog['blog_id'] . '&amp;msg=' . urlencode( sprintf( __( "You are about to archive the blog %s" ), $blogname ) ) . '">' . __('Archive') . '</a>';
    489489                                                                       
    490490                                                                        if( get_blog_status( $blog['blog_id'], "spam" ) == '1' )
    491                                                                                 $controlActions[]       = '<a class="delete" href="wpmu-edit.php?action=confirm&amp;action2=unspamblog&amp;id=' . $blog['blog_id'] . '&amp;msg=' . urlencode( sprintf( __( "You are about to unspam the blog %s" ), $blogname ) ) . '">' . __('Not Spam') . '</a>';
     491                                                                                $controlActions[]       = '<a class="delete" href="ms-edit.php?action=confirm&amp;action2=unspamblog&amp;id=' . $blog['blog_id'] . '&amp;msg=' . urlencode( sprintf( __( "You are about to unspam the blog %s" ), $blogname ) ) . '">' . __('Not Spam') . '</a>';
    492492                                                                        else
    493                                                                                 $controlActions[]       = '<a class="delete" href="wpmu-edit.php?action=confirm&amp;action2=spamblog&amp;id=' . $blog['blog_id'] . '&amp;msg=' . urlencode( sprintf( __( "You are about to mark the blog %s as spam" ), $blogname ) ) . '">' . __("Spam") . '</a>';
     493                                                                                $controlActions[]       = '<a class="delete" href="ms-edit.php?action=confirm&amp;action2=spamblog&amp;id=' . $blog['blog_id'] . '&amp;msg=' . urlencode( sprintf( __( "You are about to mark the blog %s as spam" ), $blogname ) ) . '">' . __("Spam") . '</a>';
    494494                                                                       
    495                                                                         $controlActions[]       = '<a class="delete" href="wpmu-edit.php?action=confirm&amp;action2=deleteblog&amp;id=' . $blog['blog_id'] . '&amp;msg=' . urlencode( sprintf( __( "You are about to delete the blog %s" ), $blogname ) ) . '">' . __("Delete") . '</a>';
     495                                                                        $controlActions[]       = '<a class="delete" href="ms-edit.php?action=confirm&amp;action2=deleteblog&amp;id=' . $blog['blog_id'] . '&amp;msg=' . urlencode( sprintf( __( "You are about to delete the blog %s" ), $blogname ) ) . '">' . __("Delete") . '</a>';
    496496                                                                       
    497497                                                                        $controlActions[]       = "<a href='http://{$blog['domain']}{$blog['path']}' rel='permalink'>" . __('Visit') . '</a>';
     
    579579                        <a name="form-add-blog"></a>
    580580                        <h2><?php _e('Add Blog') ?></h2>
    581                         <form method="post" action="wpmu-edit.php?action=addblog">
     581                        <form method="post" action="ms-edit.php?action=addblog">
    582582                                <?php wp_nonce_field('add-blog') ?>
    583583                                <table class="form-table">
  • trunk/wp-admin/ms-users.php

    r12610 r12620  
    112112        </div>
    113113
    114         <form id="form-user-list" action='wpmu-edit.php?action=allusers' method='post'>
     114        <form id="form-user-list" action='ms-edit.php?action=allusers' method='post'>
    115115                <div class="tablenav">
    116116                        <?php if ( $user_navigation ) echo "<div class='tablenav-pages'>$user_navigation</div>"; ?>
     
    184184                                                                $avatar = get_avatar( $user['user_email'], 32 );
    185185                                                                $edit   = clean_url( add_query_arg( 'wp_http_referer', urlencode( clean_url( stripslashes( $_SERVER['REQUEST_URI'] ) ) ), "user-edit.php?user_id=".$user['ID'] ) );
    186                                                                 // @todo Make delete link work like delete button with transfering users (in wpmu-edit.php)
    187                                                                 //$delete       = clean_url( add_query_arg( 'wp_http_referer', urlencode( clean_url( stripslashes( $_SERVER['REQUEST_URI'] ) ) ), wp_nonce_url( 'wpmu-edit.php', 'deleteuser' ) . '&amp;action=deleteuser&amp;id=' . $user['ID'] ) );
     186                                                                // @todo Make delete link work like delete button with transfering users (in ms-edit.php)
     187                                                                //$delete       = clean_url( add_query_arg( 'wp_http_referer', urlencode( clean_url( stripslashes( $_SERVER['REQUEST_URI'] ) ) ), wp_nonce_url( 'ms-edit.php', 'deleteuser' ) . '&amp;action=deleteuser&amp;id=' . $user['ID'] ) );
    188188                                                                ?>
    189189                                                                <td class="username column-username">
     
    281281<div class="wrap">
    282282        <h2><?php _e('Add user') ?></h2>
    283         <form action="wpmu-edit.php?action=adduser" method="post">
     283        <form action="ms-edit.php?action=adduser" method="post">
    284284        <table class="form-table">
    285285                <tr class="form-field form-required">
Note: See TracChangeset for help on using the changeset viewer.