Browse Source

Use ??.

pull/73/head
Ned Zimmerman 8 years ago
parent
commit
1c850f88b9
No known key found for this signature in database
GPG Key ID: FF56334A013120CA
  1. 2
      inc/actions/namespace.php

2
inc/actions/namespace.php

@ -207,7 +207,7 @@ function remove_admin_bar_callback() {
* Hide content editor for Catalog page.
*/
function hide_catalog_content_editor() {
$post_id = isset( $_GET['post'] ) ? $_GET['post'] : null ;
$post_id = $_GET['post'] ?? null ;
if ( ! isset( $post_id ) ) {
return;
}

Loading…
Cancel
Save