Make WordPress Core

Opened 9 years ago

Closed 9 years ago

Last modified 9 years ago

#42137 closed defect (bug) (maybelater)

Adding filter to customize save button.

Reported by: Collizo4sky Owned by:
Priority: normal Milestone:
Component: Customize Version:
Severity: normal Keywords:
Cc: Focuses:

Description

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 &amp; Publish' ); ?>

Not everyone like myself utilizes the customizer to customize themes.

cc westonruter

Change History (4)

#1 @westonruter
9 years ago

@Collizo4sky What would you want to filter it to be?

#2 @Collizo4sky
9 years ago

I am the developer of MailOptin (​https://wordpress.org/plugins/mailoptin/) plugin which uses the customizer to build optin forms. User's have grown accustomed to "Save Changes".

Anyways I was able to rename it back to "Save Changes" using gettext filter.

Close the ticket if adding a filter doesn't make much sense.

#3 follow-up: @westonruter
9 years ago

  • Component General → Customize
  • Milestone Awaiting Review
  • Resolution → maybelater
  • Status new → closed

#4 in reply to: ↑ 3 @Collizo4sky
9 years ago

Awesome.

Note: See TracTickets for help on using tickets.