[wpmu-trac] [WordPress MU Trac] #1135: change post_author value on submit
WordPress MU Trac
wpmu-trac at lists.automattic.com
Thu Oct 29 00:35:20 UTC 2009
#1135: change post_author value on submit
-------------------------------+--------------------------------------------
Reporter: abdullah_elshaikh | Owner: somebody
Type: defect | Status: reopened
Priority: high | Milestone:
Component: Administration | Version:
Severity: critical | Resolution:
Keywords: |
-------------------------------+--------------------------------------------
Changes (by jamescollins):
* status: closed => reopened
* resolution: fixed =>
Comment:
Donncha, it's a pretty minor issue but the change you made in [1966]
should probably also check that the {{{$_POST[ 'action' ]}}} is set first
to avoid a PHP notice. eg:
{{{
if ( strpos( $_SERVER[ 'REQUEST_URI' ], 'wp-admin/post.php' ) && $_POST[
'action' ] == 'editpost' )
}}}
should probably be:
{{{
if ( strpos( $_SERVER[ 'REQUEST_URI' ], 'wp-admin/post.php' ) !== false &&
isset( $_POST[ 'action' ] ) && $_POST[ 'action' ] == 'editpost' )
}}}
--
Ticket URL: <http://trac.mu.wordpress.org/ticket/1135#comment:8>
WordPress MU Trac <http://mu.wordpress.org/>
WordPress Multiuser
More information about the wpmu-trac
mailing list