Make WordPress Core

Opened 9 years ago

Closed 7 years ago

#41319 closed defect (bug) (wontfix)

Add @static keyword for _WP_Editors::enqueue_default_editor() and ::print_default_editor_scripts()

Reported by: upadalavipul's profile upadalavipul Owned by:
Milestone: Priority: normal
Severity: normal Version:
Component: Editor Keywords: has-patch
Focuses: docs Cc:

Description

the static function is defined in the code file but not mention in the documentation of the function.

Attachments (3)

class-wp-editor.php (60.7 KB) - added by upadalavipul 9 years ago.
41319.patch (660 bytes) - added by ajayghaghretiya1 9 years ago.
Added @static in the documentation of the function as you said.
class_wp_editor.patch (435 bytes) - added by upadalavipul 9 years ago.

Download all attachments as: .zip

Change History (9)

@ajayghaghretiya1
9 years ago

Added @static in the documentation of the function as you said.

#1 @ajayghaghretiya1
9 years ago

  • Keywords has-patch added

#2 follow-up: @afercia
9 years ago

#41320 was marked as a duplicate.

This ticket was mentioned in Slack in #core by ajayghaghretiya. View the logs.


9 years ago

#4 in reply to: ↑ 2 @ajayghaghretiya1
9 years ago

Replying to afercia:

#41320 was marked as a duplicate.

Okay. This is not duplicate right Review for this.

#5 @SergeyBiryukov
9 years ago

  • Summary changed from needs documents improvement to Add @static keyword for _WP_Editors::enqueue_default_editor() and ::print_default_editor_scripts()

#6 @pento
7 years ago

  • Milestone Awaiting Review deleted
  • Resolution set to wontfix
  • Status changed from new to closed

Thank you for the ticket and patches, everyone!

Per the documentation, we no longer include the @static tag, as the docs generator recognises the static keyword in the code.

Note: See TracTickets for help on using tickets.