Make WordPress Core

Changeset 25411


Ignore:
Timestamp:
09/12/2013 06:52:38 PM (11 years ago)
Author:
helen
Message:

Inline docs for hooks in wp-admin/options-writing.php. props siobhyb. see #25229.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/options-writing.php

    r24089 r25411  
    2929) );
    3030
     31// duplicate_hook
    3132if ( apply_filters( 'enable_post_by_email_configuration', true ) ) {
    3233    get_current_screen()->add_help_tab( array(
     
    3738}
    3839
     40/**
     41* Toggle site update services configuration functionality.
     42*
     43* @since 3.0.0
     44*
     45* @param bool True or false, based on whether update services configuration is enabled or not.
     46*/
    3947if ( apply_filters( 'enable_update_services_configuration', true ) ) {
    4048    get_current_screen()->add_help_tab( array(
     
    123131</div>
    124132
    125 <?php if ( apply_filters( 'enable_post_by_email_configuration', true ) ) { ?>
     133<?php
     134// duplicate_hook
     135if ( apply_filters( 'enable_post_by_email_configuration', true ) ) {
     136?>
    126137<h3 class="title"><?php _e('Post via e-mail') ?></h3>
    127138<p><?php printf(__('To post to WordPress by e-mail you must set up a secret e-mail account with POP3 access. Any mail received at this address will be posted, so it&#8217;s a good idea to keep this address very secret. Here are three random strings you could use: <kbd>%s</kbd>, <kbd>%s</kbd>, <kbd>%s</kbd>.'), wp_generate_password(8, false), wp_generate_password(8, false), wp_generate_password(8, false)) ?></p>
     
    157168<?php } ?>
    158169
    159 <?php if ( apply_filters( 'enable_update_services_configuration', true ) ) { ?>
     170<?php
     171// duplicate_hook
     172if ( apply_filters( 'enable_update_services_configuration', true ) ) {
     173?>
    160174<h3 class="title"><?php _e('Update Services') ?></h3>
    161175
Note: See TracChangeset for help on using the changeset viewer.