Skip to content

Commit

Permalink
Removed specific Orbis ID with link to Pronamic Orbis.
Browse files Browse the repository at this point in the history
  • Loading branch information
remcotolsma committed Jul 12, 2016
1 parent 8f4aea1 commit 163d02b
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions includes/projects.php
Original file line number Diff line number Diff line change
Expand Up @@ -365,7 +365,6 @@ function orbis_project_edit_columns( $columns ) {
'title' => __( 'Title', 'orbis' ),
'orbis_project_principal' => __( 'Principal', 'orbis' ),
'orbis_project_time' => __( 'Time', 'orbis' ),
'orbis_project_id' => __( 'Orbis ID', 'orbis' ),
'author' => __( 'Author', 'orbis' ),
'comments' => __( 'Comments', 'orbis' ),
'date' => __( 'Date', 'orbis' ),
Expand All @@ -383,16 +382,6 @@ function orbis_project_edit_columns( $columns ) {
*/
function orbis_project_column( $column, $post_id ) {
switch ( $column ) {
case 'orbis_project_id' :
$orbis_id = get_post_meta( $post_id, '_orbis_project_id', true );

if ( ! empty( $orbis_id ) ) {
$url = sprintf( 'http://orbis.pronamic.nl/projecten/details/%s/', $orbis_id );

printf( '<a href="%s" target="_blank">%s</a>', $url, $orbis_id );
}

break;
case 'orbis_project_principal' :
if ( orbis_project_has_principal() ) {
printf(
Expand Down

0 comments on commit 163d02b

Please sign in to comment.