Making WordPress.org

Changeset 2892


Ignore:
Timestamp:
04/04/2016 08:18:09 PM (10 years ago)
Author:
iandunn
Message:

WordCamp Post Type: Remove unused error message for post status progression.

The corresponding setter was removed in r2824, so this will never get executed.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sites/branches/application-tracking/wordcamp.org/public_html/wp-content/plugins/wcpt/wcpt-wordcamp/wordcamp-admin.php

    r2879 r2892  
    751751        }
    752752
     753        // todo update for new statuses
     754
    753755        // The ID of the last site that was created before this rule went into effect, so that we don't apply the rule retroactively.
    754756        $min_site_id = apply_filters( 'wcpt_require_complete_meta_min_site_id', '2416297' );
     
    875877        }
    876878
     879        // todo update for new statuses
     880
    877881        $notices = array(
    878882            1 => array(
    879883                'type'   => 'error',
    880884                'notice' => __( 'This WordCamp cannot be published until all of its required metadata is filled in.', 'wordcamporg' ),
    881             ),
    882 
    883             2 => array(
    884                 'type'   => 'error',
    885                 'notice' => sprintf(
    886                     __(
    887                         'WordCamps must start as drafts, then be set as pending, and then be published. The post status has been reset to <strong>%s</strong>.',    // todo improve language
    888                         'wordcamporg'
    889                     ),
    890                     $post->post_status
    891                 )
    892885            ),
    893886
Note: See TracChangeset for help on using the changeset viewer.