Plugin Directory

Changeset 1777302


Ignore:
Timestamp:
11/28/2017 09:50:37 PM (8 years ago)
Author:
MaartenM
Message:
  • renamed category id ‘media’ to ’attachment’
Location:
widget-display-conditions/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • widget-display-conditions/trunk/src/WDC/Condition/Attachment.php

    r1776540 r1777302  
    77        parent::__construct( 'attachment', __( 'Attachment', 'wdc' ), array
    88        (
    9             'category' => 'media'
     9            'category' => 'attachment'
    1010        ));
    1111    }
  • widget-display-conditions/trunk/widget-display-conditions.php

    r1777254 r1777302  
    4747    WDC_API::add_category( 'post'   , __( 'Post', 'wdc' ) );
    4848    WDC_API::add_category( 'page'   , __( 'Page', 'wdc' ) );
    49     WDC_API::add_category( 'media'  , __( 'Media', 'wdc' ) );
     49    WDC_API::add_category( 'attachment'  , __( 'Media', 'wdc' ) );
    5050    WDC_API::add_category( 'archive', __( 'Archive', 'wdc' ) );
    5151    WDC_API::add_category( 'user'   , __( 'User', 'wdc' ) );
Note: See TracChangeset for help on using the changeset viewer.