[wp-trac] [WordPress Trac] #42137: Adding filter to customize save button.

WordPress Trac noreply at wordpress.org
Sat Oct 7 20:33:07 UTC 2017


#42137: Adding filter to customize save button.
--------------------------+-----------------------------
 Reporter:  Collizo4sky   |      Owner:
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  General       |    Version:
 Severity:  normal        |   Keywords:
  Focuses:                |
--------------------------+-----------------------------
 Let's add a filter to $save_text in `<?php submit_button( $save_text,
 'primary save', 'save', false ); ?>` or `<?php $save_text =
 $wp_customize->is_theme_active() ? __( 'Publish' ) : __( 'Activate &
 Publish' ); ?>`

 Not everyone like myself utilizes the customizer to customize themes.

 cc westonruter

--
Ticket URL: <https://core.trac.wordpress.org/ticket/42137>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list