|
Revision 7991, 487 bytes
(checked in by ryan, 5 months ago)
|
File file level phpdoc from jacobsantos. see #7037
|
- Property svn:eol-style set to
native
- Property svn:keywords set to
Author Date Id Revision
|
| Line | |
|---|
| 1 |
<?php |
|---|
| 2 |
|
|---|
| 3 |
|
|---|
| 4 |
|
|---|
| 5 |
|
|---|
| 6 |
|
|---|
| 7 |
|
|---|
| 8 |
|
|---|
| 9 |
|
|---|
| 10 |
require( dirname(__FILE__) . '/wp-load.php'); |
|---|
| 11 |
|
|---|
| 12 |
if ( get_magic_quotes_gpc() ) |
|---|
| 13 |
$_POST['post_password'] = stripslashes($_POST['post_password']); |
|---|
| 14 |
|
|---|
| 15 |
|
|---|
| 16 |
setcookie('wp-postpass_' . COOKIEHASH, $_POST['post_password'], time() + 864000, COOKIEPATH); |
|---|
| 17 |
|
|---|
| 18 |
wp_safe_redirect(wp_get_referer()); |
|---|
| 19 |
?> |
|---|