Changeset 1189744
- Timestamp:
- 06/29/2015 05:20:00 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
militant-moderates-css-parent-selector-mmps/trunk/mmParentSelector.php
r1189734 r1189744 109 109 // delegate to the WP function add_meta_box 110 110 add_meta_box( 'mmps_ccss_add_mmps', 111 __( ' Parent Selector CSS', 'militant-moderates-css-parent-selector-mmps' ),111 __( 'MMPS Normal and Parent Selector CSS', 'militant-moderates-css-parent-selector-mmps' ), 112 112 array( $this, 'render_meta_box_content' ), 113 113 $post_type, 'advanced', 'high' … … 138 138 wp_nonce_field( 'single_add_mmps_box', 'mmps_ccss_add_mmps_box_nonce' ); 139 139 $single_mmps_css = get_post_meta( $post->ID, '_single_add_mmps', true ); 140 echo '<p>'. sprintf( __( 'The normal CSS and Parent Selector CSS Rules entered here will always be scanned by MMPS and will be applied to this %s irregardless of the MMPS Ignore settings.', 'militant-moderates-css-parent-selector-mmps' ), $post->post_type ). '</p>'; 140 /* translators: %s will be replaced with $post->post_type */ 141 echo '<p>'. sprintf( __( 'The Normal and Parent Selector CSS Rules entered here will always be scanned by MMPS and will always be applied to this %s.', 'militant-moderates-css-parent-selector-mmps' ), $post->post_type ). '</p>'; 141 142 echo '<textarea id="single_mmps_css" name="single_mmps_css" style="width:100%; min-height:200px;">' . esc_attr( $single_mmps_css ) . '</textarea>'; 142 143 }
Note: See TracChangeset
for help on using the changeset viewer.