WordPress.org

Make WordPress Core

Ticket #25731: 25731.patch

File 25731.patch, 1.9 KB (added by ninio, 8 years ago)
  • src/wp-admin/press-this.php

     
    309309</script>
    310310
    311311<?php
     312        /** This action is documented in wp-admin/admin-header.php */
    312313        do_action( 'admin_enqueue_scripts', 'press-this.php' );
     314        /**
     315         * Print styles for the press-this admin page.
     316         *
     317         * Hardcoded since the press-this.php is not using
     318         * the wp-admin/admin-header.php
     319         *
     320         * @since 3.7.0
     321         */
    313322        do_action( 'admin_print_styles-press-this.php' );
     323        /** This action is documented in wp-admin/admin-header.php */
    314324        do_action( 'admin_print_styles' );
     325        /**
     326         * Print scripts for the press-this admin page.
     327         *
     328         * Hardcoded since the press-this.php is not using
     329         * the wp-admin/admin-header.php
     330         *
     331         * @since 3.7.0
     332         */
    315333        do_action( 'admin_print_scripts-press-this.php' );
     334        /** This action is documented in wp-admin/admin-header.php */
    316335        do_action( 'admin_print_scripts' );
     336        /**
     337         * Fires in <head> for the press-this admin page.
     338         *
     339         * Hardcoded since the press-this.php is not using
     340         * the wp-admin/admin-header.php
     341         *
     342         * @since 2.1.0
     343         */
    317344        do_action( 'admin_head-press-this.php' );
     345        /** This action is documented in wp-admin/admin-header.php */
    318346        do_action( 'admin_head' );
    319347?>
    320348        <script type="text/javascript">
     
    649677        </tr></table>
    650678</div>
    651679<?php
     680/** This action is documented in wp-admin/admin-footer.php */
    652681do_action('admin_footer');
     682/** This action is documented in wp-admin/admin-footer.php */
    653683do_action('admin_print_footer_scripts');
     684/**
     685 * Print scripts or data after the default footer scripts.
     686 *
     687 * Hardcoded since the press-this.php is not using
     688 * the wp-admin/admin-footer.php
     689 *
     690 * @since 3.8.0
     691 */
     692do_action('admin_footer-press-this.php');
    654693?>
    655694<script type="text/javascript">if(typeof wpOnload=='function')wpOnload();</script>
    656695</body>